Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
c1310a6
proto: 🧶 add `tendermint-rpc` dependency
cratelyn May 22, 2024
8bbc455
proto: ⏰ add `chrono` dependency
cratelyn May 22, 2024
5805e38
proto: 🤯 add `thiserror` dependency
cratelyn May 22, 2024
b60798f
proto: ⏰ add `tendermint-proto` dependency
cratelyn May 23, 2024
34045a5
tendermint-proxy: 🧼 inherit workspace settings, tidy manifest
cratelyn May 22, 2024
bf68922
tendermint-proxy: 📕 add brief crate-level documentation
cratelyn May 22, 2024
36e6acb
tendermint-proxy: 🚰 add `tap` dependency
cratelyn May 22, 2024
3704858
tendermint-proxy: 🎈 hoist `TendermintProxy` to `lib.rs`
cratelyn May 22, 2024
b732e37
tendermint-proxy: 🔭 instrument `TendermintProxyService` methods
cratelyn May 22, 2024
0f74311
tendermint-proxy: 😬 fix comment typo
cratelyn May 22, 2024
86b9007
tendermint-proxy: ❔ decompose `TendermintProxyService::get_tx(..)` co…
cratelyn May 22, 2024
c211299
tendermint-proxy: ❔ decompose `TendermintProxyService::broadcast_tx_a…
cratelyn May 22, 2024
36f7c5a
tendermint-proxy: ❔ decompose `TendermintProxyService::broadcast_tx_s…
cratelyn May 22, 2024
c18ef1f
tendermint-proxy: ❔ decompose `TendermintProxyService::get_status(..)…
cratelyn May 22, 2024
81cc837
tendermint-proxy: ❔ decompose `TendermintProxyService::abci_query(..)…
cratelyn May 22, 2024
b0d7655
tendermint-proxy: ❔ decompose `TendermintProxyService::get_block_by_h…
cratelyn May 23, 2024
de9f6a9
tendermint-proxy: ❕ move conversions into submodule
cratelyn May 23, 2024
e0d0443
proto: 🚪 feature gate tendermint compatibility
cratelyn May 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions crates/proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ anyhow = "1"
rpc = ["dep:tonic", "ibc-proto/client"]
box-grpc = ["dep:http-body", "dep:tonic", "dep:tower"]
cnidarium = ["dep:cnidarium"]
tendermint = [
"dep:chrono",
"dep:tendermint-proto",
"dep:tendermint-rpc",
"dep:thiserror"
]

[dependencies]
anyhow = {workspace = true}
async-trait = {workspace = true}
bech32 = {workspace = true}
bytes = {workspace = true, features = ["serde"]}
chrono = {workspace = true, optional = true, default-features = false, features = ["serde"]}
cnidarium = {workspace = true, optional = true, default-features = true}
decaf377-fmd = {workspace = true}
decaf377-rdsa = {workspace = true}
Expand All @@ -32,6 +39,9 @@ serde = {workspace = true, features = ["derive"]}
serde_json = {workspace = true}
subtle-encoding = "0.5"
tendermint = {workspace = true}
tendermint-proto = {workspace = true, optional = true}
tendermint-rpc = {workspace = true, optional = true, features = ["http-client"]}
thiserror = {workspace = true, optional = true}
tonic = {workspace = true, optional = true}
tower = {workspace = true, features = ["full"], optional = true}
tracing = {workspace = true}
Expand Down
3 changes: 3 additions & 0 deletions crates/proto/src/protobuf.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
use crate::Name;
use std::convert::{From, TryFrom};

#[cfg(feature = "tendermint")]
mod tendermint_compat;

/// A marker type that captures the relationships between a domain type (`Self`) and a protobuf type (`Self::Proto`).
pub trait DomainType
where
Expand Down
Loading