mirror of
https://gitee.com/openharmony/third_party_rust_bitflags
synced 2024-11-22 23:00:06 +00:00
40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
[package]
|
|
name = "bitflags"
|
|
# NB: When modifying, also modify:
|
|
# 1. html_root_url in lib.rs
|
|
# 2. number in readme (for breaking changes)
|
|
version = "1.3.2"
|
|
edition = "2018"
|
|
authors = ["The Rust Project Developers"]
|
|
license = "MIT/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 = ["bors.toml"]
|
|
|
|
[dependencies]
|
|
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"
|
|
rustversion = "1.0"
|
|
walkdir = "2.3"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
|
|
[features]
|
|
default = []
|
|
example_generated = []
|
|
rustc-dep-of-std = ["core", "compiler_builtins"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["example_generated"]
|