ewebsock
A Rust Websocket client that compiles to both native and web
File Explorer
- config.toml
- cargo_shear.yml
- labels.yml
- links.yml
- pages.yml
- rust.yml
- typos.yml
- pull_request_template.md
- extensions.json
- launch.json
- settings.json
- main.rs
- Cargo.toml
- README.md
- lib.rs
- native_tungstenite.rs
- native_tungstenite_tokio.rs
- tungstenite_common.rs
- web.rs
- Cargo.toml
- README.md
- favicon.ico
- icon-1024.png
- icon-256.png
- icon_ios_touch_192.png
- manifest.json
- maskable_icon_x512.png
- sw.js
- app.rs
- lib.rs
- main.rs
- .gitignore
- Cargo.toml
- index.html
- clippy.toml
- generate_changelog.py
- template_update.py
- .gitattributes
- .gitignore
- .typos.toml
- Cargo.lock
- Cargo.toml
- cargo_deny.sh
- CHANGELOG.md
- clippy.toml
- CODE_OF_CONDUCT.md
- deny.toml
- LICENSE-APACHE
- LICENSE-MIT
- lychee.toml
- README.md
- RELEASES.md
- rust-toolchain
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
cargo install
View Details ▼
cargo install
Build and install a Rust binary.
cargo install {{package}}@{{version}}
Install a package from <https://crates.io> (the version is optional - latest by default):
cargo install --git {{repo_url}}
Install a package from the specified Git repository:
cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}
Build from the specified branch/tag/commit when installing from a Git repository:
cargo run
View Details ▼
cargo run
Run the current Cargo package.
Note: The working directory of the executed binary will be set to the current working directory.
cargo {{[r|run]}}
Run the default binary target:
cargo {{[r|run]}} --bin {{name}}
Run the specified binary:
cargo {{[r|run]}} --example {{name}}
Run the specified example:
cargo
View Details ▼
cargo
Manage Rust projects and their module dependencies (crates).
Some subcommands such as `build` have their own usage documentation.
cargo search {{search_string}}
Search for crates:
cargo install {{crate_name}}
Install a binary crate:
cargo install --list
List installed binary crates:
