third_party_rust_log/Cargo.toml
Yoshua Wuyts 7f2387d7db
add test & fix breakage
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:49 +01:00

59 lines
1.3 KiB
TOML

[package]
name = "log"
version = "0.4.8" # remember to update html_root_url
authors = ["The Rust Project Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-lang/log"
documentation = "https://docs.rs/log"
description = """
A lightweight logging facade for Rust
"""
categories = ["development-tools::debugging"]
keywords = ["logging"]
exclude = ["rfcs/**/*", "/.travis.yml", "/appveyor.yml"]
build = "build.rs"
[package.metadata.docs.rs]
features = ["std", "serde", "kv_unstable_sval"]
[[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 = []
std = []
# requires the latest stable
# this will have a tighter MSRV before stabilization
kv_unstable = []
kv_unstable_sval = ["kv_unstable", "sval/fmt"]
[dependencies]
cfg-if = "0.1.2"
serde = { version = "1.0", optional = true, default-features = false }
sval = { version = "0.4.2", optional = true, default-features = false }
[dev-dependencies]
serde_test = "1.0"
sval = { version = "0.4.2", features = ["test"] }