Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶ SCIP
2 Debian patches touch this file
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 name = "simple_logger"
15 version = "5.2.0"
16 authors = ["Sam Clements <[email protected]>"]
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = "A logger that prints all messages with a readable output format"
24 readme = "README.md"
25 license = "MIT"
26 repository = "https://github.com/borntyping/rust-simple_logger"
27
28 [features]
•29 colors = ["dep:colored"]
30 default = [
31 "colors",
32 "timestamps",
33 ]
34 nightly = []
35 stderr = []
36 threads = []
37 timestamps = ["time"]
38
39 [lib]
40 name = "simple_logger"
41 path = "src/lib.rs"
42
43 [[example]]
44 name = "colors"
45 path = "examples/colors.rs"
46 required-features = ["colors"]
47
48 [[example]]
49 name = "flush"
50 path = "examples/flush.rs"
51
52 [[example]]
53 name = "init"
54 path = "examples/init.rs"
55
56 [[example]]
57 name = "init_with_env"
58 path = "examples/init_with_env.rs"
59
60 [[example]]
61 name = "init_with_level"
62 path = "examples/init_with_level.rs"
63
64 [[example]]
65 name = "init_with_target_level"
66 path = "examples/init_with_target_level.rs"
67
68 [[example]]
69 name = "stderr"
70 path = "examples/stderr.rs"
71 required-features = [
72 "colors",
73 "stderr",
74 ]
75
76 [[example]]
77 name = "threads"
78 path = "examples/threads.rs"
79 required-features = ["threads"]
80
81 [[example]]
82 name = "timestamps_format"
83 path = "examples/timestamps_format.rs"
84 required-features = ["timestamps"]
85
86 [[example]]
87 name = "timestamps_local"
88 path = "examples/timestamps_local.rs"
89 required-features = ["timestamps"]
90
91 [[example]]
92 name = "timestamps_none"
93 path = "examples/timestamps_none.rs"
94 required-features = ["timestamps"]
95
96 [[example]]
97 name = "timestamps_utc"
98 path = "examples/timestamps_utc.rs"
99 required-features = ["timestamps"]
100
101 [[example]]
102 name = "timestamps_utc_offset"
103 path = "examples/timestamps_utc_offset.rs"
104 required-features = ["timestamps"]
105
106 [[example]]
107 name = "wrap"
108 path = "examples/wrap.rs"
109
110 [dependencies.colored]
111 version = "^3.0.0"
112 optional = true
113
114 [dependencies.log]
115 version = "^0.4.28"
116 features = ["std"]
117
118 [dependencies.time]
119 version = "^0.3.47"
120 features = [
121 "formatting",
122 "local-offset",
123 "macros",
124 ]
125 optional = true