| 1 | [package] |
| 2 | name = "bitflags" |
| 3 | # NB: When modifying, also modify the number in readme (for breaking changes) |
| 4 | version = "2.9.0" |
| 5 | edition = "2021" |
| 6 | rust-version = "1.56.0" |
| 7 | authors = ["The Rust Project Developers" ] |
| 8 | license = "MIT OR Apache-2.0" |
| 9 | keywords = ["bit" , "bitmask" , "bitflags" , "flags" ] |
| 10 | readme = "README.md" |
| 11 | repository = "https://github.com/bitflags/bitflags" |
| 12 | homepage = "https://github.com/bitflags/bitflags" |
| 13 | documentation = "https://docs.rs/bitflags" |
| 14 | categories = ["no-std" ] |
| 15 | description = "" " |
| 16 | A macro to generate structures which behave like bitflags. |
| 17 | " "" |
| 18 | exclude = ["/tests" , "/.github" ] |
| 19 | |
| 20 | [dependencies] |
| 21 | serde = { version = "1.0.103" , optional = true, default-features = false } |
| 22 | arbitrary = { version = "1.0" , optional = true } |
| 23 | bytemuck = { version = "1.12" , optional = true } |
| 24 | core = { version = "1.0.0" , optional = true, package = "rustc-std-workspace-core" } |
| 25 | compiler_builtins = { version = "0.1.2" , optional = true } |
| 26 | |
| 27 | [dev-dependencies] |
| 28 | trybuild = "1.0.18" |
| 29 | rustversion = "1.0" |
| 30 | serde_derive = "1.0.103" |
| 31 | serde_json = "1.0" |
| 32 | serde_test = "1.0.19" |
| 33 | zerocopy = { version = "0.8" , features = ["derive" ] } |
| 34 | arbitrary = { version = "1.0" , features = ["derive" ] } |
| 35 | bytemuck = { version = "1.12.2" , features = ["derive" ] } |
| 36 | |
| 37 | [features] |
| 38 | std = [] |
| 39 | example_generated = [] |
| 40 | rustc-dep-of-std = ["core" , "compiler_builtins" ] |
| 41 | |
| 42 | [package.metadata.docs.rs] |
| 43 | features = ["example_generated" ] |
| 44 | |