This crate is intended for people who want to store user sessions locally in Redis.
```rust use cryo_sessions::{Redis, Uuid, Session};
let uuid = Uuid::new(); let redis = Redis::fromenv(); // this method takes the redis url from the REDISURL environment variable let session = Session::new(); redis.newsession(session.toowned(), SessionInfo::new(uuid.toowned(), "Mozilla(5.0)".into()), Duration::fromsecs(2400)).await.isok(); redis.newsession(Session::new(), SessionInfo::new(uuid.toowned(), "Apple Safari".into()), Duration::fromsecs(3400)).await.isok(); let info = redis.getinformationbysession(session).await.unwrap(); println!("{:?}", info); ```