mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
5fad37aebd
1711: MeiliSearch refactor introducing OBKV format r=MarinPostma a=MarinPostma This PR refactor some multiple components of meilisearch, and introduce the obkv document format to meilisearch - [x] Split meilisearch-http and meilisearch-lib - [x] Replace `IndexActor` and `UuidResolver` with `IndexResolver` - [x] Remove mentions to Actor - [x] Remove Actor traits to simplify code - [x] Integrate obkv document format - [x] Remove `Data` - [x] Restore all route - [x] Replace `Box<dyn error>` with `anyhow::Error` - [x] Introduce update file store - [x] Update file store error handling - [x] Fix dumps - [x] Fix snapshots - [x] Fix tests - [x] Update module documentation - [x] add csv suppport (feat `@ManyTheFish` #1729 ) - [x] add jsonl support - [x] integrate geosearch (feat `@irevoire` #1725) partially implements #1691 and #1690. The error handling is very basic now, I will finish it in the next pr. Some unit tests have been disabled, I will re-enable them ASAP, but they need a bit more work. close #1531 P.S: sorry for this monstrous PR :'( Co-authored-by: mpostma <postma.marin@protonmail.com> Co-authored-by: Tamo <tamo@meilisearch.com> Co-authored-by: many <maxime@meilisearch.com>
104 lines
3.3 KiB
TOML
104 lines
3.3 KiB
TOML
[package]
|
|
authors = ["Quentin de Quelen <quentin@dequelen.me>", "Clément Renault <clement@meilisearch.com>"]
|
|
description = "MeiliSearch HTTP server"
|
|
edition = "2018"
|
|
license = "MIT"
|
|
name = "meilisearch-http"
|
|
version = "0.22.0"
|
|
|
|
[[bin]]
|
|
name = "meilisearch"
|
|
path = "src/main.rs"
|
|
|
|
[build-dependencies]
|
|
actix-web-static-files = { git = "https://github.com/MarinPostma/actix-web-static-files.git", rev = "39d8006", optional = true }
|
|
anyhow = { version = "1.0.43", optional = true }
|
|
cargo_toml = { version = "0.9", optional = true }
|
|
hex = { version = "0.4.3", optional = true }
|
|
reqwest = { version = "0.11.4", features = ["blocking", "rustls-tls"], default-features = false, optional = true }
|
|
sha-1 = { version = "0.9.8", optional = true }
|
|
tempfile = { version = "3.2.0", optional = true }
|
|
vergen = { version = "5.1.15", default-features = false, features = ["git"] }
|
|
zip = { version = "0.5.13", optional = true }
|
|
|
|
[dependencies]
|
|
actix-cors = { git = "https://github.com/MarinPostma/actix-extras.git", rev = "963ac94d" }
|
|
actix-web = { version = "4.0.0-beta.9", features = ["rustls"] }
|
|
actix-web-static-files = { git = "https://github.com/MarinPostma/actix-web-static-files.git", rev = "39d8006", optional = true }
|
|
anyhow = { version = "1.0.43", features = ["backtrace"] }
|
|
async-stream = "0.3.2"
|
|
async-trait = "0.1.51"
|
|
arc-swap = "1.3.2"
|
|
byte-unit = { version = "4.0.12", default-features = false, features = ["std"] }
|
|
bytes = "1.1.0"
|
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
crossbeam-channel = "0.5.1"
|
|
either = "1.6.1"
|
|
env_logger = "0.9.0"
|
|
flate2 = "1.0.21"
|
|
fst = "0.4.7"
|
|
futures = "0.3.17"
|
|
futures-util = "0.3.17"
|
|
heed = { git = "https://github.com/Kerollmops/heed", tag = "v0.12.1" }
|
|
http = "0.2.4"
|
|
indexmap = { version = "1.7.0", features = ["serde-1"] }
|
|
itertools = "0.10.1"
|
|
log = "0.4.14"
|
|
meilisearch-lib = { path = "../meilisearch-lib" }
|
|
meilisearch-error = { path = "../meilisearch-error" }
|
|
meilisearch-tokenizer = { git = "https://github.com/meilisearch/tokenizer.git", tag = "v0.2.5" }
|
|
memmap = "0.7.0"
|
|
mime = "0.3.16"
|
|
num_cpus = "1.13.0"
|
|
once_cell = "1.8.0"
|
|
parking_lot = "0.11.2"
|
|
rand = "0.8.4"
|
|
rayon = "1.5.1"
|
|
regex = "1.5.4"
|
|
rustls = "0.19.1"
|
|
serde = { version = "1.0.130", features = ["derive"] }
|
|
serde_json = { version = "1.0.67", features = ["preserve_order"] }
|
|
sha2 = "0.9.6"
|
|
siphasher = "0.3.7"
|
|
slice-group-by = "0.2.6"
|
|
structopt = "0.3.23"
|
|
tar = "0.4.37"
|
|
tempfile = "3.2.0"
|
|
thiserror = "1.0.28"
|
|
tokio = { version = "1.11.0", features = ["full"] }
|
|
uuid = { version = "0.8.2", features = ["serde"] }
|
|
walkdir = "2.3.2"
|
|
obkv = "0.2.0"
|
|
pin-project = "1.0.8"
|
|
whoami = { version = "1.1.3", optional = true }
|
|
reqwest = { version = "0.11.4", features = ["json", "rustls-tls"], default-features = false, optional = true }
|
|
sysinfo = "0.20.2"
|
|
tokio-stream = "0.1.7"
|
|
|
|
[dev-dependencies]
|
|
actix-rt = "2.2.0"
|
|
paste = "1.0.5"
|
|
serde_url_params = "0.2.1"
|
|
urlencoding = "2.1.0"
|
|
|
|
[features]
|
|
mini-dashboard = [
|
|
"actix-web-static-files",
|
|
"anyhow",
|
|
"cargo_toml",
|
|
"hex",
|
|
"reqwest",
|
|
"sha-1",
|
|
"tempfile",
|
|
"zip",
|
|
]
|
|
analytics = ["whoami", "reqwest"]
|
|
default = ["analytics", "mini-dashboard"]
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
tikv-jemallocator = "0.4.1"
|
|
|
|
[package.metadata.mini-dashboard]
|
|
assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.1.4/build.zip"
|
|
sha1 = "750e8a8e56cfa61fbf9ead14b08a5f17ad3f3d37"
|