mirror of
https://github.com/YGGverse/mb.git
synced 2026-03-31 09:05:28 +00:00
upgrade redb to v3.0
This commit is contained in:
parent
69bc326284
commit
e4d0b085c1
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ anyhow = "1.0"
|
|||
chrono = { version = "0.4.41", features = ["serde"] }
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
plurify = "0.2"
|
||||
redb = "2.6"
|
||||
redb = "3.0"
|
||||
rocket = "0.5"
|
||||
rocket_dyn_templates = { version = "0.2", features = ["tera"] }
|
||||
url = { version = "2.5", features = ["serde"] }
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use anyhow::Result;
|
||||
use chrono::{DateTime, Utc};
|
||||
use redb::{Database, ReadableTable, TableDefinition};
|
||||
use redb::{Database, ReadableDatabase, ReadableTable, TableDefinition};
|
||||
|
||||
const POST: TableDefinition<i64, String> = TableDefinition::new("post");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue