-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If a crate has std set, it should enable std for all dependencies in order to let them properly select which algorithms to use. Some crates fallback to slower/worse algorithms on no-std. Also more aggressively sets default-features = false leading to a *10%* reduction in the amount of crates coordinator builds.
- Loading branch information
1 parent
34bcb9e
commit 05dc474
Showing
19 changed files
with
185 additions
and
135 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,31 +8,31 @@ authors = ["Luke Parker <[email protected]>"] | |
edition = "2021" | ||
|
||
[dependencies] | ||
async-trait = "0.1" | ||
thiserror = "1" | ||
async-trait = { version = "0.1", default-features = false } | ||
thiserror = { version = "1", default-features = false } | ||
|
||
subtle = "^2" | ||
zeroize = "^1.5" | ||
subtle = { version = "^2", default-features = false, features = ["std"] } | ||
zeroize = { version = "^1.5", default-features = false, features = ["std"] } | ||
|
||
rand = "0.8" | ||
rand_chacha = "0.3" | ||
rand = { version = "0.8", default-features = false, features = ["std"] } | ||
rand_chacha = { version = "0.3", default-features = false, features = ["std"] } | ||
|
||
blake2 = "0.10" | ||
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", features = ["recommended"] } | ||
blake2 = { version = "0.10", default-features = false, features = ["std"] } | ||
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", default-features = false, features = ["std", "recommended"] } | ||
|
||
ciphersuite = { package = "ciphersuite", path = "../../crypto/ciphersuite", features = ["ristretto"] } | ||
schnorr = { package = "schnorr-signatures", path = "../../crypto/schnorr" } | ||
ciphersuite = { package = "ciphersuite", path = "../../crypto/ciphersuite", default-features = false, features = ["std", "ristretto"] } | ||
schnorr = { package = "schnorr-signatures", path = "../../crypto/schnorr", default-features = false, features = ["std"] } | ||
|
||
hex = "0.4" | ||
log = "0.4" | ||
hex = { version = "0.4", default-features = false, features = ["std"] } | ||
log = { version = "0.4", default-features = false, features = ["std"] } | ||
|
||
serai-db = { path = "../../common/db" } | ||
|
||
scale = { package = "parity-scale-codec", version = "3", features = ["derive"] } | ||
futures = "0.3" | ||
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["std", "derive"] } | ||
futures = { version = "0.3", default-features = false, features = ["std"] } | ||
tendermint = { package = "tendermint-machine", path = "./tendermint" } | ||
|
||
tokio = { version = "1", features = ["sync", "time", "rt"] } | ||
tokio = { version = "1", default-features = false, features = ["sync", "time", "rt"] } | ||
|
||
[dev-dependencies] | ||
tokio = { version = "1", features = ["macros"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,16 +8,16 @@ authors = ["Luke Parker <[email protected]>"] | |
edition = "2021" | ||
|
||
[dependencies] | ||
async-trait = "0.1" | ||
thiserror = "1" | ||
async-trait = { version = "0.1", default-features = false } | ||
thiserror = { version = "1", default-features = false } | ||
|
||
hex = "0.4" | ||
log = "0.4" | ||
hex = { version = "0.4", default-features = false, features = ["std"] } | ||
log = { version = "0.4", default-features = false, features = ["std"] } | ||
|
||
parity-scale-codec = { version = "3", features = ["derive"] } | ||
parity-scale-codec = { version = "3", default-features = false, features = ["std", "derive"] } | ||
|
||
futures = "0.3" | ||
tokio = { version = "1", features = ["sync", "time"] } | ||
futures = { version = "0.3", default-features = false, features = ["std", "async-await"] } | ||
tokio = { version = "1", default-features = false, features = ["sync", "time"] } | ||
|
||
[dev-dependencies] | ||
tokio = { version = "1", features = ["rt-multi-thread", "macros"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.