|
| 1 | +[package] |
| 2 | +name = "ibc-types-path" |
| 3 | +version = "0.2.0" |
| 4 | +edition = "2021" |
| 5 | +license = "Apache-2.0" |
| 6 | +readme = "../../README.md" |
| 7 | +keywords = ["blockchain", "consensus", "cosmos", "ibc", "tendermint"] |
| 8 | +repository = "https://github.com/penumbra-zone/ibc-types" |
| 9 | +authors = [ "Penumbra Labs <[email protected]"] |
| 10 | +rust-version = "1.60" |
| 11 | +description = """ |
| 12 | + Data types for the Inter-Blockchain Communication (IBC) protocol. |
| 13 | + This crate defines common data structures that can be reused by different IBC implementations or ecosystem tooling. |
| 14 | +""" |
| 15 | +# Not publishing to crates.io yet; will iterate quickly via git deps. |
| 16 | +publish = false |
| 17 | +[package.metadata.docs.rs] |
| 18 | +all-features = true |
| 19 | + |
| 20 | +[features] |
| 21 | +default = ["std"] |
| 22 | +std = [ |
| 23 | + "bytes/std", |
| 24 | + "displaydoc/std", |
| 25 | + "num-traits/std", |
| 26 | + "prost/std", |
| 27 | + "serde/std", |
| 28 | + "serde_json/std", |
| 29 | + "subtle-encoding/std", |
| 30 | + "tendermint/clock", |
| 31 | + "tendermint/std", |
| 32 | + "ibc-types-core-client/std", |
| 33 | + "ibc-types-core-connection/std", |
| 34 | + "ibc-types-core-channel/std", |
| 35 | +] |
| 36 | + |
| 37 | +# This feature guards the unfinished implementation of the `UpgradeClient` handler. |
| 38 | +upgrade_client = [] |
| 39 | + |
| 40 | +# This feature grants access to development-time mocking libraries, such as `MockContext` or `MockHeader`. |
| 41 | +# Depends on the `testgen` suite for generating Tendermint light blocks. |
| 42 | +mocks = ["tendermint-testgen", "tendermint/clock", "cfg-if", "parking_lot"] |
| 43 | +mocks-no-std = ["cfg-if"] |
| 44 | + |
| 45 | +[dependencies] |
| 46 | +derive_more = { version = "0.99.17", default-features = false, features = ["from", "into", "display"] } |
| 47 | +ibc-types-core-client = { version = "0.2.0", path = "../ibc-types-core-client", default-features = false } |
| 48 | +ibc-types-core-connection = { version = "0.2.0", path = "../ibc-types-core-connection", default-features = false } |
| 49 | +ibc-types-core-channel = { version = "0.2.0", path = "../ibc-types-core-channel", default-features = false } |
| 50 | +borsh = {version = "0.10.0", default-features = false, optional = true } |
| 51 | +bytes = { version = "1.2.1", default-features = false } |
| 52 | +cfg-if = { version = "1.0.0", optional = true } |
| 53 | +displaydoc = { version = "0.2", default-features = false } |
| 54 | +num-traits = { version = "0.2.15", default-features = false } |
| 55 | +parity-scale-codec = { version = "3.0.0", default-features = false, features = ["full"], optional = true } |
| 56 | +parking_lot = { version = "0.12.1", default-features = false, optional = true } |
| 57 | +prost = { version = "0.11", default-features = false } |
| 58 | +scale-info = { version = "2.1.2", default-features = false, features = ["derive"], optional = true } |
| 59 | +serde = { version = "1.0", default-features = false, optional = true } |
| 60 | +serde_derive = { version = "1.0.104", default-features = false, optional = true } |
| 61 | +serde_json = { version = "1", default-features = false, optional = true } |
| 62 | +subtle-encoding = { version = "0.5", default-features = false } |
| 63 | +time = { version = ">=0.3.0, <0.3.20", default-features = false } |
| 64 | +tendermint = { version = "0.32.0", default-features = false } |
| 65 | +tendermint-proto = { version = "0.32.0", default-features = false } |
| 66 | +tendermint-testgen = { version = "0.32.0", default-features = false, optional = true } |
| 67 | + |
| 68 | +[dev-dependencies] |
| 69 | +cfg-if = { version = "1.0.0" } |
| 70 | +env_logger = "0.10.0" |
| 71 | +test-log = { version = "0.2.10", features = ["trace"] } |
| 72 | +tracing = { version = "0.1.36", default-features = false } |
| 73 | +tracing-subscriber = { version = "0.3.14", features = ["fmt", "env-filter", "json"]} |
0 commit comments