mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
Don't require the `tempfile` crate unless building in dev mode (such as when running tests). Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
22 lines
642 B
TOML
22 lines
642 B
TOML
[package]
|
|
name = "logging"
|
|
version = "0.1.0"
|
|
authors = ["Tim Zhang <tim@hyper.sh>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
serde_json = "1.0.39"
|
|
# slog:
|
|
# - Dynamic keys required to allow HashMap keys to be slog::Serialized.
|
|
# - The 'max_*' features allow changing the log level at runtime
|
|
# (by stopping the compiler from removing log calls).
|
|
slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "release_max_level_info"] }
|
|
slog-json = "2.3.0"
|
|
slog-async = "2.3.0"
|
|
slog-scope = "4.1.2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.1.0"
|