Cargo.toml 2.85 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 = "node/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",
asynchronous rob's avatar
asynchronous rob committed
39
	"statement-table",
40
	"validation",
41
	"xcm",
Shawn Tabrizi's avatar
Shawn Tabrizi committed
42
	"xcm/xcm-builder",
43
	"xcm/xcm-executor",
44
	"node/collation-generation",
45
	"node/core/av-store",
46
	"node/core/backing",
47
	"node/core/bitfield-signing",
48
	"node/core/candidate-selection",
49
	"node/core/candidate-validation",
Andronik Ordian's avatar
Andronik Ordian committed
50
	"node/core/chain-api",
51
	"node/core/proposer",
52
	"node/core/provisioner",
53
	"node/core/runtime-api",
54
	"node/network/bridge",
55
	"node/network/pov-distribution",
56
	"node/network/protocol",
57
	"node/network/statement-distribution",
58
	"node/network/bitfield-distribution",
59
	"node/network/availability-distribution",
60
	"node/network/collator-protocol",
61
	"node/overseer",
62
	"node/primitives",
63
	"node/service",
64
	"node/subsystem",
65
66
	"node/subsystem-test-helpers",
	"node/subsystem-util",
67
	"node/test-service",
68

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

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

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

[features]
runtime-benchmarks=["cli/runtime-benchmarks"]
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
111

# 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" }