Skip to content

Commit

Permalink
Use well-known types from tendermint-proto
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Sep 4, 2024
1 parent c6be212 commit d9b612e
Show file tree
Hide file tree
Showing 30 changed files with 103 additions and 11,073 deletions.
12 changes: 2 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ flex-error = { version = "0.4", default-features = false }
ics23 = { version = "0.12.0", default-features = false }
informalsystems-pbjson = { version = "0.7.0", optional = true, default-features = false }

## Optional: enabled by the `parity-scale-codec` feature
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["full"], optional = true }
scale-info = { version = "2.1.2", default-features = false, features = ["derive"], optional = true }

## Optional: enabled by the `borsh` feature
## For borsh encode or decode, needs to track `anchor-lang` and `near-sdk-rs` borsh version
borsh = { version = "1", default-features = false, features = ["derive"], optional = true }

[dependencies.tendermint-proto]
version = "0.39"
default-features = false
Expand All @@ -61,6 +53,6 @@ serde = ["dep:serde", "ics23/serde", "informalsystems-pbjson"]
client = ["std", "dep:tonic", "tonic/codegen", "tonic/transport", "tonic/prost"]
json-schema = ["std", "serde", "dep:schemars"]
server = ["std", "dep:tonic", "tonic/codegen", "tonic/transport", "tonic/prost"]
parity-scale-codec = ["dep:parity-scale-codec", "dep:scale-info"]
borsh = ["dep:borsh"]
parity-scale-codec = ["tendermint-proto/parity-scale-codec"]
borsh = ["tendermint-proto/borsh"]
proto-descriptor = []
322 changes: 0 additions & 322 deletions src/google.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#![allow(rustdoc::bare_urls)]
#![forbid(unsafe_code)]

pub mod google;

pub use tendermint_proto::Error;
pub use tendermint_proto::Protobuf;

Expand Down
Loading

0 comments on commit d9b612e

Please sign in to comment.