Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
init db
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzilong2020 committed Feb 27, 2024
1 parent f15b369 commit 08ee3eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ rust-version = "1.75.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = { version = "0.5.0", features = ["json", "http2"] }
dotenv = "0.15.0"
iceberg = { src = "./libs/iceberg" }
dotenv = "0.15.0"
pickledb = "^0.5.0"
5 changes: 5 additions & 0 deletions src/db/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use pickledb::PickleDb;

struct db {
client: PickleDb,
}

0 comments on commit 08ee3eb

Please sign in to comment.