third_party_rust_log/Cargo.toml
2020-01-31 12:53:40 +10:00

59 lines
1.3 KiB
TOML

[package]
name = "log"
version = "0.4.10" # 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.5", optional = true, default-features = false }
[dev-dependencies]
serde_test = "1.0"
sval = { version = "0.5", features = ["test"] }