mirror of
https://github.com/openharmony/third_party_rust_bitflags.git
synced 2026-07-20 23:46:15 -04:00
0735d74d62
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
[package]
|
|
name = "bitflags"
|
|
# NB: When modifying, also modify the number in readme (for breaking changes)
|
|
version = "2.9.1"
|
|
edition = "2021"
|
|
rust-version = "1.56.0"
|
|
authors = ["The Rust Project Developers"]
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bit", "bitmask", "bitflags", "flags"]
|
|
readme = "README.md"
|
|
repository = "https://github.com/bitflags/bitflags"
|
|
homepage = "https://github.com/bitflags/bitflags"
|
|
documentation = "https://docs.rs/bitflags"
|
|
categories = ["no-std"]
|
|
description = """
|
|
A macro to generate structures which behave like bitflags.
|
|
"""
|
|
exclude = ["/tests", "/.github"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.103", optional = true, default-features = false }
|
|
arbitrary = { version = "1.0", optional = true }
|
|
bytemuck = { version = "1.12", optional = true }
|
|
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
|
|
compiler_builtins = { version = "0.1.2", optional = true }
|
|
|
|
[dev-dependencies]
|
|
trybuild = "1.0.18"
|
|
rustversion = "1.0"
|
|
serde_derive = "1.0.103"
|
|
serde_json = "1.0"
|
|
serde_test = "1.0.19"
|
|
zerocopy = { version = "0.8", features = ["derive"] }
|
|
arbitrary = { version = "1.0", features = ["derive"] }
|
|
bytemuck = { version = "1.12.2", features = ["derive"] }
|
|
|
|
[features]
|
|
std = []
|
|
example_generated = []
|
|
rustc-dep-of-std = ["core", "compiler_builtins"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["example_generated"]
|