forked from anusarati/strprox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (34 loc) · 909 Bytes
/
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
workspace = { members = ["src/tests/make_noise"] }
[package]
name = "strprox"
version = "0.3.3"
edition = "2021"
description = "Top-k string autocompletion"
repository = "https://github.com/anusarati/strprox/"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["autocomplete"]
exclude = ["npm/", "src/tests"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
yoke = { version = "0.7.3", features = ["derive"] }
fst = "0.4"
debug_print = "1.0.0"
serde = { version = "1.0", optional = true, features = ["derive"] }
wasm-bindgen = { version = "0.2", optional = true }
js-sys = { version = "0.3", optional = true }
ptrie = { path = "./ptrie" }
slab = "0.4.9"
polonius-the-crab = "0.4.1"
derive-new = "0.6.0"
[features]
serde = ["dep:serde"]
wasm = ["wasm-bindgen", "js-sys"]
[dev-dependencies]
rand = "0.8"
generic-tests = "0.1.2"
[profile.test]
opt-level = 3
[profile.release]
opt-level = 3