third_party_rust_log/Cargo.toml

62 lines
1.6 KiB
TOML
Raw Normal View History

2014-12-13 21:46:26 +00:00
[package]
name = "log"
2020-07-08 23:51:24 +00:00
version = "0.4.11" # 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"]
2019-03-10 23:23:05 +00:00
exclude = ["rfcs/**/*", "/.travis.yml", "/appveyor.yml"]
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"
harness = false
[[test]]
name = "macros"
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 }
2020-10-03 07:06:45 +00:00
sval = { version = "1.0.0-alpha.4", optional = true, default-features = false }
value-bag = { version = "1.0.0-alpha.5", optional = true, default-features = false }
[dev-dependencies]
serde_test = "1.0"
2020-10-03 07:06:45 +00:00
value-bag = { version = "1.0.0-alpha.5", features = ["test"] }