2021-03-10 20:46:49 +08:00
|
|
|
[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"
|
2021-09-01 18:33:30 +08:00
|
|
|
version = "0.22.0"
|
2021-04-21 19:49:21 +08:00
|
|
|
|
2021-03-10 20:46:49 +08:00
|
|
|
[[bin]]
|
|
|
|
name = "meilisearch"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[build-dependencies]
|
2021-04-22 18:39:23 +08:00
|
|
|
actix-web-static-files = { git = "https://github.com/MarinPostma/actix-web-static-files.git", rev = "6db8c3e", optional = true }
|
|
|
|
anyhow = { version = "*", optional = true }
|
|
|
|
cargo_toml = { version = "0.9.0", optional = true }
|
|
|
|
hex = { version = "0.4.3", optional = true }
|
|
|
|
reqwest = { version = "0.11.3", features = ["blocking", "rustls-tls"], default-features = false, optional = true }
|
|
|
|
sha-1 = { version = "0.9.4", optional = true }
|
|
|
|
tempfile = { version = "3.1.0", optional = true }
|
2021-08-26 21:08:43 +08:00
|
|
|
vergen = { version = "5.1.15", default-features = false, features = ["git"] }
|
2021-04-22 18:39:23 +08:00
|
|
|
zip = { version = "0.5.12", optional = true }
|
2021-03-10 20:46:49 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2021-04-21 19:49:21 +08:00
|
|
|
actix-cors = { git = "https://github.com/MarinPostma/actix-extras.git", rev = "2dac1a4"}
|
|
|
|
actix-http = { version = "=3.0.0-beta.6" }
|
|
|
|
actix-service = "2.0.0"
|
|
|
|
actix-web = { version = "=4.0.0-beta.6", features = ["rustls"] }
|
2021-04-22 17:42:41 +08:00
|
|
|
actix-web-static-files = { git = "https://github.com/MarinPostma/actix-web-static-files.git", rev = "6db8c3e", optional = true }
|
2021-06-15 23:39:07 +08:00
|
|
|
anyhow = "1.0.36"
|
2021-03-15 21:29:30 +08:00
|
|
|
async-stream = "0.3.0"
|
|
|
|
async-trait = "0.1.42"
|
2021-04-22 16:14:29 +08:00
|
|
|
arc-swap = "1.2.0"
|
2021-03-10 20:46:49 +08:00
|
|
|
byte-unit = { version = "4.0.9", default-features = false, features = ["std"] }
|
|
|
|
bytes = "0.6.0"
|
|
|
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
|
|
crossbeam-channel = "0.5.0"
|
2021-03-15 21:29:30 +08:00
|
|
|
either = "1.6.1"
|
2021-03-10 20:46:49 +08:00
|
|
|
env_logger = "0.8.2"
|
|
|
|
flate2 = "1.0.19"
|
|
|
|
fst = "0.4.5"
|
|
|
|
futures = "0.3.7"
|
|
|
|
futures-util = "0.3.8"
|
2021-07-28 16:52:47 +08:00
|
|
|
heed = { git = "https://github.com/Kerollmops/heed", tag = "v0.12.1" }
|
2021-03-10 20:46:49 +08:00
|
|
|
http = "0.2.1"
|
2021-04-01 22:49:11 +08:00
|
|
|
indexmap = { version = "1.3.2", features = ["serde-1"] }
|
2021-03-15 21:29:30 +08:00
|
|
|
itertools = "0.10.0"
|
2021-03-10 20:46:49 +08:00
|
|
|
log = "0.4.8"
|
|
|
|
main_error = "0.1.0"
|
|
|
|
meilisearch-error = { path = "../meilisearch-error" }
|
2021-08-18 20:55:10 +08:00
|
|
|
meilisearch-tokenizer = { git = "https://github.com/meilisearch/tokenizer.git", tag = "v0.2.5" }
|
2021-03-10 20:46:49 +08:00
|
|
|
memmap = "0.7.0"
|
2021-09-13 16:52:02 +08:00
|
|
|
milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.13.1" }
|
2021-03-10 20:46:49 +08:00
|
|
|
mime = "0.3.16"
|
2021-06-28 20:35:50 +08:00
|
|
|
num_cpus = "1.13.0"
|
2021-03-10 20:46:49 +08:00
|
|
|
once_cell = "1.5.2"
|
2021-03-15 21:29:30 +08:00
|
|
|
parking_lot = "0.11.1"
|
2021-03-10 20:46:49 +08:00
|
|
|
rand = "0.7.3"
|
|
|
|
rayon = "1.5.0"
|
|
|
|
regex = "1.4.2"
|
|
|
|
rustls = "0.19"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = { version = "1.0.59", features = ["preserve_order"] }
|
|
|
|
sha2 = "0.9.1"
|
|
|
|
siphasher = "0.3.2"
|
|
|
|
slice-group-by = "0.2.6"
|
|
|
|
structopt = "0.3.20"
|
|
|
|
tar = "0.4.29"
|
|
|
|
tempfile = "3.1.0"
|
2021-03-15 21:29:30 +08:00
|
|
|
thiserror = "1.0.24"
|
2021-03-10 20:46:49 +08:00
|
|
|
tokio = { version = "1", features = ["full"] }
|
2021-04-22 18:39:23 +08:00
|
|
|
uuid = { version = "0.8.2", features = ["serde"] }
|
2021-04-01 22:44:42 +08:00
|
|
|
walkdir = "2.3.2"
|
2021-07-28 16:52:47 +08:00
|
|
|
obkv = "0.2.0"
|
2021-04-29 22:19:06 +08:00
|
|
|
pin-project = "1.0.7"
|
2021-06-15 21:36:30 +08:00
|
|
|
whoami = { version = "1.1.2", optional = true }
|
2021-06-29 19:07:40 +08:00
|
|
|
reqwest = { version = "0.11.3", features = ["json", "rustls-tls"], default-features = false, optional = true }
|
2021-07-29 22:07:04 +08:00
|
|
|
serdeval = "0.1.0"
|
2021-09-03 00:18:59 +08:00
|
|
|
sysinfo = "0.20.0"
|
2021-03-10 20:46:49 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-03-23 23:19:01 +08:00
|
|
|
actix-rt = "2.1.0"
|
|
|
|
assert-json-diff = { branch = "master", git = "https://github.com/qdequele/assert-json-diff" }
|
|
|
|
mockall = "0.9.1"
|
2021-04-20 18:07:22 +08:00
|
|
|
paste = "1.0.5"
|
2021-07-06 17:54:09 +08:00
|
|
|
serde_url_params = "0.2.1"
|
2021-03-10 20:46:49 +08:00
|
|
|
tempdir = "0.3.7"
|
2021-03-10 21:47:04 +08:00
|
|
|
urlencoding = "1.1.1"
|
2021-03-10 20:46:49 +08:00
|
|
|
|
|
|
|
[features]
|
2021-04-22 18:39:23 +08:00
|
|
|
mini-dashboard = [
|
|
|
|
"actix-web-static-files",
|
|
|
|
"anyhow",
|
|
|
|
"cargo_toml",
|
|
|
|
"hex",
|
|
|
|
"reqwest",
|
|
|
|
"sha-1",
|
|
|
|
"tempfile",
|
|
|
|
"zip",
|
|
|
|
]
|
2021-08-24 18:27:30 +08:00
|
|
|
analytics = ["whoami", "reqwest"]
|
2021-06-15 21:36:30 +08:00
|
|
|
default = ["analytics", "mini-dashboard"]
|
2021-03-10 20:46:49 +08:00
|
|
|
|
2021-03-13 00:44:39 +08:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2021-03-10 20:46:49 +08:00
|
|
|
jemallocator = "0.3.2"
|
2021-04-20 21:20:09 +08:00
|
|
|
|
|
|
|
[package.metadata.mini-dashboard]
|
2021-07-27 17:44:20 +08:00
|
|
|
assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.1.4/build.zip"
|
|
|
|
sha1 = "750e8a8e56cfa61fbf9ead14b08a5f17ad3f3d37"
|