From 19552ad819dda120a76f403ef1ab7339c9914d44 Mon Sep 17 00:00:00 2001 From: Daniel McNab <36049421+DJMcNab@users.noreply.github.com> Date: Wed, 8 Feb 2023 22:48:34 +0000 Subject: [PATCH] Update to better match other examples --- examples/headless/Cargo.toml | 9 +++++++-- examples/headless/src/main.rs | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/examples/headless/Cargo.toml b/examples/headless/Cargo.toml index 2982c06..d14570b 100644 --- a/examples/headless/Cargo.toml +++ b/examples/headless/Cargo.toml @@ -1,7 +1,12 @@ [package] name = "headless" -version = "0.1.0" -edition = "2021" +description = "An example showing how to use `vello` to create raster images" +publish = false + +version.workspace = true +license.workspace = true +edition.workspace = true +repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/examples/headless/src/main.rs b/examples/headless/src/main.rs index a0970fd..b5c258e 100644 --- a/examples/headless/src/main.rs +++ b/examples/headless/src/main.rs @@ -220,7 +220,7 @@ async fn render(mut scenes: SceneSet, index: usize, args: &Args) -> Result<()> { } #[derive(Parser, Debug)] -#[command(about, long_about = None, bin_name="cargo run -p with_winit --")] +#[command(about, long_about = None, bin_name="cargo run -p headless --")] struct Args { #[arg(long, short, global(false))] x_resolution: Option,