Newer
Older
[[bin]]
name = "polkadot"
path = "src/main.rs"
[package]
name = "polkadot"
description = "Implementation of a https://polkadot.network node in Rust based on the Substrate framework."
license = "GPL-3.0-only"
authors = ["Parity Technologies <[email protected]>"]
readme = "README.md"
cli = { package = "polkadot-cli", path = "cli" }
color-eyre = "0.5.6"
service = { package = "polkadot-service", path = "node/service" }
parity-util-mem = { version = "*", default-features = false, features = ["jemalloc-global"] }
[dev-dependencies]
assert_cmd = "0.12"
nix = "0.17"
"runtime/polkadot",
"runtime/kusama",
"node/collation-generation",
"node/core/bitfield-signing",
"node/core/candidate-selection",
"node/core/candidate-validation",
"node/network/pov-distribution",
"node/network/statement-distribution",
"node/network/bitfield-distribution",
"node/network/availability-distribution",
asynchronous rob
committed
"node/overseer",
"node/primitives",
Peter Goodspeed-Niklaus
committed
"node/subsystem-test-helpers",
"node/subsystem-util",
"node/test/client",
"node/test/service",
"parachain/test-parachains",
"parachain/test-parachains/adder",
]
[badges]
maintenance = { status = "actively-developed" }
# make sure dev builds with backtrace do
# not slow us down
[profile.dev.package.backtrace]
opt-level = 3
[features]
runtime-benchmarks=["cli/runtime-benchmarks"]
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 = "[email protected]"
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" }