summaryrefslogtreecommitdiffstats
path: root/vendor/elasticlunr-rs/Cargo.toml
blob: ec2f2b56e8b151ca742aca82d69a7cf858a73c33 (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.57.0"
name = "elasticlunr-rs"
version = "3.0.2"
authors = ["Matt Ickstadt <mattico8@gmail.com>"]
exclude = [
    "tests/lunr-fixture-gen/",
    "js/",
    ".github/",
]
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.14"
features = ["ipadic"]
optional = true

[dependencies.lindera-core]
version = "0.13.5"
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.4.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"]
hu = ["rust-stemmers"]
it = ["rust-stemmers"]
ja = [
    "lindera",
    "lindera-core",
]
ko = []
languages = [
    "ar",
    "da",
    "de",
    "du",
    "es",
    "fi",
    "fr",
    "hu",
    "it",
    "ja",
    "ko",
    "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"