Debian Codegraph @

third_party/rust/bitflags/Cargo.toml

raw
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.9.0"
17 authors = ["The Rust Project Developers"]
18 build = false
19 exclude = [
20 "/tests",
21 "/.github",
22 ]
23 autolib = false
24 autobins = false
25 autoexamples = false
26 autotests = false
27 autobenches = false
28 description = """
29 A macro to generate structures which behave like bitflags.
30 """
31 homepage = "https://github.com/bitflags/bitflags"
32 documentation = "https://docs.rs/bitflags"
33 readme = "README.md"
34 keywords = [
35 "bit",
36 "bitmask",
37 "bitflags",
38 "flags",
39 ]
40 categories = ["no-std"]
41 license = "MIT OR Apache-2.0"
42 repository = "https://github.com/bitflags/bitflags"
43
44 [package.metadata.docs.rs]
45 features = ["example_generated"]
46
47 [features]
48 example_generated = []
49 rustc-dep-of-std = [
50 "core",
51 "compiler_builtins",
52 ]
53 std = []
54
55 [lib]
56 name = "bitflags"
57 path = "src/lib.rs"
58
59 [[example]]
60 name = "custom_bits_type"
61 path = "examples/custom_bits_type.rs"
62
63 [[example]]
64 name = "custom_derive"
65 path = "examples/custom_derive.rs"
66
67 [[example]]
68 name = "fmt"
69 path = "examples/fmt.rs"
70
71 [[example]]
72 name = "macro_free"
73 path = "examples/macro_free.rs"
74
75 [[example]]
76 name = "serde"
77 path = "examples/serde.rs"
78
79 [[bench]]
80 name = "parse"
81 path = "benches/parse.rs"
82
83 [dependencies.arbitrary]
84 version = "1.0"
85 optional = true
86
87 [dependencies.bytemuck]
88 version = "1.12"
89 optional = true
90
91 [dependencies.compiler_builtins]
92 version = "0.1.2"
93 optional = true
94
95 [dependencies.core]
96 version = "1.0.0"
97 optional = true
98 package = "rustc-std-workspace-core"
99
100 [dependencies.serde]
101 version = "1.0.103"
102 optional = true
103 default-features = false
104
105 [dev-dependencies.arbitrary]
106 version = "1.0"
107 features = ["derive"]
108
109 [dev-dependencies.bytemuck]
110 version = "1.12.2"
111 features = ["derive"]
112
113 [dev-dependencies.rustversion]
114 version = "1.0"
115
116 [dev-dependencies.serde_derive]
117 version = "1.0.103"
118
119 [dev-dependencies.serde_json]
120 version = "1.0"
121
122 [dev-dependencies.serde_test]
123 version = "1.0.19"
124
125 [dev-dependencies.trybuild]
126 version = "1.0.18"
127
128 [dev-dependencies.zerocopy]
129 version = "0.8"
130 features = ["derive"]