Cargo.toml 2.91 KB
Newer Older
asynchronous rob's avatar
asynchronous rob committed
1
2
3
4
5
6
[[bin]]
name = "polkadot"
path = "src/main.rs"

[package]
name = "polkadot"
7
8
description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework."
license = "GPL-3.0-only"
Gavin Wood's avatar
Gavin Wood committed
9
version = "0.8.25"
asynchronous rob's avatar
asynchronous rob committed
10
authors = ["Parity Technologies <admin@parity.io>"]
11
edition = "2018"
12
readme = "README.md"
asynchronous rob's avatar
asynchronous rob committed
13
14

[dependencies]
15
cli = { package = "polkadot-cli", path = "cli" }
Gavin Wood's avatar
Gavin Wood committed
16
futures = "0.3.4"
17
service = { package = "polkadot-service", path = "service" }
Fedor Sakharov's avatar
Fedor Sakharov committed
18
parity-util-mem = { version = "*", default-features = false, features = ["jemalloc-global"] }
asynchronous rob's avatar
asynchronous rob committed
19

20
21
22
[dev-dependencies]
assert_cmd = "0.12"
nix = "0.17"
pscott's avatar
pscott committed
23
tempfile = "3.1.0"
24

asynchronous rob's avatar
asynchronous rob committed
25
26
27
[workspace]
members = [
	"cli",
28
	"core-primitives",
29
	"erasure-coding",
asynchronous rob's avatar
asynchronous rob committed
30
	"primitives",
31
	"runtime/common",
32
	"runtime/parachains",
33
34
	"runtime/polkadot",
	"runtime/kusama",
35
	"runtime/rococo-v1",
ddorgan's avatar
ddorgan committed
36
	"runtime/westend",
37
38
	"runtime/test-runtime",
	"runtime/test-runtime/client",
39
	"service",
asynchronous rob's avatar
asynchronous rob committed
40
	"statement-table",
41
	"service",
42
	"validation",
43
	"xcm",
Shawn Tabrizi's avatar
Shawn Tabrizi committed
44
	"xcm/xcm-builder",
45
	"xcm/xcm-executor",
46
	"node/collation-generation",
47
	"node/core/av-store",
48
	"node/core/backing",
49
	"node/core/bitfield-signing",
50
	"node/core/candidate-selection",
51
	"node/core/candidate-validation",
Andronik Ordian's avatar
Andronik Ordian committed
52
	"node/core/chain-api",
53
	"node/core/proposer",
54
	"node/core/provisioner",
55
	"node/core/runtime-api",
56
	"node/network/bridge",
57
	"node/network/pov-distribution",
58
	"node/network/protocol",
59
	"node/network/statement-distribution",
60
	"node/network/bitfield-distribution",
61
	"node/network/availability-distribution",
62
	"node/network/collator-protocol",
63
	"node/overseer",
64
	"node/primitives",
65
	"node/service",
66
	"node/subsystem",
67
68
	"node/subsystem-test-helpers",
	"node/subsystem-util",
69
	"node/test-service",
70

71
72
	"parachain/test-parachains",
	"parachain/test-parachains/adder",
asynchronous rob's avatar
asynchronous rob committed
73
74
75
76
77
78
]

[badges]
maintenance = { status = "actively-developed" }

[profile.release]
79
# Polkadot runtime requires unwinding.
asynchronous rob's avatar
asynchronous rob committed
80
panic = "unwind"
81
82
83

[features]
runtime-benchmarks=["cli/runtime-benchmarks"]
84
85
86
service-rewr= [
	"cli/service-rewr",
]
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116

# Configuration for building a .deb package - for use with `cargo-deb`
[package.metadata.deb]
name = "polkadot"
extended-description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework."
section = "misc"
maintainer = "martin@parity.io"
license-file = ["LICENSE", "0"]
# https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
maintainer-scripts = "scripts/packaging/deb-maintainer-scripts"
assets = [
	["target/release/polkadot", "/usr/bin/", "755"],
	["scripts/packaging/polkadot.service", "/lib/systemd/system/", "644"]
]
conf-files = [
	"/etc/default/polkadot"
]

# Configuration for building an .rpm package - for use with `cargo-rpm`
[package.metadata.rpm]
package = "polkadot"

[package.metadata.rpm.cargo]
buildflags = ["--release"]

[package.metadata.rpm.targets]
polkadot = { path = "/usr/bin/polkadot" }

[package.metadata.rpm.files]
"../scripts/packaging/polkadot.service" = { path = "/usr/lib/systemd/system/polkadot.service", mode = "644" }