-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
30 lines (27 loc) · 943 Bytes
/
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
[package]
name = "axlog"
version = "0.1.0"
edition = "2021"
authors = ["Yuekai Jia <[email protected]>"]
description = "Macros for multi-level formatted logging used by ArceOS"
license = "GPL-3.0-or-later OR Apache-2.0"
homepage = "https://github.com/rcore-os/arceos"
repository = "https://github.com/rcore-os/arceos/tree/main/modules/axlog"
documentation = "https://rcore-os.github.io/arceos/axlog/index.html"
[features]
std = ["dep:chrono"]
log-level-off = ["log/max_level_off"]
log-level-error = ["log/max_level_error"]
log-level-warn = ["log/max_level_warn"]
log-level-info = ["log/max_level_info"]
log-level-debug = ["log/max_level_debug"]
log-level-trace = ["log/max_level_trace"]
default = []
[dependencies]
cfg-if = "1.0"
log = "0.4"
spinlock = { path = "../../crates/spinlock" }
crate_interface = { version = "0.1.1" }
chrono = { version = "0.4", optional = true }
[dev-dependencies]
axlog = { path = ".", features = ["std"] }