redisson 0.1.0

A Redis-based distributed synchronization and data structures library for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
# Redisson

<p align="center">
  <img src="https://img.icons8.com/color/96/000000/redis.png" alt="Redis Logo" width="96" height="96">
</p>

<p align="center">
  <strong>A Redis-based distributed synchronization and data structures library for Rust</strong>
</p>

<p align="center">
  <a href="https://crates.io/crates/redisson">
    <img src="https://img.shields.io/crates/v/redisson.svg" alt="Crates.io">
  </a>
  <a href="https://docs.rs/redisson">
    <img src="https://docs.rs/redisson/badge.svg" alt="Documentation">
  </a>
  <a href="https://github.com/wslongchen/redisson/blob/main/LICENSE">
    <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License MIT">
  </a>
  <a href="https://github.com/wslongchen/redisson">
    <img src="https://img.shields.io/badge/rustc-1.60%2B-lightgrey" alt="Minimum Rust">
  </a>
  <a href="https://github.com/wslongchen/redisson/stargazers">
    <img src="https://img.shields.io/github/stars/wslongchen/redisson" alt="GitHub stars">
  </a>
</p>

## ๐ŸŽฏ Features

- **๐Ÿ”’ Distributed Locks**: Reentrant locks, fair locks, read-write locks, and RedLock algorithm with automatic renewal
- **๐Ÿ“Š Rich Data Structures**: Distributed maps, lists, sets, sorted sets, buckets, and streams
- **โšก Dual Runtime**: Full support for both synchronous and asynchronous operations
- **๐Ÿ”„ Synchronization Primitives**: Semaphores, rate limiters, countdown latches, and atomic counters
- **๐Ÿ“ˆ High Performance**: Connection pooling, command pipelining, and batch operations
- **๐Ÿ’พ Local Cache Integration**: Read-through/write-through caching with local cache
- **๐Ÿ”ง Comprehensive Configuration**: Flexible configuration for various Redis deployment modes
- **๐ŸŽฏ Type Safety**: Full Rust type system support with compile-time checking
- **๐Ÿ›ก๏ธ Production Ready**: Automatic reconnection, timeout handling, and comprehensive error management
- **๐Ÿ“ก Advanced Features**: Redis Stream support, delayed queues, and publish/subscribe messaging

## ๐Ÿ“ฆ Installation

Add this to your `Cargo.toml`:

### Basic Installation
```toml
[dependencies]
redisson = "0.1"
```

### With Async Support (requires Tokio)
```toml
[dependencies]
redisson = { version = "0.1", features = ["async"] }
tokio = { version = "1", features = ["full"] }
```

### With Additional Features
```toml
[dependencies]
redisson = { version = "0.1", features = ["async", "caching"] }
```

## ๐Ÿš€ Quick Start

### 1. Basic Synchronous Usage

```rust
use redisson::{RedissonClient, RedissonConfig};
use std::time::Duration;

fn main() -> redisson::RedissonResult<()> {
    // Create configuration
    let config = RedissonConfig::single_server("redis://127.0.0.1:6379")
        .with_pool_size(10)
        .with_connection_timeout(Duration::from_secs(5));

    // Create client
    let client = RedissonClient::new(config)?;

    // Use distributed lock
    let lock = client.get_lock("my-resource");
    lock.lock()?;
    println!("Critical section accessed");
    lock.unlock()?;

    // Use distributed data structures
    let bucket = client.get_bucket::<String>("my-bucket");
    bucket.set(&"Hello World".to_string())?;
    let value: Option<String> = bucket.get()?;
    println!("Bucket value: {:?}", value);

    // Use distributed map
    let map = client.get_map::<String, i32>("my-map");
    map.put(&"key1".to_string(), &42)?;

    client.shutdown()?;
    Ok(())
}
```

### 2. Asynchronous Usage

```rust
use redisson::{AsyncRedissonClient, RedissonConfig};
use std::time::Duration;

#[tokio::main]
async fn main() -> redisson::RedissonResult<()> {
    // Create async configuration
    let config = RedissonConfig::single_server("redis://127.0.0.1:6379")
        .with_pool_size(10);

    // Create async client
    let client = AsyncRedissonClient::new(config).await?;

    // Use async distributed lock
    let lock = client.get_lock("async-resource");
    lock.lock().await?;
    println!("Async critical section accessed");
    lock.unlock().await?;

    // Use async data operations
    let bucket = client.get_bucket::<String>("async-data");
    bucket.set(&"Async Value".to_string()).await?;
    let value = bucket.get().await?;
    println!("Async value: {:?}", value);

    client.shutdown().await?;
    Ok(())
}
```

