[package]
name = "linera-chain"
version = "0.10.3"
description = "Persistent data and the corresponding logics used by the Linera protocol for chains of blocks, certificates, and cross-chain messaging."
authors = ["Linera <contact@linera.io>"]
readme = "README.md"
repository = "https://github.com/linera-io/linera-protocol"
homepage = "https://linera.dev"
documentation = "https://docs.rs/linera-chain/latest/linera_chain/"
license = "Apache-2.0"
edition = "2021"
[features]
test = ["tokio/macros", "linera-base/test", "linera-execution/test"]
metrics = ["prometheus", "linera-views/metrics", "linera-execution/metrics"]
web = ["linera-base/web", "linera-views/web", "linera-execution/web"]
[dependencies]
async-graphql.workspace = true
async-trait.workspace = true
futures.workspace = true
linera-base.workspace = true
linera-execution.workspace = true
linera-views.workspace = true
prometheus = { workspace = true, optional = true }
rand_chacha.workspace = true
rand_distr = { workspace = true, features = ["alloc", "serde1"] }
serde.workspace = true
thiserror.workspace = true
tokio.workspace = true
tracing.workspace = true
[dev-dependencies]
assert_matches.workspace = true
linera-chain = { path = ".", features = ["test"] }
[build-dependencies]
cfg_aliases.workspace = true
[package.metadata.cargo-machete]
ignored = ["async-trait"]