redis-rs
Redis server implementation in Rust
File Explorer
- ci.yml
- pages.yml
- dependabot.yml
- FUNDING.yml
- redis-rs.scss
- custom.scss
- setup.scss
- homepage.css
- homepage.js
- 2026-06-17-github-pages-homepage.md
- 2026-06-17-github-pages-homepage-design.md
- command-execution.md
- commands-streams-and-transactions.md
- overview.md
- persistence-and-replication.md
- rdb-parser.md
- replication-flow.md
- resp-protocol.md
- runtime-and-protocol.md
- server-runtime.md
- storage-model.md
- streams-and-transactions.md
- command-execution.md
- commands-streams-and-transactions.md
- overview.md
- persistence-and-replication.md
- rdb-parser.md
- replication-flow.md
- resp-protocol.md
- runtime-and-protocol.md
- server-runtime.md
- storage-model.md
- streams-and-transactions.md
- cmd.rs
- error.rs
- lib.rs
- main.rs
- options.rs
- protocol.rs
- rdb.rs
- replication_client.rs
- server.rs
- storage.rs
- .DS_Store
- .gitattributes
- .gitignore
- _config.yml
- Cargo.lock
- Cargo.toml
- dump.rdb
- Gemfile
- Gemfile.lock
- index.html
- index.md
- LICENSE
- README.md
- README_CN.md
- 简介.md
# 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:
redis-cli
View Details ▼
redis-cli
Open a connection to a Redis server.
redis-cli
Connect to the local server:
redis-cli -h {{host}}
Connect to a remote server on the default port (6379):
redis-cli -h {{host}} -p {{port}}
Connect to a remote server specifying a port number:
