-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
47 lines (38 loc) · 1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
description = """
A rust implementation of annoy(https://github.com/spotify/annoy) (Index serving only). C ABI is also provided.
"""
edition = "2021"
exclude = ["dotnet", "java", "ffi", "bench", "test_gen", ".idea", ".vscode", ".github", "*.yml", "*.iml", ".gitignore"]
license = "MIT"
name = "annoy-rs"
repository = "https://github.com/hanabi1224/RuAnnoy"
version = "0.1.1"
[workspace]
members = ["java", "ffi"]
[features]
default = []
[dependencies]
cfg-if = "1"
ordered-float = "4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = {version = "0.2", features = ["js"]}
js-sys = "0.3"
serde = {version = "1", features = ["derive"]}
serde-wasm-bindgen = "0.6"
wasm-bindgen = "0.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
memmap2 = "0.9"
[dev-dependencies]
lazy_static = "1"
rand = "0.8"
wasm-bindgen-test = "0.3"
[build-dependencies]
rustc_version = "0.4"
[lib]
crate-type = ["rlib", "cdylib"]
[profile.bench]
codegen-units = 1
lto = true
opt-level = 3
overflow-checks = false