### 3. Distributed Lock with Watchdog

```rust
use std::time::Duration;

fn lock_example(client: &RedissonClient) -> redisson::RedissonResult<()> {
    // Get a reentrant lock with automatic renewal
    let lock = client.get_lock("database-update");
    
    // Try to acquire lock with timeout
    if lock.try_lock_with_timeout(Duration::from_secs(5))? {
        // Lock acquired - watchdog will automatically renew the lock
        println!("Lock acquired, performing critical operations...");
        
        // Simulate long-running operation
        std::thread::sleep(Duration::from_secs(30));
        
        lock.unlock()?;
        println!("Lock released");
    } else {
        println!("Failed to acquire lock within timeout");
    }
    
    Ok(())
}
```

### 4. Redis Stream Support

```rust
use std::collections::HashMap;

fn stream_example(client: &RedissonClient) -> redisson::RedissonResult<()> {
    let stream = client.get_stream::<String>("orders:stream");
    
    // Create consumer group
    stream.create_group("order-processors", "0")?;
    
    // Add messages to stream
    let mut fields = HashMap::new();
    fields.insert("order".to_string(), "Order #1234".to_string());
    let message_id = stream.add_auto_id(&fields)?;
    println!("Message added with ID: {}", message_id);
    
    // Read messages from consumer group
    let messages = stream.read_group("order-processors", "consumer-1", Some(10), None, false)?;
    for message in messages {
        println!("Received message: {:?}", message);
    }
    
    Ok(())
}
```

### 5. Local Cache Integration

```rust
use serde::{Serialize, Deserialize};

#[derive(Debug, Serialize, Deserialize, Clone)]
struct UserSession {
    user_id: String,
    session_token: String,
    last_activity: u64,
}

fn cache_example(client: &RedissonClient) -> redisson::RedissonResult<()> {
    // Create cache with local caching
    let user_cache = client.get_cache::<String, UserSession>("user_sessions");
    
    // Set data (will be cached locally)
    let session = UserSession {
        user_id: "user123".to_string(),
        session_token: "abc123def456".to_string(),
        last_activity: 1234567890,
    };
    
    user_cache.set("user123".to_string(), session.clone())?;
    
    // First read (may go to Redis)
    let cached = user_cache.get(&"user123".to_string())?;
    println!("First read: {:?}", cached);
    
    // Second read (from local cache - faster)
    let cached_again = user_cache.get(&"user123".to_string())?;
    println!("Second read: {:?}", cached_again);
    
    // Get cache statistics
    let cache_stats = user_cache.get_local_cache().get_stats();
    println!("Cache hits: {}", cache_stats.total_hits);
    
    Ok(())
}
```

## ๐Ÿ“Š Complete Example: Order Processing System

