Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitinpavel/rocket_redis_r2d2
Example app for Redis + r2d2 connection pool + Rocket.rs
https://github.com/mitinpavel/rocket_redis_r2d2
r2d2 redis rocket rust
Last synced: 8 days ago
JSON representation
Example app for Redis + r2d2 connection pool + Rocket.rs
- Host: GitHub
- URL: https://github.com/mitinpavel/rocket_redis_r2d2
- Owner: MitinPavel
- License: mit
- Created: 2017-10-28T11:36:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-22T06:06:48.000Z (almost 5 years ago)
- Last Synced: 2025-01-15T21:47:15.421Z (9 days ago)
- Topics: r2d2, redis, rocket, rust
- Language: Rust
- Size: 10.7 KB
- Stars: 20
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis + r2d2 connection pool + Rocket.rs
A simple example app for:
* [Rocket web framework](https://rocket.rs/)
* [Redis db](https://redis.io/)
* [r2d2 connection pool](https://github.com/sfackler/r2d2)## Tags
Rust, Rocket, Redis, r2d2
## Getting startedHaving Redis up and running on `localhost:6379`
```
git clone [email protected]:MitinPavel/rocket_redis_r2d2.git
cd rocket_redis_r2d2/
cargo run
```## Rust version
```
$ rustc --version
rustc 1.22.0-nightly (a47c9f870 2017-10-11)
```## Development environment
```
$ uname -a
Linux blah 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux```
## License
MIT