forked from mesalock-linux/log-sgx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
68 lines (58 loc) · 1.99 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
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "log"
version = "0.4.14" # 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", "/sgx/*"]
build = "build.rs"
[package.metadata.docs.rs]
features = ["std", "serde", "kv_unstable_std", "kv_unstable_sval", "kv_unstable_serde"]
[[test]]
name = "filters"
path = "tests/filters.rs"
harness = false
[[test]]
name = "macros"
path = "tests/macros.rs"
harness = true
[features]
default = ["std", "mesalock_sgx"]
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 = ["mesalock_sgx"]
mesalock_sgx = ["sgx_tstd"]
# requires the latest stable
# this will have a tighter MSRV before stabilization
kv_unstable = ["value-bag"]
kv_unstable_sval = ["kv_unstable", "value-bag/sval", "sval"]
kv_unstable_std = ["std", "kv_unstable", "value-bag/error"]
kv_unstable_serde = ["kv_unstable_std", "value-bag/serde", "serde"]
[dependencies]
cfg-if = "1.0"
serde = { optional = true, git = "https://github.com/NexTokenTech/serde-sgx" }
sval = { version = "1.0.0-alpha.5", optional = true, default-features = false }
value-bag = { version = "1.0.0-alpha.6", optional = true, default-features = false }
sgx_tstd = { git="https://github.com/NexTokenTech/incubator-teaclave-sgx-sdk.git", version="1.1.6", optional = true }
[dev-dependencies]
#serde = { version = "1.0", features = ["derive"] }
#serde_test = "1.0"
#sval = { version = "1.0.0-alpha.5", features = ["derive"] }
#value-bag = { version = "1.0.0-alpha.6", features = ["test"] }