forked from Phala-Network/phala-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
110 lines (101 loc) · 2.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
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
104
105
106
107
108
109
110
[profile.release]
panic = "abort"
opt-level = 3
# make sure dev builds with backtrace do
# not slow us down
[profile.dev.package.backtrace]
inherits = "release"
[profile.production]
inherits = "release"
lto = true
codegen-units = 1
[profile.testnet]
inherits = "release"
debug = 1 # debug symbols are useful for profilers
debug-assertions = true
overflow-checks = true
[workspace]
resolver = "2"
metadata.dylint.libraries = [
{ git = "https://github.com/Phala-Network/dylint-rules.git", pattern = "rules/*" },
]
exclude = [
"subxt",
"vendor/webpki",
"vendor/ring",
"standalone/pruntime",
"standalone/prouter",
"standalone/crate-version",
"crates/pink-drivers/system",
"crates/pink-drivers/sidevm_deployer",
"crates/pink-drivers/tokenomic",
"e2e/contracts",
]
members = [
"standalone/executor",
"standalone/rpc",
"standalone/node",
"standalone/runtime",
"standalone/pherry",
"standalone/replay",
"standalone/headers-cache",
"standalone/justification-validate",
"standalone/sfq-test",
"standalone/phat-poller",
"crates/phala-trie-storage",
"crates/phala-mq",
"crates/phala-crypto",
"crates/phala-node-rpc-ext",
"crates/phala-types",
"crates/phala-git-revision",
"crates/prpc",
"crates/prpc-build",
"crates/phactory",
"crates/phactory/api",
"crates/phactory/pal",
"crates/phala-types",
"crates/phala-async-executor",
"crates/phala-allocator",
"crates/phala-sanitized-logger",
"crates/phala-wasm-checker",
"crates/phala-clap-parsers",
"crates/wasmer-tunables",
"crates/phala-rocket-middleware",
"crates/pink/runner",
"crates/pink/runtime",
"crates/pink/runtime/unittests",
"crates/pink/capi",
"crates/pink/macro",
"crates/pink/pink-extension",
"crates/pink/pink-extension-runtime",
"crates/pink-libs/s3",
"crates/pink-libs/utils",
"crates/pink-libs/subrpc",
"crates/pink-libs/kv-session",
"crates/phaxt",
"crates/pink/pink-extension/macro",
"crates/sidevm/host-runtime",
"crates/sidevm/env",
"crates/sidevm/macro",
"crates/sidevm/logger",
"crates/sidevm/sidevm",
"crates/phala-serde-more",
"crates/rustfmt-snippet",
"crates/reqwest-env-proxy",
"crates/phala-scheduler",
"crates/this-crate",
"pallets/phala",
"pallets/phala/mq-runtime-api",
"pallets/offchain-rollup",
"scripts/debug-cli"
]
[patch.crates-io]
# TODO.kevin: Move back to crates.io once it released 1.0
derive_more = { version = "0.99.17", git = "https://github.com/JelteF/derive_more" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }
sp-core-hashing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }
# For pink-extension-runtime, it will introduce Substrate from crates-io which usually different with polkadot-branch
pink-extension = { path = "crates/pink/pink-extension" }
pink-extension-runtime = { path = "crates/pink/pink-extension-runtime" }