mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-22 19:41:03 +00:00
92a386277b
* [REFACTORING]Rename whitespace_tokenizer to tag_tokenizer for registration Name representing its purpose is preferred. * Add lindera-tantivy to plume-model's dependencies * Install lindera-tantivy * Add SearchTokenizerConfig struct * Add search tokenizers to config option * Use CONFIG for tokenizers * Use enum to hold tokenizer config instead of initializing on config phase * Use guard instead of duplicate default values * Use as_deref() instead of guard * Move SearchTokenizer from plume-models to plume-models::search::tokenizer * Rename SearchTokenizer to TokenizerKind * Define SearchTokenierConfig::determine_tokenizer() * Use determine_tokenizer in SearchTokenizerConfig::init() * Pass tokenizer config to Searcher methods * Add LowerCase filter to Lindera tokenizer * Add test for Lindera tokenizer * Define SEARCH_LANG env to specify tokenizers set * Run cargo fmt * Make Lindera tokenizer optional * Fix typos
84 lines
2.1 KiB
TOML
84 lines
2.1 KiB
TOML
[package]
|
|
authors = ["Plume contributors"]
|
|
name = "plume"
|
|
version = "0.4.0"
|
|
repository = "https://github.com/Plume-org/Plume"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
activitypub = "0.1.3"
|
|
askama_escape = "0.1"
|
|
atom_syndication = "0.6"
|
|
clap = "2.33"
|
|
colored = "1.8"
|
|
dotenv = "0.14"
|
|
gettext = { git = "https://github.com/Plume-org/gettext/", rev = "294c54d74c699fbc66502b480a37cc66c1daa7f3" }
|
|
gettext-macros = { git = "https://github.com/Plume-org/gettext-macros/", rev = "a7c605f7edd6bfbfbfe7778026bfefd88d82db10" }
|
|
gettext-utils = { git = "https://github.com/Plume-org/gettext-macros/", rev = "a7c605f7edd6bfbfbfe7778026bfefd88d82db10" }
|
|
guid-create = "0.1"
|
|
heck = "0.3.0"
|
|
lettre = "0.9.2"
|
|
lettre_email = "0.9.2"
|
|
num_cpus = "1.10"
|
|
rocket = "0.4.2"
|
|
rocket_contrib = { version = "0.4.2", features = ["json"] }
|
|
rocket_i18n = { git = "https://github.com/Plume-org/rocket_i18n", rev = "e922afa7c366038b3433278c03b1456b346074f2" }
|
|
rpassword = "4.0"
|
|
scheduled-thread-pool = "0.2.2"
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
serde_qs = "0.5"
|
|
shrinkwraprs = "0.2.1"
|
|
syntect = "3.3"
|
|
validator = "0.8"
|
|
validator_derive = "0.8"
|
|
webfinger = "0.4.1"
|
|
|
|
[[bin]]
|
|
name = "plume"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies.chrono]
|
|
features = ["serde"]
|
|
version = "0.4"
|
|
|
|
[dependencies.ctrlc]
|
|
features = ["termination"]
|
|
version = "3.1.2"
|
|
|
|
[dependencies.diesel]
|
|
features = ["r2d2", "chrono"]
|
|
version = "*"
|
|
|
|
[dependencies.multipart]
|
|
default-features = false
|
|
features = ["server"]
|
|
version = "0.16"
|
|
|
|
[dependencies.plume-api]
|
|
path = "plume-api"
|
|
|
|
[dependencies.plume-common]
|
|
path = "plume-common"
|
|
|
|
[dependencies.plume-models]
|
|
path = "plume-models"
|
|
|
|
[dependencies.rocket_csrf]
|
|
git = "https://github.com/fdb-hiroshima/rocket_csrf"
|
|
rev = "29910f2829e7e590a540da3804336577b48c7b31"
|
|
|
|
[build-dependencies]
|
|
ructe = "0.9.0"
|
|
rsass = "0.9"
|
|
|
|
[features]
|
|
default = ["postgres"]
|
|
postgres = ["plume-models/postgres", "diesel/postgres"]
|
|
sqlite = ["plume-models/sqlite", "diesel/sqlite"]
|
|
debug-mailer = []
|
|
test = []
|
|
search-lindera = ["plume-models/search-lindera"]
|
|
|
|
[workspace]
|
|
members = ["plume-api", "plume-cli", "plume-models", "plume-common", "plume-front", "plume-macro"]
|