liveview-native / liveview-native/phoenix-channels-client
Phoenix.Channels: Failing to build
Open
@simlay is already working on this.
Since Apr 24, 2024.
- Dominant language
- Rust
- Stars
- 76
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
I am new to rust and want to play with this library to build a small cli client but I am running into issues building this crate.
cargo run -- "ws://localhost:4000/socket" secret earth
warning: unused manifest key: build
Compiling phoenix_channels_client v0.1.2
error[E0425]: cannot find function `consume_budget` in module `task`
--> /home/tru1ock/.cargo/registry/src/index.crates.io-6f17d22bba15001f/phoenix_channels_client-0.1.2/src/channel.rs:519:23
|
519 | task::consume_budget().await
| ^^^^^^^^^^^^^^ not found in `task`
rustc 1.71.0-nightly (9ecda8de8 2023-04-30
[package]
name = "client"
version = "0.1.0"
edition = "2021"
[dependencies]
phoenix_channels_client = { version = "0.1.2", features = ["nightly"] }
clap = { version = "4.2.5", features = ["derive"] }
[build]
rustflags = ["--cfg", "tokio_unstable"]
Any help would be much appreciated!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.