mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-27 13:06:01 +00:00
5c46edbe98
Unfortunately, this immediately makes Tendermint machine capable of deployment as crate since it uses a git reference. In the future, a Cargo.toml patch section for serai/substrate should be investigated. This is being done regardless as it's the quickest way forward and this is for Serai.
19 lines
593 B
TOML
19 lines
593 B
TOML
[package]
|
|
name = "tendermint-machine"
|
|
version = "0.1.0"
|
|
description = "An implementation of the Tendermint state machine in Rust"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/tendermint"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
parity-scale-codec = { version = "3.2", features = ["derive"] }
|
|
|
|
async-trait = "0.1"
|
|
tokio = { version = "1", features = ["macros", "sync", "time", "rt"] }
|
|
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", optional = true }
|
|
|
|
[features]
|
|
substrate = ["sp-runtime"]
|