forked from valeriansaliou/sonic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
71 lines (62 loc) · 1.65 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "sonic-server"
version = "1.2.3"
description = "Fast, lightweight and schema-less search backend."
readme = "README.md"
license = "MPL-2.0"
edition = "2018"
homepage = "https://github.com/valeriansaliou/sonic"
repository = "https://github.com/valeriansaliou/sonic.git"
keywords = ["search", "query", "server", "index"]
categories = ["database-implementations", "web-programming"]
authors = ["Valerian Saliou <[email protected]>", "Baptiste Jamin <[email protected]>"]
[badges]
travis-ci = { repository = "valeriansaliou/sonic", branch = "master" }
coveralls = { repository = "valeriansaliou/sonic", branch = "master", service = "github" }
[[bin]]
name = "sonic"
path = "src/main.rs"
doc = false
[dependencies]
log = "0.4"
toml = "0.5"
clap = { version = "2.33", default-features = false }
lazy_static = "1.4"
serde = "1.0"
serde_derive = "1.0"
rand = "0.7"
unicode-segmentation = "1.6"
radix = "0.6"
rocksdb = { version = "0.14", features = ["zstd"] }
fst = "0.3"
fst-levenshtein = "0.2"
fst-regex = "0.2"
regex-syntax = "0.6"
twox-hash = "1.5"
byteorder = "1.3"
hashbrown = "0.7"
linked_hash_set = "0.1"
whatlang = "0.8"
regex = "1.3"
[target.'cfg(unix)'.dependencies]
nix = "0.17"
jemallocator = { version = "0.3", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["minwindef", "consoleapi"] }
[features]
default = ["alloc-jemalloc"]
alloc-jemalloc = ["jemallocator"]
benchmark = []
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
[profile.release]
opt-level = 3
lto = true
debug = false
debug-assertions = false
[profile.bench]
opt-level = 3
debug = false
debug-assertions = false