```rust
use redisson::{RedissonClient, RedissonConfig};
use std::time::Duration;
use std::collections::HashMap;
use serde::{Serialize, Deserialize};

#[derive(Debug, Serialize, Deserialize, Clone)]
struct Order {
    id: String,
    customer_id: String,
    amount: f64,
    status: OrderStatus,
}

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
enum OrderStatus {
    Pending,
    Processing,
    Completed,
    Failed,
}

fn main() -> redisson::RedissonResult<()> {
    let config = RedissonConfig::single_server("redis://127.0.0.1:6379")
        .with_pool_size(20)
        .with_connection_timeout(Duration::from_secs(5));

    let client = RedissonClient::new(config)?;

    // 1. Use distributed lock for order processing
    process_order_with_lock(&client)?;
    
    // 2. Use Redis Stream for order events
    publish_order_events(&client)?;
    
    // 3. Use cache for order data
    cache_order_data(&client)?;
    
    // 4. Use rate limiter for API calls
    rate_limit_api_calls(&client)?;
    
    client.shutdown()?;
    Ok(())
}

fn process_order_with_lock(client: &RedissonClient) -> RedissonResult<()> {
    let lock = client.get_lock("order:process:123");
    
    if lock.try_lock_with_timeout(Duration::from_secs(10))? {
        println!("Processing order 123...");
        // Simulate order processing
        std::thread::sleep(Duration::from_secs(2));
        lock.unlock()?;
        println!("Order processing completed");
    }
    
    Ok(())
}

fn publish_order_events(client: &RedissonClient) -> RedissonResult<()> {
    let order_stream = client.get_stream::<Order>("orders:events");
    
    let order = Order {
        id: "ORD-001".to_string(),
        customer_id: "CUST-001".to_string(),
        amount: 299.99,
        status: OrderStatus::Processing,
    };
    
    let mut fields = HashMap::new();
    fields.insert("order".to_string(), order);
    
    let message_id = order_stream.add_auto_id(&fields)?;
    println!("Order event published with ID: {}", message_id);
    
    Ok(())
}

fn cache_order_data(client: &RedissonClient) -> RedissonResult<()> {
    let order_cache = client.get_cache::<String, Order>("orders:cache");
    
    let order = Order {
        id: "ORD-001".to_string(),
        customer_id: "CUST-001".to_string(),
        amount: 299.99,
        status: OrderStatus::Pending,
    };
    
    order_cache.set("ORD-001".to_string(), order)?;
    
    // Subsequent reads will be faster with local cache
    let cached_order = order_cache.get(&"ORD-001".to_string())?;
    println!("Cached order: {:?}", cached_order);
    
    Ok(())
}

fn rate_limit_api_calls(client: &RedissonClient) -> RedissonResult<()> {
    let rate_limiter = client.get_rate_limiter("api:orders", 10.0, 20.0); // 10 req/s, burst 20
    
    for i in 1..=15 {
        if rate_limiter.try_acquire(1.0)? {
            println!("API call {}: Allowed", i);
        } else {
            println!("API call {}: Rate limited", i);
        }
        std::thread::sleep(Duration::from_millis(50));
    }
    
    Ok(())
}
```

## ๐Ÿ”ง Configuration

### Basic Configuration
```rust
use redisson::RedissonConfig;
use std::time::Duration;

let config = RedissonConfig::single_server("redis://127.0.0.1:6379")
    .with_pool_size(20)                    // Connection pool size
    .with_connection_timeout(Duration::from_secs(5))
    .with_response_timeout(Duration::from_secs(3))
    .with_lock_expire_time(Duration::from_secs(30))
    .with_watchdog_timeout(Duration::from_secs(10))
    .with_retry_count(3)
    .with_drift_factor(0.01)               // Clock drift factor for RedLock
    .with_backup_pool_count(2);
```

### Redis Cluster Mode
```rust
let config = RedissonConfig::cluster(vec![
    "redis://127.0.0.1:7000",
    "redis://127.0.0.1:7001",
    "redis://127.0.0.1:7002",
])
.with_cluster_scan_interval(Duration::from_secs(5))
.with_pool_size(10);
```

### Redis Sentinel Mode
```rust
let config = RedissonConfig::sentinel(vec![
    "redis://127.0.0.1:26379",
    "redis://127.0.0.1:26380",
    "redis://127.0.0.1:26381",
], "mymaster")
.with_sentinel_password("password")
.with_database(0);
```

## ๐Ÿ“Š Supported Data Structures

| Data Structure | Sync Support | Async Support | Description |
|----------------|--------------|---------------|-------------|
| **RBucket** | โœ… | โœ… | Simple key-value storage |
| **RMap** | โœ… | โœ… | Distributed hash map |
| **RList** | โœ… | โœ… | Distributed list |
| **RSet** | โœ… | โœ… | Distributed set |
| **RSortedSet** | โœ… | โœ… | Distributed sorted set |
| **RStream** | โœ… | โœ… | Redis Stream with consumer groups |
| **RLock** | โœ… | โœ… | Reentrant distributed lock |
| **RFairLock** | โœ… | โœ… | Fair distributed lock |
| **RReadWriteLock** | โœ… | โœ… | Read-write distributed lock |
| **RRedLock** | โœ… | โœ… | RedLock algorithm implementation |
| **RSemaphore** | โœ… | โœ… | Distributed semaphore |
| **RRateLimiter** | โœ… | โœ… | Distributed rate limiter |
| **RCountDownLatch** | โœ… | โœ… | Distributed countdown latch |
| **RAtomicLong** | โœ… | โœ… | Distributed atomic long |
| **RTopic** | โœ… | โœ… | Publish/subscribe messaging |
| **RDelayedQueue** | โœ… | โœ… | Delayed task queue |
| **RCache** | โœ… | โœ… | Local cache with Redis backend |
| **RBatch** | โœ… | โœ… | Batch operation support |

## ๐Ÿ› ๏ธ Advanced Features

