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

Commit

Permalink
feat: Import rocksdb-eval as mastiff-index (#14)
Browse files Browse the repository at this point in the history
[rocksdb-eval](https://github.com/luizirber/2022-06-26-rocksdb-eval) is
the mastiff PoC, and since
sourmash-bio/sourmash#2230 inherited the
sourmash parts (the Index implementation) it makes sense to move some
operational tools (like `index`, `update`,`check`, and `convert`) here
and archive the repo.
  • Loading branch information
luizirber authored Jan 20, 2024
1 parent b720205 commit 1029a2a
Show file tree
Hide file tree
Showing 9 changed files with 1,048 additions and 234 deletions.
429 changes: 242 additions & 187 deletions Cargo.lock

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
[workspace]
members = ["crates/server", "crates/client"]
members = ["crates/*"]
default-members = ["crates/server"]
resolver = "2"

[workspace.package]
version = "0.1.0"
name = "mastiff"

[workspace.dependencies]
camino = "1.1.6"
clap = { version = "3.2.8", features = [ "derive" ] }
color-eyre = "0.6.2"
csv = "1.1.6"
env_logger = "0.9.0"
histogram = "0.6.9"
log = "0.4.17"
needletail = "0.4.1"
niffler = { version = "2.4.0", default-features = false, features = [ "gz" ]}
numsep = "0.1.12"
reqwest = { version = "0.11.11", default-features = false, features = [ "blocking", "rustls-tls" ] }
sourmash = { git = "https://github.com/sourmash-bio/sourmash", tag = "mastiff_roaring" }
size = "0.4.0"
sourmash = { version = "0.12.0", features = ["branchwater"] }

serde_json = "1.0.83"
# axum deps
Expand Down
2 changes: 1 addition & 1 deletion crates/client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn main() -> Result<()> {
let mut sigs = Signature::load_signatures(
&mut reader,
Some(21),
Some(HashFunctions::murmur64_DNA),
Some(HashFunctions::Murmur64Dna),
Some(1000),
)?;

Expand Down
17 changes: 17 additions & 0 deletions crates/index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "mastiff-index"
version.workspace = true
edition = "2021"
license = "AGPL"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
camino.workspace = true
clap.workspace = true
env_logger.workspace = true
histogram.workspace = true
log.workspace = true
numsep.workspace = true
size.workspace = true
sourmash.workspace = true
Loading

0 comments on commit 1029a2a

Please sign in to comment.