mirror of
https://github.com/openharmony/third_party_rust_bitflags.git
synced 2026-07-18 09:34:45 -04:00
a323f3570b
Badges section has been removed from crates.io; it is suggested to place them in README instead[1], which we already have done. In bors.toml, the status section. Its is unclear from the docs[2], what those strings are. But it seems to me, they should reference name of GitHub Workflow file with CI pipelines[3]. [1]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section [2]: https://bors.tech/documentation/ [3]: https://bors.tech/devdocs/bors-ng/readme.html
39 lines
977 B
TOML
39 lines
977 B
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.2.1"
|
|
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 = [
|
|
"appveyor.yml",
|
|
"bors.toml"
|
|
]
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
|
|
compiler_builtins = { version = '0.1.2', optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
example_generated = []
|
|
rustc-dep-of-std = ["core", "compiler_builtins"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [ "example_generated" ]
|
|
|
|
[workspace]
|
|
members = ["test_suite"]
|