Create workspace at the top level
This commit is contained in:
parent
b787d09b9d
commit
1f6f7b6c75
32
Cargo.toml
32
Cargo.toml
|
@ -1,33 +1,5 @@
|
||||||
[package]
|
[workspace]
|
||||||
name = "instant-distance"
|
members = ["instant-distance"]
|
||||||
version = "0.2.0"
|
|
||||||
license = "MIT OR Apache-2.0"
|
|
||||||
authors = ["Dirkjan Ochtman <dirkjan@ochtman.nl>"]
|
|
||||||
edition = "2018"
|
|
||||||
description = "Fast minimal implementation of HNSW maps for approximate nearest neighbors searches"
|
|
||||||
homepage = "https://github.com/InstantDomainSearch/instant-distance"
|
|
||||||
repository = "https://github.com/InstantDomainSearch/instant-distance"
|
|
||||||
documentation = "https://docs.rs/instant-distance"
|
|
||||||
|
|
||||||
[features]
|
|
||||||
with-serde = ["serde", "serde-big-array"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
indicatif = { version = "0.15", optional = true }
|
|
||||||
num_cpus = "1.13"
|
|
||||||
ordered-float = "2.0"
|
|
||||||
parking_lot = "0.11"
|
|
||||||
rand = { version = "0.8", features = ["small_rng"] }
|
|
||||||
rayon = "1.5"
|
|
||||||
serde = { version = "1.0.118", features = ["derive"], optional = true }
|
|
||||||
serde-big-array = { version = "0.3.1", optional = true }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
bencher = "0.1.5"
|
|
||||||
|
|
||||||
[[bench]]
|
|
||||||
name = "all"
|
|
||||||
harness = false
|
|
||||||
|
|
||||||
[profile.bench]
|
[profile.bench]
|
||||||
debug = true
|
debug = true
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
[package]
|
||||||
|
name = "instant-distance"
|
||||||
|
version = "0.2.0"
|
||||||
|
license = "MIT OR Apache-2.0"
|
||||||
|
authors = ["Dirkjan Ochtman <dirkjan@ochtman.nl>"]
|
||||||
|
edition = "2018"
|
||||||
|
description = "Fast minimal implementation of HNSW maps for approximate nearest neighbors searches"
|
||||||
|
homepage = "https://github.com/InstantDomainSearch/instant-distance"
|
||||||
|
repository = "https://github.com/InstantDomainSearch/instant-distance"
|
||||||
|
documentation = "https://docs.rs/instant-distance"
|
||||||
|
workspace = ".."
|
||||||
|
readme = "../README.md"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
with-serde = ["serde", "serde-big-array"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
indicatif = { version = "0.15", optional = true }
|
||||||
|
num_cpus = "1.13"
|
||||||
|
ordered-float = "2.0"
|
||||||
|
parking_lot = "0.11"
|
||||||
|
rand = { version = "0.8", features = ["small_rng"] }
|
||||||
|
rayon = "1.5"
|
||||||
|
serde = { version = "1.0.118", features = ["derive"], optional = true }
|
||||||
|
serde-big-array = { version = "0.3.1", optional = true }
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
bencher = "0.1.5"
|
||||||
|
|
||||||
|
[[bench]]
|
||||||
|
name = "all"
|
||||||
|
harness = false
|
Loading…
Reference in New Issue