### Batch Operations
```rust
fn batch_operations(client: &RedissonClient) -> RedissonResult<()> {
    let mut batch = client.create_batch();
    
    // Add multiple operations
    for i in 1..=100 {
        batch = batch.set(&format!("key:{}", i), &format!("value:{}", i));
    }
    
    // Execute all operations in a single network call
    let results = batch.execute()?;
    println!("Batch executed with {} results", results.len());
    
    Ok(())
}
```

### Transaction Support
```rust
fn transaction_example(client: &RedissonClient) -> RedissonResult<()> {
    // Execute operations in a transaction
    let result = client.execute_transaction(|tx| {
        let balance: i64 = tx.query("account:balance")?;
        
        if balance >= 100 {
            tx.set("account:balance", &(balance - 100))?
                .set("transaction:log", &"Withdrawn 100".to_string())?;
            Ok(())
        } else {
            Err(redisson::RedissonError::InvalidOperation(
                "Insufficient balance".to_string()
            ))
        }
    });
    
    match result {
        Ok(_) => println!("Transaction successful"),
        Err(e) => println!("Transaction failed: {}", e),
    }
    
    Ok(())
}
```

### Watchdog Mechanism
The watchdog automatically renews locks to prevent premature expiration during long-running operations:

```rust
fn watchdog_example(client: &RedissonClient) -> RedissonResult<()> {
    let lock = client.get_lock("long-running-task");
    
    // Lock with automatic renewal
    lock.lock()?;
    
    // Long-running operation - watchdog will renew the lock
    for i in 1..=60 {
        println!("Processing step {}...", i);
        std::thread::sleep(Duration::from_secs(1));
        
        // Lock will be automatically renewed every 10 seconds
        // (configurable via RedissonConfig)
    }
    
    lock.unlock()?;
    Ok(())
}
```

## ๐Ÿ“ˆ Performance Optimization

### 1. Connection Pooling
```rust
let config = RedissonConfig::single_server("redis://127.0.0.1:6379")
    .with_pool_size(50)                    // Adjust based on workload
    .with_idle_timeout(Duration::from_secs(60));
```

### 2. Batch Operations for Bulk Data
```rust
// Instead of individual calls
for item in items {
    map.put(&item.key, &item.value)?;
}

// Use batch operations
let mut batch = client.create_batch();
for item in items {
    batch = batch.set(&item.key, &item.value);
}
batch.execute()?;
```

### 3. Local Cache for Read-Heavy Workloads
```rust
let cache = client.get_cache::<String, Data>("read-heavy-data")
    .with_local_cache_size(1000)           // Cache 1000 items locally
    .with_local_cache_ttl(Duration::from_secs(30));
```

### 4. Pipeline Configuration
```rust
let config = RedissonConfig::single_server("redis://127.0.0.1:6379")
    .with_batch_config(BatchConfig::default()
        .with_max_batch_size(50)           // Optimal batch size
        .with_pipeline(true)               // Enable pipelining
        .with_max_wait_time(Duration::from_millis(10)));
```

## ๐Ÿ” Monitoring and Statistics

```rust
fn monitor_performance(client: &RedissonClient) -> RedissonResult<()> {
    let stats = client.get_stats();
    
    println!("Connection Pool Statistics:");
    println!("  Total connections: {}", stats.connection_stats.total_connections_created);
    println!("  Connection reuse rate: {:.1}%", stats.connection_stats.connection_reuse_rate());
    println!("  Peak connections: {}", stats.connection_stats.peak_connections);
    
    println!("\nCache Statistics:");
    println!("  Cache hit rate: {:.1}%", stats.cache_stats.avg_hit_rate * 100.0);
    println!("  Total hits: {}", stats.cache_stats.total_hits);
    println!("  Total misses: {}", stats.cache_stats.total_misses);
    
    println!("\nBatch Statistics:");
    println!("  Total batches: {}", stats.batch_stats.total_batches);
    println!("  Average batch size: {:.1}", stats.batch_stats.avg_batch_size);
    
    Ok(())
}
```

## ๐Ÿงช Testing

