Skip to content

docs(0.15): miden-client for_testnet needs features = ["tonic"] - #369

Open
agent-default wants to merge 1 commit into
0xMiden:mainfrom
agent-default:grok/tonic-for-testnet-0.15
Open

docs(0.15): miden-client for_testnet needs features = ["tonic"]#369
agent-default wants to merge 1 commit into
0xMiden:mainfrom
agent-default:grok/tonic-for-testnet-0.15

Conversation

@agent-default

Copy link
Copy Markdown

The v0.15 rust-client library page installs miden-client = { version = \"0.11\" } and then calls ClientBuilder::for_testnet(). On 0.15.5 those constructors are #[cfg(feature = \"tonic\")]; default features are std only.

This updates the getting-started Cargo.toml to 0.15.5 with features = [\"tonic\"] and notes the cfg gate.

Tracked in 0xMiden/rust-sdk#2464 (item 1). Tutorials already pass tonic; this page did not.

Reference: https://github.com/agent-default/miden-agent

The getting-started Cargo.toml still pinned miden-client 0.11 with no
features. for_testnet/for_devnet/for_localhost are cfg(feature = "tonic")
on 0.15.5, so a binary copied from this page does not compile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant