mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-31 04:33:05 -07:00
general: snapshot
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "storable_vec"
|
||||
description = "A very small, fast, efficient and simple storable Vec"
|
||||
version = "0.1.2"
|
||||
license = "MIT"
|
||||
version = "0.1.3"
|
||||
keywords = ["vec", "disk", "data"]
|
||||
categories = ["database"]
|
||||
edition = "2021"
|
||||
edition = { workspace = true }
|
||||
license = { workspace = true }
|
||||
|
||||
[features]
|
||||
json = ["dep:serde", "dep:serde_json"]
|
||||
|
||||
@@ -43,6 +43,7 @@ pub trait AnyJsonStorableVec: AnyStorableVec {
|
||||
fn collect_range_values(&self, from: Option<i64>, to: Option<i64>) -> Result<Vec<serde_json::Value>>;
|
||||
}
|
||||
|
||||
#[cfg(feature = "json")]
|
||||
impl<I, T, const MODE: u8> AnyJsonStorableVec for StorableVec<I, T, MODE>
|
||||
where
|
||||
I: StoredIndex,
|
||||
|
||||
Reference in New Issue
Block a user