hbbft/Cargo.toml

71 lines
1.9 KiB
TOML
Raw Normal View History

[package]
name = "hbbft"
version = "0.1.0"
authors = [
"Vladimir Komendantskiy <komendantsky@gmail.com>",
"Andreas Fackler <AndreasFackler@gmx.de>",
"Peter van Nostrand <jnz@riseup.net>",
"Andrew Gross <andogro@gmail.com>",
"Nick Sanders <nsan1129@gmail.com>",
"Marc Brinkmann <git@marcbrinkmann.de>",
]
categories = ["algorithms", "asynchronous", "cryptography", "network-programming"]
keywords = ["consensus", "asynchronous", "threshold"]
2018-10-02 08:58:46 -07:00
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/poanetwork/hbbft"
description = "The Honey Badger of Byzantine Fault Tolerant Consensus Protocols"
[badges]
travis-ci = { repository = "poanetwork/hbbft" }
[dependencies]
bincode = "1.0.0"
2018-05-29 08:50:48 -07:00
byteorder = "1.2.3"
derivative = "1.0.1"
env_logger = "0.5.10"
failure = "0.1"
hex_fmt = "0.2"
2018-05-29 12:59:21 -07:00
init_with = "1.1.0"
log = "0.4.1"
rand = "0.4.2"
rand_derive = "0.3.1"
reed-solomon-erasure = "3.1.0"
serde = "1.0.55"
serde_derive = "1.0.55"
threshold_crypto = "0.2.1"
2018-08-09 02:51:31 -07:00
tiny-keccak = "1.4"
[dev-dependencies]
2018-05-17 02:51:14 -07:00
colored = "1.6"
crossbeam = "0.5"
crossbeam-channel = "0.3"
2018-08-09 02:51:31 -07:00
docopt = "1.0"
2018-09-20 02:27:12 -07:00
itertools = "0.7"
2018-05-17 02:51:14 -07:00
serde_derive = "1.0.55"
signifix = "0.9"
Better proptest persistence through deterministic randomness. (#248) * Add support for RNG instantiation in proptests. * Use `proptest` module strategy to create the rng for `net_dynamic_honey_badger`. * Use seed generation instead of RNG instantiation in tests. * Remove fixed RNG in `generate_map`. * `VirtualNet` now supports setting the random generator through the builder. * Add missing `time_limit` field to `::std::fmt::Debug` trait implementation on `NetBuilder`. * Pass an instantiated random number generator through `NewNodeInfo` as a convenience. * Make the random number generator of `DynamicHoneyBadgerBuilder` configurable, at the cost of now requiring mutability to call `build_first_node()`. * Ensure RNGs are derive from passed in seed in `net_dynamic_hb` tests. * Correct inappropriate use of `random::Random` instead of `Rng::gen` to generate dependent values in `binary_agreement`. The original implementation used `rand::random()`, which will always use the `thread_rng`, ignoring the fact that an RNG has actually been passed in. * Do not use `OsRng` but passed in RNG instead. * Use reference/non-reference passing of rngs more in line with the `rand` crates conventions. * Document `rng` field on `DynamicHoneyBadger`. * Make `SyncKeyGen` work with the extend (`encrypt_with_rng`) API of `threshold_crypto`. * Use passed-in random number generator in `HoneyBadger`. * Create `SubRng` crate in new `util` module to replace `create_rng()`. * Use an RNG seeded from the configure RNG when reinitializing `DynamicHoneyBadger`. * Use the correct branch of `threshold_crypto` with support for passing RNGs.
2018-10-02 07:24:51 -07:00
proptest = "0.8.7"
# Note: `rand_core` is solely used for the randomness adapter in `net_utils.rs`
# tests and should be removed as soon as a migration path to rand 0.5
# appears.
rand_core = "0.2.1"
integer-sqrt = "0.1.1"
[[example]]
name = "consensus-node"
2018-05-17 02:51:14 -07:00
[[example]]
name = "simulation"
# This will turn on overflow checks in `cargo test --release` and
# `cargo bench`. Dependencies will not be affected, as they use the
# `[profile.release]` block in both cases.
[profile.bench]
overflow-checks = true
[features]
use-insecure-test-only-mock-crypto = ["threshold_crypto/use-insecure-test-only-mock-crypto"]
# TODO: Remove this feature once https://github.com/darrenldl/reed-solomon-erasure/issues/28 is
# resolved.
no-simd = ["reed-solomon-erasure/pure-rust"]