### Unit Tests
```rust
#[cfg(test)]
mod tests {
    use super::*;
    use redisson::{RedissonClient, RedissonConfig};
    
    #[test]
    fn test_distributed_lock() -> RedissonResult<()> {
        let config = RedissonConfig::single_server("redis://127.0.0.1:6379");
        let client = RedissonClient::new(config)?;
        
        let lock = client.get_lock("test:lock");
        assert!(lock.try_lock()?);
        assert!(lock.is_locked()?);
        lock.unlock()?;
        assert!(!lock.is_locked()?);
        
        client.shutdown()?;
        Ok(())
    }
    
    #[test]
    fn test_cache_operations() -> RedissonResult<()> {
        let config = RedissonConfig::single_server("redis://127.0.0.1:6379");
        let client = RedissonClient::new(config)?;
        
        let cache = client.get_cache::<String, String>("test:cache");
        cache.set("key".to_string(), "value".to_string())?;
        
        let value = cache.get(&"key".to_string())?;
        assert_eq!(value, Some("value".to_string()));
        
        cache.clear()?;
        let cleared = cache.get(&"key".to_string())?;
        assert_eq!(cleared, None);
        
        client.shutdown()?;
        Ok(())
    }
}
```

### Benchmark Tests
```bash
# Run benchmarks
cargo bench

# Run specific benchmark
cargo bench --bench lock_benchmark
cargo bench --bench cache_benchmark
cargo bench --bench batch_benchmark
```

## ๐Ÿš€ Deployment

### Docker Deployment
```dockerfile
FROM rust:1.60 as builder
WORKDIR /usr/src/redisson
COPY . .
RUN cargo build --release

FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y libssl-dev ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/src/redisson/target/release/redisson-example /usr/local/bin/
CMD ["redisson-example"]
```

### Kubernetes Configuration
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: redisson-app
spec:
  replicas: 3
  selector:
    matchLabels:
      app: redisson
  template:
    metadata:
      labels:
        app: redisson
    spec:
      containers:
      - name: redisson
        image: your-registry/redisson-app:latest
        env:
        - name: REDIS_URL
          value: "redis://redis-master:6379"
        - name: REDIS_POOL_SIZE
          value: "20"
        resources:
          requests:
            memory: "64Mi"
            cpu: "100m"
          limits:
            memory: "128Mi"
            cpu: "200m"
```

## ๐Ÿ”’ Security Best Practices

### 1. Secure Configuration
```rust
let config = RedissonConfig::single_server("redis://:password@secure-redis.example.com:6379")
    .with_connection_timeout(Duration::from_secs(10))
    .with_retry_count(3);
```

### 2. Connection Pool Security
```rust
let config = RedissonConfig::single_server("redis://127.0.0.1:6379")
    .with_pool_size(10)                    // Limit connection pool size
    .with_max_lifetime(Duration::from_secs(3600))  // Rotate connections periodically
    .with_idle_timeout(Duration::from_secs(300));   // Close idle connections
```

### 3. Redis ACL Support
```rust
let config = RedissonConfig::single_server("redis://username:password@127.0.0.1:6379")
    .with_database(0);                      // Use specific database
```

## ๐Ÿค Contributing

We welcome contributions! Here's how you can help:

1. **Report Bugs**: Create an issue with detailed information
2. **Suggest Features**: Start a discussion about new features
3. **Submit PRs**: Follow our contributing guidelines
4. **Improve Documentation**: Help us make the docs better
5. **Add Examples**: Create useful examples for common use cases

### Development Setup
```bash
# Clone the repository
git clone https://github.com/wslongchen/redisson.git
cd redisson

# Run tests
cargo test

# Run tests with all features
cargo test --all-features

# Run benchmarks
cargo bench

# Build documentation
cargo doc --open

# Run examples
cargo run --example basic
cargo run --example async_example --features async
```

### Code Style
- Follow Rust conventions and clippy suggestions
- Use meaningful commit messages
- Add tests for new features
- Update documentation when adding features
- Keep API consistent and backward-compatible


## ๐Ÿ“„ License
Licensed under either of:

+ Apache License, Version 2.0 (LICENSE-APACHE)

+ MIT license (LICENSE-MIT)

at your option.

## ๐Ÿ™ Acknowledgments

+ Thanks to all contributors who have helped shape Akita

+ Inspired by great ORMs like Diesel, SQLx, and MyBatis

+ Built with โค๏ธ by the Cat&Dog Lab team

## ๐Ÿ“ž Contact

+ Author: Mr.Pan

+ Email: 1049058427@qq.com

+ GitHub: @wslongchen

+ Project: Akita on GitHub

<p align="center">
  Made with โค๏ธ by the <a href="https://github.com/wslongchen">Mr.Pan</a> and the Cat&Dog Lab Team </p>
</p>