-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
57 lines (48 loc) · 1.55 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[workspace.package]
version = "2.1.1"
edition = "2021"
authors = ["baoyachi <[email protected]>"]
description = "A simple log. It's really simple use"
keywords = ["log", "simple-log", "logger", "log4j", "log4rs"]
readme = "README.md"
categories = ["development-tools::debugging"]
documentation = "https://docs.rs/simple-log"
repository = "https://github.com/baoyachi/simple-log"
license = "MIT OR Apache-2.0"
[package]
name = "simple-log"
version.workspace = true
authors.workspace = true
description.workspace = true
edition.workspace = true
keywords.workspace = true
readme.workspace = true
categories.workspace = true
documentation.workspace = true
repository.workspace = true
license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = { version = "0.4.11", features = ["serde", "std"] }
log4rs = { version = "1.1.1", default-features = false, features = ["all_components", "humantime", "serde", "serde-value", "yaml_format", "gzip"], optional = true }
once_cell = { version = "1.15.0", default-features = false, optional = true }
serde = { version = "1.0.145", features = ["derive"] }
winnow = "0.6.18"
[dependencies.simple-log-derive]
path = "derive"
optional = true
version = "2"
[dev-dependencies]
serde_json = "1"
toml = "0.8.19"
serde_yaml = "0.9.13"
[workspace]
members = ["./", "derive"]
[features]
default = ["log_inner"]
log_inner = ["log4rs", "once_cell"]
target = ["simple-log-derive"]
[[example]]
name = "target"
path = "examples/target.rs"
required-features = ["target"]