Related to #8
I package my apps with a bash script sort of like this:
cargo build --release
tar cjf app-$VERSION.tar.gz target/release/app
rsync etc.
The problematic part is $VERSION. I would like to read the version from Cargo.toml, but can't without string manipulation in bash (yuck!)
I'd be great if there was something like cargo metadata --query package.version that outputs nothing by the given Cargo.toml key.
Related to #8
I package my apps with a bash script sort of like this:
cargo build --release tar cjf app-$VERSION.tar.gz target/release/app rsync etc.The problematic part is
$VERSION. I would like to read the version fromCargo.toml, but can't without string manipulation in bash (yuck!)I'd be great if there was something like
cargo metadata --query package.versionthat outputs nothing by the given Cargo.toml key.