2021-03-10 13:46:49 +01:00
|
|
|
[package]
|
|
|
|
authors = ["Quentin de Quelen <quentin@dequelen.me>", "Clément Renault <clement@meilisearch.com>"]
|
2022-01-26 17:43:16 +01:00
|
|
|
description = "Meilisearch HTTP server"
|
2022-01-12 11:14:50 +01:00
|
|
|
edition = "2021"
|
2021-03-10 13:46:49 +01:00
|
|
|
license = "MIT"
|
|
|
|
name = "meilisearch-http"
|
2022-10-27 11:35:44 +00:00
|
|
|
version = "0.30.0"
|
2021-04-21 13:49:21 +02:00
|
|
|
|
2021-03-10 13:46:49 +01:00
|
|
|
[[bin]]
|
|
|
|
name = "meilisearch"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-10-04 12:04:16 +02:00
|
|
|
actix-cors = "0.6.3"
|
2022-10-18 11:57:00 +02:00
|
|
|
actix-http = { version = "3.2.2", default-features = false, features = ["compress-brotli", "compress-gzip", "rustls"] }
|
2022-10-04 12:04:16 +02:00
|
|
|
actix-web = { version = "4.2.1", default-features = false, features = ["macros", "compress-brotli", "compress-gzip", "cookies", "rustls"] }
|
2022-02-28 13:43:22 +00:00
|
|
|
actix-web-static-files = { git = "https://github.com/kilork/actix-web-static-files.git", rev = "2d3b6160", optional = true }
|
2022-10-04 12:04:16 +02:00
|
|
|
anyhow = { version = "1.0.65", features = ["backtrace"] }
|
2022-03-14 16:23:26 +01:00
|
|
|
async-stream = "0.3.3"
|
2022-10-04 12:04:16 +02:00
|
|
|
async-trait = "0.1.57"
|
|
|
|
bstr = "1.0.1"
|
2022-03-14 16:23:26 +01:00
|
|
|
byte-unit = { version = "4.0.14", default-features = false, features = ["std", "serde"] }
|
2022-10-04 12:04:16 +02:00
|
|
|
bytes = "1.2.1"
|
2022-10-04 21:46:27 +08:00
|
|
|
clap = { version = "4.0.9", features = ["derive", "env"] }
|
2022-10-04 12:04:16 +02:00
|
|
|
crossbeam-channel = "0.5.6"
|
2022-10-16 01:39:01 +02:00
|
|
|
dump = { path = "../dump" }
|
2022-10-04 12:04:16 +02:00
|
|
|
either = "1.8.0"
|
|
|
|
env_logger = "0.9.1"
|
2022-10-20 18:03:35 +02:00
|
|
|
file-store = { path = "../file-store" }
|
2022-10-04 12:04:16 +02:00
|
|
|
flate2 = "1.0.24"
|
2021-09-08 12:34:56 +02:00
|
|
|
fst = "0.4.7"
|
2022-10-04 12:04:16 +02:00
|
|
|
futures = "0.3.24"
|
|
|
|
futures-util = "0.3.24"
|
|
|
|
http = "0.2.8"
|
2022-10-20 18:03:35 +02:00
|
|
|
index-scheduler = { path = "../index-scheduler" }
|
2022-10-04 12:04:16 +02:00
|
|
|
indexmap = { version = "1.9.1", features = ["serde-1"] }
|
|
|
|
itertools = "0.10.5"
|
|
|
|
jsonwebtoken = "8.1.1"
|
2022-10-20 18:03:35 +02:00
|
|
|
lazy_static = "1.4.0"
|
2022-10-04 12:04:16 +02:00
|
|
|
log = "0.4.17"
|
2021-11-08 18:31:27 +01:00
|
|
|
meilisearch-auth = { path = "../meilisearch-auth" }
|
2022-06-06 12:38:46 +02:00
|
|
|
meilisearch-types = { path = "../meilisearch-types" }
|
2022-08-23 12:58:10 +02:00
|
|
|
mimalloc = { version = "0.1.29", default-features = false }
|
2021-03-10 13:46:49 +01:00
|
|
|
mime = "0.3.16"
|
2022-03-14 16:23:26 +01:00
|
|
|
num_cpus = "1.13.1"
|
2021-12-02 16:03:26 +01:00
|
|
|
obkv = "0.2.0"
|
2022-10-04 12:04:16 +02:00
|
|
|
once_cell = "1.15.0"
|
|
|
|
parking_lot = "0.12.1"
|
2022-10-11 17:42:43 +02:00
|
|
|
permissive-json-pointer = { path = "../permissive-json-pointer" }
|
2022-10-04 12:04:16 +02:00
|
|
|
pin-project-lite = "0.2.9"
|
2021-10-25 19:23:47 +02:00
|
|
|
platform-dirs = "0.3.0"
|
2022-10-20 18:03:35 +02:00
|
|
|
prometheus = { version = "0.13.2", features = ["process"], optional = true }
|
2022-03-14 16:23:26 +01:00
|
|
|
rand = "0.8.5"
|
2022-10-04 12:04:16 +02:00
|
|
|
rayon = "1.5.3"
|
|
|
|
regex = "1.6.0"
|
|
|
|
reqwest = { version = "0.11.12", features = ["rustls-tls", "json"], default-features = false }
|
|
|
|
rustls = "0.20.6"
|
|
|
|
rustls-pemfile = "1.0.1"
|
|
|
|
segment = { version = "0.2.1", optional = true }
|
|
|
|
serde = { version = "1.0.145", features = ["derive"] }
|
|
|
|
serde-cs = "0.2.4"
|
2022-08-23 15:15:03 +02:00
|
|
|
serde_json = { version = "1.0.85", features = ["preserve_order"] }
|
2022-10-04 12:04:16 +02:00
|
|
|
sha2 = "0.10.6"
|
2022-03-14 16:23:26 +01:00
|
|
|
siphasher = "0.3.10"
|
|
|
|
slice-group-by = "0.3.0"
|
|
|
|
static-files = { version = "0.2.3", optional = true }
|
2022-10-04 12:04:16 +02:00
|
|
|
sysinfo = "0.26.4"
|
2022-03-14 16:23:26 +01:00
|
|
|
tar = "0.4.38"
|
|
|
|
tempfile = "3.3.0"
|
2022-10-04 12:04:16 +02:00
|
|
|
thiserror = "1.0.37"
|
|
|
|
time = { version = "0.3.15", features = ["serde-well-known", "formatting", "parsing", "macros"] }
|
|
|
|
tokio = { version = "1.21.2", features = ["full"] }
|
|
|
|
tokio-stream = "0.1.10"
|
2022-09-06 09:23:16 +02:00
|
|
|
toml = "0.5.9"
|
2022-07-05 14:13:20 +02:00
|
|
|
uuid = { version = "1.1.2", features = ["serde", "v4"] }
|
2021-04-01 17:44:42 +03:00
|
|
|
walkdir = "2.3.2"
|
2022-10-13 11:09:00 +02:00
|
|
|
yaup = "0.2.0"
|
2021-03-10 13:46:49 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-03-14 16:23:26 +01:00
|
|
|
actix-rt = "2.7.0"
|
2022-10-04 12:04:16 +02:00
|
|
|
assert-json-diff = "2.0.2"
|
2022-10-12 21:12:18 +02:00
|
|
|
brotli = "3.3.4"
|
2022-10-04 12:04:16 +02:00
|
|
|
manifest-dir-macros = "0.1.16"
|
2021-11-08 18:31:27 +01:00
|
|
|
maplit = "1.0.2"
|
2022-10-19 12:59:12 +02:00
|
|
|
meili-snap = {path = "../meili-snap"}
|
2022-10-12 11:58:28 +08:00
|
|
|
temp-env = "0.3.1"
|
2022-10-20 18:03:35 +02:00
|
|
|
urlencoding = "2.1.2"
|
|
|
|
yaup = "0.2.1"
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
anyhow = { version = "1.0.65", optional = true }
|
|
|
|
cargo_toml = { version = "0.12.4", optional = true }
|
|
|
|
hex = { version = "0.4.3", optional = true }
|
|
|
|
reqwest = { version = "0.11.12", features = ["blocking", "rustls-tls"], default-features = false, optional = true }
|
|
|
|
sha-1 = { version = "0.10.0", optional = true }
|
|
|
|
static-files = { version = "0.2.3", optional = true }
|
|
|
|
tempfile = { version = "3.3.0", optional = true }
|
|
|
|
vergen = { version = "7.4.2", default-features = false, features = ["git"] }
|
|
|
|
zip = { version = "0.6.2", optional = true }
|
2021-03-10 13:46:49 +01:00
|
|
|
|
|
|
|
[features]
|
2022-10-11 17:42:43 +02:00
|
|
|
default = ["analytics", "meilisearch-types/default", "mini-dashboard"]
|
2022-08-29 12:36:54 +02:00
|
|
|
metrics = ["prometheus"]
|
2022-03-14 16:05:01 +01:00
|
|
|
analytics = ["segment"]
|
2021-04-22 12:39:23 +02:00
|
|
|
mini-dashboard = [
|
|
|
|
"actix-web-static-files",
|
2022-01-21 20:44:17 +00:00
|
|
|
"static-files",
|
2021-04-22 12:39:23 +02:00
|
|
|
"anyhow",
|
|
|
|
"cargo_toml",
|
|
|
|
"hex",
|
|
|
|
"reqwest",
|
|
|
|
"sha-1",
|
|
|
|
"tempfile",
|
|
|
|
"zip",
|
|
|
|
]
|
2022-10-11 17:42:43 +02:00
|
|
|
chinese = ["meilisearch-types/chinese"]
|
|
|
|
hebrew = ["meilisearch-types/hebrew"]
|
|
|
|
japanese = ["meilisearch-types/japanese"]
|
|
|
|
thai = ["meilisearch-types/thai"]
|
2021-03-10 13:46:49 +01:00
|
|
|
|
2021-04-20 15:20:09 +02:00
|
|
|
[package.metadata.mini-dashboard]
|
2022-12-05 14:54:01 +01:00
|
|
|
assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.2.4/build.zip"
|
|
|
|
sha1 = "b53c2edb51d4ce1984d5586333b91c4ad3a1b4e4"
|