summaryrefslogtreecommitdiffstats
path: root/vendor/elasticlunr-rs/Cargo.toml
blob: 10e0d8411585deabf0623155ac7aa56abc13fc33 (plain)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
rust-version = "1.54"
name = "elasticlunr-rs"
version = "3.0.0"
authors = ["Matt Ickstadt <mattico8@gmail.com>"]
exclude = ["tests/lunr-fixture-gen/**", "js/**"]
description = "A partial port of elasticlunr.js to Rust for generating static document search indexes"
documentation = "https://docs.rs/elasticlunr-rs"
readme = "README.md"
keywords = ["search", "index", "indexing", "lunr", "elasticlunr"]
license = "MIT/Apache-2.0"
repository = "https://github.com/mattico/elasticlunr-rs"

[lib]
name = "elasticlunr"

[[bench]]
name = "bench"
harness = false
[dependencies.jieba-rs]
version = "0.6"
optional = true

[dependencies.lindera]
version = "0.13"
features = ["ipadic"]
optional = true

[dependencies.lindera-core]
version = "0.13"
optional = true

[dependencies.regex]
version = "1"

[dependencies.rust-stemmers]
version = "1.2.0"
optional = true

[dependencies.serde]
version = "1"

[dependencies.serde_derive]
version = "1.0.34"

[dependencies.serde_json]
version = "1"
[dev-dependencies.criterion]
version = "0.3.0"

[dev-dependencies.maplit]
version = "1"

[features]
ar = []
da = ["rust-stemmers"]
de = ["rust-stemmers"]
du = ["rust-stemmers"]
es = ["rust-stemmers"]
fi = ["rust-stemmers"]
fr = ["rust-stemmers"]
it = ["rust-stemmers"]
ja = ["lindera", "lindera-core"]
languages = ["ar", "da", "de", "du", "es", "fi", "fr", "it", "ja", "no", "pt", "ro", "ru", "sv", "tr", "zh"]
no = ["rust-stemmers"]
pt = ["rust-stemmers"]
ro = ["rust-stemmers"]
ru = ["rust-stemmers"]
sv = ["rust-stemmers"]
tr = ["rust-stemmers"]
zh = ["jieba-rs"]
[badges.maintenance]
status = "passively-maintained"