Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 2315d30

Browse files
committed
Add stable, experimental features to all crates
This adds stable and experimental to all crates so its possible to loop across the crates and build/test with those features enabled. Signed-off-by: Shawn T. Amundson <amundson@bitwise.io>
1 parent 1ac9946 commit 2315d30

File tree

11 files changed

+121
-0
lines changed

11 files changed

+121
-0
lines changed

adm/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,14 @@ help create the genesis block when initializing a validator, and manage the bloc
4848
depends = "$auto"
4949
section = "admin"
5050
maintainer-scripts = "packaging/ubuntu"
51+
52+
[features]
53+
default = []
54+
55+
stable = []
56+
57+
experimental = [
58+
# The experimental feature extends stable:
59+
"stable",
60+
# The following features are experimental:
61+
]

families/battleship/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,14 @@ serde = "1.0"
4848
serde_derive = "1.0"
4949
serde_json = "1.0"
5050
users = "0.11.0"
51+
52+
[features]
53+
default = []
54+
55+
stable = []
56+
57+
experimental = [
58+
# The experimental feature extends stable:
59+
"stable",
60+
# The following features are experimental:
61+
]

families/block_info/sawtooth_block_info/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,14 @@ log4rs = "1.2.0"
6060
[build-dependencies]
6161
protoc-rust = "2.0"
6262
glob = "0.3"
63+
64+
[features]
65+
default = []
66+
67+
stable = []
68+
69+
experimental = [
70+
# The experimental feature extends stable:
71+
"stable",
72+
# The following features are experimental:
73+
]

families/identity/sawtooth_identity/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,14 @@ conf-files = [
6161
"/lib/systemd/system/sawtooth-identity-tp.service",
6262
"/etc/default/sawtooth-identity-tp"
6363
]
64+
65+
[features]
66+
default = []
67+
68+
stable = []
69+
70+
experimental = [
71+
# The experimental feature extends stable:
72+
"stable",
73+
# The following features are experimental:
74+
]

families/settings/sawtooth_settings/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,14 @@ log4rs = "1.2.0"
6161
protoc-rust = "2.0"
6262
glob = "0.3"
6363
cfg-if = "0.1"
64+
65+
[features]
66+
default = []
67+
68+
stable = []
69+
70+
experimental = [
71+
# The experimental feature extends stable:
72+
"stable",
73+
# The following features are experimental:
74+
]

families/smallbank/smallbank_rust/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,14 @@ log4rs = "1.2.0"
3737
[build-dependencies]
3838
protoc-rust = "2.0"
3939
glob = "0.3"
40+
41+
[features]
42+
default = []
43+
44+
stable = []
45+
46+
experimental = [
47+
# The experimental feature extends stable:
48+
"stable",
49+
# The following features are experimental:
50+
]

perf/intkey_workload/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,14 @@ rust-crypto = "^0.2"
1919
sawtooth_perf = { path = "../sawtooth_perf" }
2020
sawtooth-sdk = "0.3"
2121
simplelog = "0.5"
22+
23+
[features]
24+
default = []
25+
26+
stable = []
27+
28+
experimental = [
29+
# The experimental feature extends stable:
30+
"stable",
31+
# The following features are experimental:
32+
]

perf/sawtooth_perf/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,14 @@ rand = "0.6"
2828
tokio-core = "0.1"
2929
tokio-timer = "0.1"
3030
log = "0.4"
31+
32+
[features]
33+
default = []
34+
35+
stable = []
36+
37+
experimental = [
38+
# The experimental feature extends stable:
39+
"stable",
40+
# The following features are experimental:
41+
]

perf/sawtooth_workload/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ sawtooth-sdk = "0.3"
2222
sawtooth_perf = { path = "../sawtooth_perf" }
2323
protobuf = "2.0"
2424
clap = "2"
25+
26+
[features]
27+
default = []
28+
29+
stable = []
30+
31+
experimental = [
32+
# The experimental feature extends stable:
33+
"stable",
34+
# The following features are experimental:
35+
]

perf/smallbank_workload/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,14 @@ path = "./src/main.rs"
3737
[build-dependencies]
3838
protoc-rust = "2.0"
3939
glob = "0.3"
40+
41+
[features]
42+
default = []
43+
44+
stable = []
45+
46+
experimental = [
47+
# The experimental feature extends stable:
48+
"stable",
49+
# The following features are experimental:
50+
]

0 commit comments

Comments
 (0)