mirror of
https://gitee.com/openharmony/third_party_rust_bitflags
synced 2024-11-27 01:11:37 +00:00
Making crate accessible from std
This commit is contained in:
parent
15e911c304
commit
ccd61a94e5
@ -23,12 +23,17 @@ exclude = [
|
||||
]
|
||||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
|
||||
compiler_builtins = { version = '0.1.2', optional = true }
|
||||
|
||||
[badges]
|
||||
travis-ci = { repository = "bitflags/bitflags" }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
example_generated = []
|
||||
rustc-dep-of-std = ["core", "compiler_builtins"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = [ "example_generated" ]
|
||||
|
Loading…
Reference in New Issue
Block a user