| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.56.0" |
| 15 |
name = "bitflags" |
| 16 |
version = "2.5.0" |
| 17 |
authors = ["The Rust Project Developers"] |
| 18 |
exclude = [ |
| 19 |
"/tests", |
| 20 |
"/.github", |
| 21 |
] |
| 22 |
description = """ |
| 23 |
A macro to generate structures which behave like bitflags. |
| 24 |
""" |
| 25 |
homepage = "https://github.com/bitflags/bitflags" |
| 26 |
documentation = "https://docs.rs/bitflags" |
| 27 |
readme = "README.md" |
| 28 |
keywords = [ |
| 29 |
"bit", |
| 30 |
"bitmask", |
| 31 |
"bitflags", |
| 32 |
"flags", |
| 33 |
] |
| 34 |
categories = ["no-std"] |
| 35 |
license = "MIT OR Apache-2.0" |
| 36 |
repository = "https://github.com/bitflags/bitflags" |
| 37 |
|
| 38 |
[package.metadata.docs.rs] |
| 39 |
features = ["example_generated"] |
| 40 |
|
| 41 |
[dependencies.arbitrary] |
| 42 |
version = "1.0" |
| 43 |
optional = true |
| 44 |
|
| 45 |
[dependencies.bytemuck] |
| 46 |
version = "1.0" |
| 47 |
optional = true |
| 48 |
|
| 49 |
[dependencies.compiler_builtins] |
| 50 |
version = "0.1.2" |
| 51 |
optional = true |
| 52 |
|
| 53 |
[dependencies.core] |
| 54 |
version = "1.0.0" |
| 55 |
optional = true |
| 56 |
package = "rustc-std-workspace-core" |
| 57 |
|
| 58 |
[dependencies.serde] |
| 59 |
version = "1.0" |
| 60 |
optional = true |
| 61 |
default-features = false |
| 62 |
|
| 63 |
[dev-dependencies.arbitrary] |
| 64 |
version = "1.0" |
| 65 |
features = ["derive"] |
| 66 |
|
| 67 |
[dev-dependencies.bytemuck] |
| 68 |
version = "1.0" |
| 69 |
features = ["derive"] |
| 70 |
|
| 71 |
[dev-dependencies.rustversion] |
| 72 |
version = "1.0" |
| 73 |
|
| 74 |
[dev-dependencies.serde_derive] |
| 75 |
version = "1.0" |
| 76 |
|
| 77 |
[dev-dependencies.serde_json] |
| 78 |
version = "1.0" |
| 79 |
|
| 80 |
[dev-dependencies.serde_test] |
| 81 |
version = "1.0" |
| 82 |
|
| 83 |
[dev-dependencies.trybuild] |
| 84 |
version = "1.0" |
| 85 |
|
| 86 |
[dev-dependencies.zerocopy] |
| 87 |
version = "0.6" |
| 88 |
|
| 89 |
[features] |
| 90 |
example_generated = [] |
| 91 |
rustc-dep-of-std = [ |
| 92 |
"core", |
| 93 |
"compiler_builtins", |
| 94 |
] |
| 95 |
std = [] |