# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "sn_consensus"
version = "2.1.1"
authors = ["David Rusu <davidrusu.me@gmail.com>"]
description = "Safe Network Membership: Enables nodes to dynamically join and leave a section"
license = "MIT OR BSD-3-Clause"
repository = "https://github.com/maidsafe/sn_consensus"
resolver = "2"

[profile.bench]
debug = true

[profile.release]
debug = true

[profile.test]
opt-level = 3
debug = true
overflow-checks = true

[dependencies.bincode]
version = "1.2.1"

[dependencies.blsttc]
version = "6.0.0"

[dependencies.ed25519]
version = "1.0.0"
features = ["serde"]
optional = true
package = "ed25519-dalek"

[dependencies.log]
version = "0.4.13"

[dependencies.rand]
version = "0.8"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.env_logger]
version = "0.8"

[dev-dependencies.eyre]
version = "0.6.5"

[dev-dependencies.quickcheck]
version = "1"

[dev-dependencies.quickcheck_macros]
version = "1"

[features]
bad_crypto = []
default = []
