wedb_embed 0.1.2

Embedded database engine providing Redis-like APIs, built on fjall / 嵌入式数据库引擎,提供类似 Redis 的接口,底层基于 fjall 开发
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::key_composer::KeyTag;
define_simple_key_meta!(
  SortedintMeta,
  SortedInt,
  KeyTag::SortedIntMeta.as_slice(),
  "有序整型集合结构元数据(对标 Apache Kvrocks SortedintMetadata 26字节 / 紧凑25字节)"
);

impl Default for SortedintMeta {
  #[inline]
  fn default() -> Self {
    Self::new_with_version(0, 0)
  }
}