forked from dfinity/ic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
103 lines (97 loc) · 3.76 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[package]
name = "ic-replica"
version = "0.8.0"
authors = ["The Internet Computer Project Developers"]
edition = "2021"
[dependencies]
base64 = "0.11.0"
clap = { version = "3.1.6", features = ["derive"] }
hex = "0.4.2"
ic-async-utils = { path = "../async_utils" }
ic-btc-adapter-client = { path = "../bitcoin/client" }
ic-btc-consensus = { path = "../bitcoin/consensus" }
ic-config = { path = "../config" }
ic-consensus = { path = "../consensus" }
ic-crypto = { path = "../crypto" }
ic-crypto-sha = { path = "../crypto/sha" }
ic-crypto-tls-interfaces = { path = "../crypto/tls_interfaces" }
ic-crypto-utils-threshold-sig = { path = "../crypto/utils/threshold_sig" }
ic-cycles-account-manager = { path = "../cycles_account_manager" }
ic-error-types = { path = "../types/error_types" }
ic-execution-environment = { path = "../execution_environment" }
ic-http-endpoints-public = { path = "../http_endpoints/public" }
ic-https-outcalls-adapter-client = { path = "../https_outcalls/client" }
ic-icos-sev = { path = "../ic_os/sev" }
ic-interfaces = { path = "../interfaces" }
ic-interfaces-bitcoin-adapter-client = { path = "../interfaces/bitcoin_adapter_client" }
ic-interfaces-certified-stream-store = { path = "../interfaces/certified_stream_store" }
ic-interfaces-p2p = { path = "../interfaces/p2p" }
ic-interfaces-registry = { path = "../interfaces/registry" }
ic-logger = { path = "../monitoring/logger" }
ic-messaging = { path = "../messaging" }
ic-metrics = { path = "../monitoring/metrics" }
ic-http-endpoints-metrics = { path = "../http_endpoints/metrics" }
ic-nns-constants = { path = "../nns/constants" }
ic-onchain-observability-server = { path = "../monitoring/onchain_observability/server" }
ic-p2p = { path = "../p2p" }
ic-pprof = { path = "../monitoring/pprof" }
ic-protobuf = { path = "../protobuf" }
ic-registry-client = { path = "../registry/client" }
ic-registry-client-helpers = { path = "../registry/helpers" }
ic-registry-local-store = { path = "../registry/local_store" }
ic-registry-subnet-type = { path = "../registry/subnet_type" }
ic-replica-setup-ic-network = { path = "./setup_ic_network" }
ic-replicated-state = { path = "../replicated_state" }
ic-state-manager = { path = "../state_manager" }
ic-sys = { path = "../sys" }
ic-types = { path = "../types/types" }
ic-utils = { path = "../utils" }
ic-xnet-endpoint = { path = "../xnet/endpoint" }
ic-xnet-payload-builder = { path = "../xnet/payload_builder" }
jemalloc-ctl = "0.3.3"
jemallocator = "0.3.2"
libc = "0.2.91"
nix = "0.23.0"
num_cpus = "1.13.1"
pprof = { version = "0.10.1", default-features = false, features = ["flamegraph", "prost-codec"], optional = true }
prometheus = "0.12.0"
prost = "0.11.0"
rand = "0.8"
regex = "1.3.9"
serde = { version = "1.0.99", features = [ "derive" ] }
serde_bytes = "0.11.5"
serde_cbor = "0.11.1"
slog = { version = "2.5.2", features = ["nested-values", "release_max_level_debug"] }
slog-async = "2.5.0"
static_assertions = "0.3.4"
tempfile = "3.1.0"
thread_profiler = { version = "0.3", optional = true }
tokio = { version = "1.15.0", features = ["full"] }
tracing = "0.1.13"
tower = { version = "0.4.11", features = ["util"] }
[dev-dependencies]
assert_cmd = "0.12"
canister-test = { path = "../rust_canisters/canister_test" }
criterion = "0.3"
ic-ic00-types = { path = "../types/ic00_types" }
ic-interfaces-registry-mocks = { path = "../interfaces/registry/mocks" }
ic-test-utilities = { path = "../test_utilities" }
predicates = "1.0.1"
wat = "1.0.52"
[[bench]]
name = "calls"
harness = false
# TODO(RPL-268)
# [[bench]]
# name = "execution_only_update"
# harness = false
[[bin]]
name = "replica"
path = "src/main.rs"
[features]
profiler = ["thread_profiler/thread_profiler", "pprof"]
malicious_code = [
"ic-consensus/malicious_code",
"ic-http-endpoints-public/malicious_code",
"ic-state-manager/malicious_code",
]