Skip to content

Commit

Permalink
refactor: reduce dependencies and update ring sub dependency (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer authored Apr 10, 2024
1 parent 8d9fd15 commit acfe3c6
Show file tree
Hide file tree
Showing 20 changed files with 45 additions and 1,867 deletions.
106 changes: 10 additions & 96 deletions Cargo.lock

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

12 changes: 5 additions & 7 deletions packages/dapi-grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ core = []
platform = []
# Re-export Dash Platform protobuf types as `dapi_grpc::platform::proto`
tenderdash-proto = []
client = ["tonic/channel", "tonic/tls", "tonic/tls-roots", "platform"]
server = ["tonic/channel", "tonic/tls", "tonic/tls-roots", "platform"]
client = ["tonic/channel", "tonic/transport", "platform"]
server = ["tonic/channel", "tonic/transport", "platform"]
serde = ["dep:serde", "dep:serde_bytes"]
mocks = ["dep:serde_json"]

Expand All @@ -34,12 +34,10 @@ tonic = { version = "0.11", features = [
"codegen",
"prost",
], default-features = false }
serde = { version = "1.0.171", optional = true, features = ["derive"] }
serde = { version = "1.0.197", optional = true, features = ["derive"] }
serde_bytes = { version = "0.11.12", optional = true }
serde_json = { version = "1.0", optional = true }
tenderdash-proto = { git = "https://github.com/dashpay/rs-tenderdash-abci", version = "0.14.0-dev.11", features = [
"grpc",
] }
tenderdash-proto = { git = "https://github.com/dashpay/rs-tenderdash-abci", version = "0.14.0-dev.12", default-features = false }
dapi-grpc-macros = { path = "../rs-dapi-grpc-macros" }
platform-version = { path = "../rs-platform-version" }

Expand All @@ -58,4 +56,4 @@ name = "platform_example"
path = "clients/platform/v0/rust/platform_example.rs"

[package.metadata.cargo-machete]
ignored = ["platform-version", "serde_bytes"]
ignored = ["platform-version", "serde_bytes", "futures-core"]
Loading

0 comments on commit acfe3c6

Please sign in to comment.