| Crates.io | acts-package-state |
| lib.rs | acts-package-state |
| version | 0.17.2 |
| created_at | 2025-05-25 09:19:06.461708+00 |
| updated_at | 2025-06-07 13:40:49.114476+00 |
| description | acts package for state store |
| homepage | https://docs.rs/acts-package-state |
| repository | https://github.com/yaojianpin/acts.git |
| max_upload_size | |
| id | 1688199 |
| size | 73,007 |
The acts state package plugin for acts.
create config/acts.cfg in current dir
state {
uri: "redis://<your connection path>"
}
cargo add acts-package-state
use acts::EngineBuilder;
use acts_package_state::StatePackagePlugin;
#[tokio::main]
async fn main() {
let engine = EngineBuilder::new()
.add_plugin(&StatePackagePlugin)
.build()
.start();
}