coreset 0.1.0

Coreset and (streaming) clustering
Documentation
[package]
name = "coreset"
version = "0.1.0"
authors = ["jeanpierre.both@gmail.com"]
description = "Coreset and (streaming) clustering"
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["clustering", "coreset", "streaming", "information", "metric_spaces"]
repository = "https://github.com/jean-pierreBoth/coreset"
documentation = "https://docs.rs/coreset"
edition = "2024"


[lib]
# cargo rustc --lib -- --crate-type dylib [or staticlib] or rlib (default)
# if we want to avoid specifying in advance crate-type 
path = "src/lib.rs"



[workspace]
members = ["fromhnsw", "nmi", "mnist"]

# common depencies versions
[workspace.dependencies]

clap = { version = "4.4", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
bincode = { version = "1.3" }

# for //
parking_lot = "0.12"
rayon = { version = "1.10" }
dashmap = { version = "6.1" }
indexmap = { version = "2.9" }
num_cpus = { version = "1.16" }
cpu-time = { version = "1.0" }

# rand utils
rand = { version = "0.9" }
rand_distr = { version = "0.5" }
rand_xoshiro = { version = "0.7" }
quantiles = { version = "0.7" }

num-traits = { version = "0.2" }
lazy_static = { version = "1.5" }

anyhow = { version = "1.0" }
katexit = { version = "0.1" }
csv = { version = "1.3" }

ndarray = { version = "0.16" }

anndists = { version = "0.1" }
#anndists = { path = "../anndists" }
#anndists = { git = "https://github.com/jean-pierreBoth/anndists" }

# hnsw_rs = { path = "../hnswlib-rs" }
hnsw_rs = { version = "0.3" }
# hnsw_rs = { git = "https://github.com/jean-pierreBoth/hnswlib-rs" }


# decreasing order of log for debug build : (max_level_)trace debug info warn error off
# decreasing order of log for release build (release_max_level_)  .. idem
#log = { version = "0.4", features = ["max_level_debug", "release_max_level_info"] }
log = { version = "0.4" }
env_logger = { version = "0.11" }

# dependencies of main crate
# cargo doc --no-deps avoid dependencies doc generation
[dependencies]

clap = { workspace = true }
serde = { workspace = true }
bincode = { workspace = true }

# for //
parking_lot = { workspace = true }
rayon = { workspace = true }
dashmap = { workspace = true }
indexmap = { workspace = true }
num_cpus = { workspace = true }
cpu-time = { workspace = true }


# rand utilis
rand = { workspace = true }
rand_distr = { workspace = true }
rand_xoshiro = { workspace = true }
quantiles = { workspace = true }

num-traits = { workspace = true }
ndarray = { workspace = true }

lazy_static = { workspace = true }

# decreasing order of log for debug build : (max_level_)trace debug info warn error off
# decreasing order of log for release build (release_max_level_)  .. idem
#log = { version = "0.4", features = ["max_level_debug", "release_max_level_info"] }
log = { workspace = true }
env_logger = { workspace = true }


anyhow = { workspace = true }
katexit = { workspace = true }


anndists = { workspace = true }


[dev-dependencies]



[features]

default = []

# feature for std simd on nightly
stdsimd = ["anndists/stdsimd"]
# feature for simd on stable for x86*
simdeez_f = ["anndists/simdeez_f"]