# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "tendermint-light-client"
version = "0.18.0"
authors = ["Sean Braithwaite <sean@informal.systems>", "Ethan Buchman <ethan@coinculture.info>", "Ismail Khoffi <Ismail.Khoffi@gmail.com>", "Romain Ruetschi <romain@informal.systems>", "Alexander Simmerl <a.simmerl@gmail.com>"]
description = "    Implementation of the Tendermint Light Client Verification Protocol.\n"
readme = "README.md"
keywords = ["blockchain", "bft", "consensus", "cosmos", "tendermint"]
license = "Apache-2.0"
repository = "https://github.com/informalsystems/tendermint-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lib]
crate-type = ["cdylib", "rlib"]
[dependencies.anomaly]
version = "0.2.0"
features = ["serializer"]

[dependencies.contracts]
version = "0.4.0"

[dependencies.crossbeam-channel]
version = "0.4.2"

[dependencies.derive_more]
version = "0.99.5"

[dependencies.futures]
version = "0.3.4"

[dependencies.serde]
version = "1.0.106"

[dependencies.serde_cbor]
version = "0.11.1"

[dependencies.serde_derive]
version = "1.0.106"

[dependencies.sled]
version = "0.34.3"
optional = true

[dependencies.static_assertions]
version = "1.1.0"

[dependencies.tendermint]
version = "0.18.0"

[dependencies.tendermint-rpc]
version = "0.18.0"
default-features = false

[dependencies.thiserror]
version = "1.0.15"

[dependencies.tokio]
version = "1.0"
features = ["rt"]
optional = true
[dev-dependencies.gumdrop]
version = "0.8.0"

[dev-dependencies.proptest]
version = "0.10.1"

[dev-dependencies.rand]
version = "0.7.3"

[dev-dependencies.serde_json]
version = "1.0.51"

[dev-dependencies.tempdir]
version = "0.3.7"

[features]
default = ["rpc-client", "lightstore-sled"]
lightstore-sled = ["sled"]
rpc-client = ["tokio", "tendermint-rpc/http-client"]
secp256k1 = ["tendermint/secp256k1", "tendermint-rpc/secp256k1"]
unstable = []
