This is a unofficial port of Leaf.
🏠 Homepage
mysql_async
optional
```rust use leaves::dao::mysql::MySqlLeafDao; use leaves::LeafSegment; use leaves::Result;
async main() -> Result<()> { let dao = Arc::new(MySqlLeafDao::new("mysql://...")?); let mut service = LeafSegment::new(dao); service.init().await?; let tag = 1; for _ in 0..1000 { println!("{}", service.get(tag).await?); } } ```
Not yet.But in my PC and local database,I used 10 tasks and each one loop 1000 times. It costs 700ms.