rust-mobile / cargo-apk

Helps cargo build APKs
Apache License 2.0
109 stars 30 forks source link

Add support for optional `package.version` in `Cargo.toml`. #56

Open xStrom opened 8 months ago

xStrom commented 8 months ago

The package.version field in Cargo.toml is optional since Cargo 1.75. When not present, the default value is 0.0.0. This PR adds that support to cargo-apk so that it will function properly with modern Cargo.toml files which don't have that field set.