teaql-tool-extra 0.1.1

Heavy-dependency extra utilities for the TeaQL Tool ecosystem.
Documentation
1
2
3
4
5
6
7
8
9
10
use teaql_tool_extra::cache::CacheTool;

#[test]
fn test_cache_operations() {
    let tool = CacheTool::new();
    
    tool.put("key1", "val1");
    assert_eq!(tool.get("key1").unwrap(), "val1");
    assert!(tool.get("key2").is_none());
}