diff options
| author | alex <alex@pdp7.net> | 2024-05-15 13:56:43 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2024-05-15 13:56:43 +0200 |
| commit | 80666b2ee1306dafa3b837e2b75528cec42d60e6 (patch) | |
| tree | 4a50571a87ebf89776b5046e62e60b4fff63bac7 /blog/build.rs | |
| parent | 5431aa040b98c5c37f5072d5da8f551e23464fd0 (diff) | |
Adapt to latest cargo script nightly
Diffstat (limited to 'blog/build.rs')
| -rwxr-xr-x | blog/build.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/blog/build.rs b/blog/build.rs index 0e366350..ea332af0 100755 --- a/blog/build.rs +++ b/blog/build.rs @@ -1,11 +1,12 @@ -#!/usr/bin/env -S cargo +nightly -Zscript -```cargo +#!/usr/bin/env -S cargo +nightly -Z script +--- [dependencies] clap = { version = "4.4.6", features = ["derive", "env"] } paars = { git = "https://github.com/alexpdp7/paars.git" } -``` -use std::path::PathBuf; +--- + use clap::Parser; +use std::path::PathBuf; #[derive(Parser, Debug)] #[command()] |
