Skip to content

Commit

Permalink
add rocksdb, mockable database, tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snowmead committed Sep 23, 2024
1 parent 7109854 commit fdd7cd1
Show file tree
Hide file tree
Showing 10 changed files with 1,585 additions and 982 deletions.
257 changes: 180 additions & 77 deletions Cargo.lock

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,20 @@ tokio = { version = "1.32.0", features = ["full"] }
tracing = "0.1.37"
serde_json = "1.0.107"
serde = { version = "1.0.188", features = ["derive"] }
redis = { version = "0.25.0", features = [
"tokio-comp",
"tokio-rustls-comp",
"json",
] }
rocksdb = { version = "0.22.0", features = [
"multi-threaded-cf",
], optional = true }
chrono = "0.4.31"
thiserror = "1.0.49"
async-trait = "0.1.73"
num-traits = "0.2.17"
bounded-integer = { version = "0.5.7", features = ["types", "num-traits02"] }
aquamarine = "0.3.2"
tiktoken-rs = "0.5.8"

[dev-dependencies]
futures = "0.3"
uuid = { version = "1.0", features = ["v4"] }

[features]
rocksdb = ["dep:rocksdb"]
Loading

0 comments on commit fdd7cd1

Please sign in to comment.