dorea 0.4.0

A key-value storage system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! 相关宏程序等待更新中 ...

/// use database_type to create a "DataValue"
///
/// - @Number -> 1
/// - @String -> "hello world".to_string()
/// - @Dict -> HashMap::new()
/// - @Boolean -> false
#[macro_export]
macro_rules! database_type {
    (
        @$key:ident : $value:expr
    ) => {
        DataValue::$key($value)
    };
}