2021-03-10 20:46:49 +08:00
|
|
|
[package]
|
|
|
|
authors = ["Quentin de Quelen <quentin@dequelen.me>", "Clément Renault <clement@meilisearch.com>"]
|
2022-01-27 00:43:16 +08:00
|
|
|
description = "Meilisearch HTTP server"
|
2022-01-12 18:14:50 +08:00
|
|
|
edition = "2021"
|
2021-03-10 20:46:49 +08:00
|
|
|
license = "MIT"
|
|
|
|
name = "meilisearch-http"
|
2022-12-01 23:43:23 +08:00
|
|
|
version = "0.29.3"
|
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]
|
2022-08-23 21:15:03 +08:00
|
|
|
anyhow = { version = "1.0.62", optional = true }
|
2022-03-14 23:23:26 +08:00
|
|
|
cargo_toml = { version = "0.11.4", optional = true }
|
2021-04-22 18:39:23 +08:00
|
|
|
hex = { version = "0.4.3", optional = true }
|
2022-03-14 23:23:26 +08:00
|
|
|
reqwest = { version = "0.11.9", 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.0.0", default-features = false, features = ["git"] }
|
2021-09-08 18:34:56 +08:00
|
|
|
zip = { version = "0.5.13", optional = true }
|
2021-03-10 20:46:49 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2022-03-14 23:23:26 +08:00
|
|
|
actix-cors = "0.6.1"
|
|
|
|
actix-web = { version = "4.0.1", default-features = false, features = ["macros", "compress-brotli", "compress-gzip", "cookies", "rustls"] }
|
2022-02-28 21:43:22 +08:00
|
|
|
actix-web-static-files = { git = "https://github.com/kilork/actix-web-static-files.git", rev = "2d3b6160", optional = true }
|
2022-08-23 21:15:03 +08:00
|
|
|
anyhow = { version = "1.0.62", features = ["backtrace"] }
|
2022-03-14 23:23:26 +08:00
|
|
|
async-stream = "0.3.3"
|
|
|
|
async-trait = "0.1.52"
|
2021-12-02 23:03:26 +08:00
|
|
|
bstr = "0.2.17"
|
2022-03-14 23:23:26 +08:00
|
|
|
byte-unit = { version = "4.0.14", default-features = false, features = ["std", "serde"] }
|
2021-09-08 18:34:56 +08:00
|
|
|
bytes = "1.1.0"
|
2022-03-14 23:23:26 +08:00
|
|
|
clap = { version = "3.1.6", features = ["derive", "env"] }
|
|
|
|
crossbeam-channel = "0.5.2"
|
2021-03-15 21:29:30 +08:00
|
|
|
either = "1.6.1"
|
2021-09-08 18:34:56 +08:00
|
|
|
env_logger = "0.9.0"
|
2022-03-14 23:23:26 +08:00
|
|
|
flate2 = "1.0.22"
|
2021-09-08 18:34:56 +08:00
|
|
|
fst = "0.4.7"
|
2022-03-14 23:23:26 +08:00
|
|
|
futures = "0.3.21"
|
|
|
|
futures-util = "0.3.21"
|
|
|
|
http = "0.2.6"
|
|
|
|
indexmap = { version = "1.8.0", features = ["serde-1"] }
|
|
|
|
itertools = "0.10.3"
|
|
|
|
jsonwebtoken = "8.0.1"
|
2021-09-08 18:34:56 +08:00
|
|
|
log = "0.4.14"
|
2021-11-09 01:31:27 +08:00
|
|
|
meilisearch-auth = { path = "../meilisearch-auth" }
|
2022-06-06 18:38:46 +08:00
|
|
|
meilisearch-types = { path = "../meilisearch-types" }
|
2021-12-02 23:03:26 +08:00
|
|
|
meilisearch-lib = { path = "../meilisearch-lib" }
|
2022-08-23 18:58:10 +08:00
|
|
|
mimalloc = { version = "0.1.29", default-features = false }
|
2021-03-10 20:46:49 +08:00
|
|
|
mime = "0.3.16"
|
2022-03-14 23:23:26 +08:00
|
|
|
num_cpus = "1.13.1"
|
2021-12-02 23:03:26 +08:00
|
|
|
obkv = "0.2.0"
|
2022-03-14 23:23:26 +08:00
|
|
|
once_cell = "1.10.0"
|
|
|
|
parking_lot = "0.12.0"
|
|
|
|
pin-project-lite = "0.2.8"
|
2021-10-26 01:23:47 +08:00
|
|
|
platform-dirs = "0.3.0"
|
2022-03-14 23:23:26 +08:00
|
|
|
rand = "0.8.5"
|
2021-09-08 18:34:56 +08:00
|
|
|
rayon = "1.5.1"
|
2022-03-14 23:23:26 +08:00
|
|
|
regex = "1.5.5"
|
2022-05-25 20:36:00 +08:00
|
|
|
reqwest = { version = "0.11.4", features = ["rustls-tls", "json"], default-features = false }
|
2022-03-14 23:23:26 +08:00
|
|
|
rustls = "0.20.4"
|
|
|
|
rustls-pemfile = "0.3.0"
|
2022-02-14 22:32:41 +08:00
|
|
|
segment = { version = "0.2.0", optional = true }
|
2022-03-14 23:23:26 +08:00
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
2022-06-06 16:17:33 +08:00
|
|
|
serde-cs = "0.2.3"
|
2022-08-23 21:15:03 +08:00
|
|
|
serde_json = { version = "1.0.85", features = ["preserve_order"] }
|
2022-03-14 23:23:26 +08:00
|
|
|
sha2 = "0.10.2"
|
|
|
|
siphasher = "0.3.10"
|
|
|
|
slice-group-by = "0.3.0"
|
|
|
|
static-files = { version = "0.2.3", optional = true }
|
|
|
|
sysinfo = "0.23.5"
|
|
|
|
tar = "0.4.38"
|
|
|
|
tempfile = "3.3.0"
|
|
|
|
thiserror = "1.0.30"
|
2022-02-14 22:32:41 +08:00
|
|
|
time = { version = "0.3.7", features = ["serde-well-known", "formatting", "parsing", "macros"] }
|
2022-03-14 23:23:26 +08:00
|
|
|
tokio = { version = "1.17.0", features = ["full"] }
|
|
|
|
tokio-stream = "0.1.8"
|
2022-07-05 20:13:20 +08:00
|
|
|
uuid = { version = "1.1.2", features = ["serde", "v4"] }
|
2021-04-01 22:44:42 +08:00
|
|
|
walkdir = "2.3.2"
|
2022-08-29 18:36:54 +08:00
|
|
|
prometheus = { version = "0.13.0", features = ["process"], optional = true }
|
2022-08-04 22:46:09 +08:00
|
|
|
lazy_static = "1.4.0"
|
2021-03-10 20:46:49 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-03-14 23:23:26 +08:00
|
|
|
actix-rt = "2.7.0"
|
2021-11-09 01:31:27 +08:00
|
|
|
assert-json-diff = "2.0.1"
|
2022-04-28 16:48:57 +08:00
|
|
|
manifest-dir-macros = "0.1.14"
|
2021-11-09 01:31:27 +08:00
|
|
|
maplit = "1.0.2"
|
2021-09-08 18:34:56 +08:00
|
|
|
urlencoding = "2.1.0"
|
2022-06-28 19:01:18 +08:00
|
|
|
yaup = "0.2.0"
|
2021-03-10 20:46:49 +08:00
|
|
|
|
|
|
|
[features]
|
2022-03-14 23:05:01 +08:00
|
|
|
default = ["analytics", "mini-dashboard"]
|
2022-08-29 18:36:54 +08:00
|
|
|
metrics = ["prometheus"]
|
2022-03-14 23:05:01 +08:00
|
|
|
analytics = ["segment"]
|
2021-04-22 18:39:23 +08:00
|
|
|
mini-dashboard = [
|
|
|
|
"actix-web-static-files",
|
2022-01-22 04:44:17 +08:00
|
|
|
"static-files",
|
2021-04-22 18:39:23 +08:00
|
|
|
"anyhow",
|
|
|
|
"cargo_toml",
|
|
|
|
"hex",
|
|
|
|
"reqwest",
|
|
|
|
"sha-1",
|
|
|
|
"tempfile",
|
|
|
|
"zip",
|
|
|
|
]
|
2021-03-10 20:46:49 +08:00
|
|
|
|
2021-04-20 21:20:09 +08:00
|
|
|
[package.metadata.mini-dashboard]
|
2022-09-07 17:09:12 +08:00
|
|
|
assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.2.2/build.zip"
|
|
|
|
sha1 = "c69feffc6b590e38a46981a85c47f48905d4082a"
|