Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
41 changes: 37 additions & 4 deletions Cargo.lock

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

16 changes: 10 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@ tokio = { version = "1", features = ["rt-multi-thread", "time"], optional = true
tower = { version = "0.5", optional = true }
tower-http = { version = "0.6", features = ["fs"], optional = true }

# gRPC-Web client (browser-side)
# gRPC-Web client (browser-side). Proto types come from the standalone
# `sentrix-proto` crate that the chain repo publishes — single source of
# truth for the schema.
# `default-features = false` drops the `transport` feature so the WASM
# build target compiles (transport pulls tokio-net / mio which don't
# support wasm32). The browser uses `tonic-web-wasm-client`; the SSR
# binary uses tonic's Channel-equivalent built on top of axum's HTTP.
sentrix-proto = { version = "0.1", default-features = false }
tonic = { version = "0.14", default-features = false, features = ["codegen"] }
tonic-prost = "0.14"
tonic-web-wasm-client = "0.9"
prost = "0.14"

# Async glue
futures = "0.3"
Expand Down Expand Up @@ -59,9 +64,8 @@ web-sys = { version = "0.3", features = [
"Clipboard",
] }

[build-dependencies]
tonic-prost-build = { version = "0.14", default-features = false }
prost-build = "0.14"
# Build-deps removed — proto codegen lives in the published
# `sentrix-proto` crate, no longer regenerated here.

[features]
hydrate = ["leptos/hydrate"]
Expand Down
39 changes: 0 additions & 39 deletions build.rs

This file was deleted.

Loading
Loading