third_party_rust_log/Cargo.toml

67 lines
1.8 KiB
TOML
Raw Permalink Normal View History

2014-12-13 21:46:26 +00:00
[package]
name = "log"
2022-04-28 23:02:57 +00:00
version = "0.4.17" # remember to update html_root_url
2014-12-13 21:46:26 +00:00
authors = ["The Rust Project Developers"]
2019-05-09 22:33:21 +00:00
license = "MIT OR Apache-2.0"
2014-12-13 21:46:26 +00:00
readme = "README.md"
repository = "https://github.com/rust-lang/log"
2017-05-20 23:38:40 +00:00
documentation = "https://docs.rs/log"
2014-12-13 21:46:26 +00:00
description = """
A lightweight logging facade for Rust
2014-12-13 21:46:26 +00:00
"""
2017-01-20 20:12:53 +00:00
categories = ["development-tools::debugging"]
keywords = ["logging"]
exclude = ["rfcs/**/*"]
build = "build.rs"
2015-02-09 20:22:54 +00:00
2017-10-01 05:27:00 +00:00
[package.metadata.docs.rs]
2020-11-29 08:46:59 +00:00
features = ["std", "serde", "kv_unstable_std", "kv_unstable_sval", "kv_unstable_serde"]
2017-10-01 05:27:00 +00:00
2015-02-09 20:22:54 +00:00
[[test]]
name = "filters"
2021-01-08 00:42:59 +00:00
path = "tests/filters.rs"
2015-02-09 20:22:54 +00:00
harness = false
[[test]]
name = "macros"
2021-01-08 00:42:59 +00:00
path = "tests/macros.rs"
harness = true
[features]
max_level_off = []
max_level_error = []
max_level_warn = []
max_level_info = []
max_level_debug = []
max_level_trace = []
release_max_level_off = []
release_max_level_error = []
release_max_level_warn = []
release_max_level_info = []
release_max_level_debug = []
release_max_level_trace = []
2015-12-26 16:37:43 +00:00
std = []
2017-05-20 23:21:27 +00:00
# requires the latest stable
# this will have a tighter MSRV before stabilization
2020-10-03 07:06:45 +00:00
kv_unstable = ["value-bag"]
kv_unstable_sval = ["kv_unstable", "value-bag/sval", "sval"]
kv_unstable_std = ["std", "kv_unstable", "value-bag/error"]
2020-11-29 08:46:59 +00:00
kv_unstable_serde = ["kv_unstable_std", "value-bag/serde", "serde"]
[dependencies]
2020-10-12 18:04:06 +00:00
cfg-if = "1.0"
serde = { version = "1.0", optional = true, default-features = false }
sval = { version = "=1.0.0-alpha.5", optional = true, default-features = false }
value-bag = { version = "=1.0.0-alpha.9", optional = true, default-features = false }
[dev-dependencies]
rustversion = "1.0"
2020-12-21 05:00:06 +00:00
serde = { version = "1.0", features = ["derive"] }
serde_test = "1.0"
sval = { version = "=1.0.0-alpha.5", features = ["derive"] }
value-bag = { version = "=1.0.0-alpha.9", features = ["test"] }