Skip to content

Update Cargo.toml: add license & crate_type Deprecation#205

Open
parsapoorsh wants to merge 2 commits intoabba23:mainfrom
parsapoorsh:cargo-fixes
Open

Update Cargo.toml: add license & crate_type Deprecation#205
parsapoorsh wants to merge 2 commits intoabba23:mainfrom
parsapoorsh:cargo-fixes

Conversation

@parsapoorsh
Copy link

+ license = "GPL-3.0-only"

- crate_type = ["cdylib"]
+ crate-type = ["cdylib"]

this fixes:

$ cargo deb
warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
warning: license field is missing in Cargo.toml

`crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant