| # 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 <[email protected]>"] |
| 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" |