forked from mobilecoinfoundation/mobilecoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (70 loc) · 2.66 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
69
70
71
72
73
74
75
[package]
name = "mc-common"
version = "4.1.0-pre0"
authors = ["MobileCoin"]
edition = "2021"
license = "Apache-2.0"
rust-version = { workspace = true }
[features]
std = [
"displaydoc/std",
"mc-util-serial/std",
]
log = [
"backtrace",
"chrono",
"mc-util-logger-macros",
"slog-scope",
]
loggers = [
# Features
"log",
"std",
# Dependencies
"hostname",
"lazy_static",
"mc-util-build-info",
"sentry",
"slog-async",
"slog-atomic",
"slog-envlogger",
"slog-json",
"slog-stdlog",
"slog-term",
]
[dependencies]
mc-crypto-digestible = { path = "../crypto/digestible" }
mc-crypto-keys = { path = "../crypto/keys", default-features = false, features = [ "serde", "alloc", "prost" ] }
mc-rand = "1.0"
# loggers-only dependencies
mc-util-build-info = { path = "../util/build/info", optional = true }
# log- and loggers-only dependencies
mc-util-logger-macros = { path = "../util/logger-macros", optional = true }
# Note: mc-util-serial is an unused dependency, but anywhere we forward serde/std, we need to get rmp-serde/std also, or the build breaks.
mc-util-serial = { path = "../util/serial", default-features = false }
backtrace = { version = "0.3", optional = true }
cfg-if = "1.0"
chrono = { version = "0.4", optional = true }
displaydoc = { version = "0.2", default-features = false }
hashbrown = { version = "0.13.2", default-features = false, features = ["serde", "nightly"] }
hex = { version = "0.4", default-features = false }
hex_fmt = "0.3"
hostname = { version = "0.3.1", optional = true }
lazy_static = { version = "1.4", optional = true }
prost = { version = "0.11", default-features = false, features = ["prost-derive"] }
rand_core = { version = "0.6", default-features = false }
sentry = { version = "0.30", optional = true, default-features = false, features = ["backtrace", "contexts", "log", "panic", "reqwest", "rustls", "serde_json", "slog"] }
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] }
sha3 = { version = "0.10", default-features = false }
siphasher = "0.3"
slog = { version = "2.7", default-features = false, features = ["dynamic-keys", "max_level_trace", "release_max_level_trace"] }
slog-async = { version = "2.7", optional = true }
slog-atomic = { version = "3.1", optional = true }
slog-envlogger = { version = "2.2", optional = true }
slog-json = { version = "2.6", optional = true }
slog-scope = { version = "4.4.0", optional = true }
slog-stdlog = { version = "4.1.1", optional = true }
slog-term = { version = "2.9", optional = true }
[dev-dependencies]
proptest = { version = "1.1", default-features = false, features = ["default-code-coverage"] }
scoped_threadpool = "0.1.*"