[package] name = "commonware-glue" edition.workspace = true publish = true version.workspace = true license.workspace = true description = "Default constructions that span multiple primitives." readme = "README.md" homepage.workspace = true repository = "https://github.com/commonwarexyz/monorepo/tree/main/glue" [lints] workspace = true [dependencies] ahash = { workspace = true, features = ["std", "runtime-rng"] } arbitrary = { workspace = true, optional = true, features = ["derive"] } bytes.workspace = true commonware-actor.workspace = true commonware-broadcast.workspace = true commonware-codec.workspace = true commonware-consensus.workspace = true commonware-cryptography.workspace = true commonware-macros.workspace = true commonware-math.workspace = true commonware-p2p.workspace = true commonware-parallel.workspace = true commonware-resolver.workspace = true commonware-runtime.workspace = true commonware-storage.workspace = true commonware-utils.workspace = true futures.workspace = true prometheus-client.workspace = true rand = { workspace = true, optional = true, features = ["alloc"] } rand_core.workspace = true thiserror.workspace = true tracing.workspace = true [dev-dependencies] commonware-allocator = { workspace = true, features = ["mimalloc"] } commonware-broadcast.workspace = true commonware-codec.workspace = true commonware-coding.workspace = true commonware-conformance.workspace = true commonware-consensus = { workspace = true, features = ["mocks"] } commonware-cryptography = { workspace = true, features = ["mocks"] } commonware-formatting.workspace = true commonware-p2p.workspace = true commonware-parallel = { workspace = true, features = ["test-utils"] } commonware-resolver.workspace = true commonware-runtime = { workspace = true, features = ["test-utils"] } commonware-storage = { workspace = true, features = ["test-traits"] } commonware-stream.workspace = true criterion.workspace = true rand = { workspace = true, features = ["alloc"] } rstest.workspace = true tracing-subscriber.workspace = true [features] test-utils = [ "dep:rand" ] arbitrary = [ "commonware-codec/arbitrary", "commonware-consensus/arbitrary", "commonware-cryptography/arbitrary", "commonware-math/arbitrary", "commonware-p2p/arbitrary", "commonware-resolver/arbitrary", "commonware-runtime/arbitrary", "commonware-storage/arbitrary", "commonware-utils/arbitrary", "dep:arbitrary", ] [lib] bench = false [[bench]] name = "transfers" harness = false path = "src/transfers/benches/bench.rs"