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-10-28 18:24:49 +08:00
|
|
|
version = "0.24.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-09-08 18:34:56 +08:00
|
|
|
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 }
|
2021-04-22 18:39:23 +08:00
|
|
|
hex = { version = "0.4.3", optional = true }
|
2021-09-08 18:34:56 +08:00
|
|
|
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 }
|
2021-08-26 21:08:43 +08:00
|
|
|
vergen = { version = "5.1.15", 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]
|
2021-09-08 18:34:56 +08:00
|
|
|
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 }
|
2021-12-02 23:03:26 +08:00
|
|
|
# TODO: specifying this dependency so semver doesn't bump to next beta
|
|
|
|
actix-tls = "=3.0.0-beta.5"
|
2021-09-15 00:39:02 +08:00
|
|
|
anyhow = { version = "1.0.43", features = ["backtrace"] }
|
2021-12-02 23:03:26 +08:00
|
|
|
arc-swap = "1.3.2"
|
2021-09-08 18:34:56 +08:00
|
|
|
async-stream = "0.3.2"
|
|
|
|
async-trait = "0.1.51"
|
2021-12-02 23:03:26 +08:00
|
|
|
bstr = "0.2.17"
|
2021-09-08 18:34:56 +08:00
|
|
|
byte-unit = { version = "4.0.12", default-features = false, features = ["std"] }
|
|
|
|
bytes = "1.1.0"
|
2021-03-10 20:46:49 +08:00
|
|
|
chrono = { version = "0.4.19", features = ["serde"] }
|
2021-09-08 18:34:56 +08:00
|
|
|
crossbeam-channel = "0.5.1"
|
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"
|
|
|
|
flate2 = "1.0.21"
|
|
|
|
fst = "0.4.7"
|
|
|
|
futures = "0.3.17"
|
|
|
|
futures-util = "0.3.17"
|
2021-07-28 16:52:47 +08:00
|
|
|
heed = { git = "https://github.com/Kerollmops/heed", tag = "v0.12.1" }
|
2021-09-08 18:34:56 +08:00
|
|
|
http = "0.2.4"
|
|
|
|
indexmap = { version = "1.7.0", features = ["serde-1"] }
|
|
|
|
itertools = "0.10.1"
|
|
|
|
log = "0.4.14"
|
2021-11-09 01:31:27 +08:00
|
|
|
meilisearch-auth = { path = "../meilisearch-auth" }
|
2021-03-10 20:46:49 +08:00
|
|
|
meilisearch-error = { path = "../meilisearch-error" }
|
2021-12-02 23:03:26 +08:00
|
|
|
meilisearch-lib = { path = "../meilisearch-lib" }
|
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
|
|
|
mime = "0.3.16"
|
2021-06-28 20:35:50 +08:00
|
|
|
num_cpus = "1.13.0"
|
2021-12-02 23:03:26 +08:00
|
|
|
obkv = "0.2.0"
|
2021-09-08 18:34:56 +08:00
|
|
|
once_cell = "1.8.0"
|
|
|
|
parking_lot = "0.11.2"
|
2021-12-02 23:03:26 +08:00
|
|
|
pin-project = "1.0.8"
|
2021-10-26 01:23:47 +08:00
|
|
|
platform-dirs = "0.3.0"
|
2021-09-08 18:34:56 +08:00
|
|
|
rand = "0.8.4"
|
|
|
|
rayon = "1.5.1"
|
|
|
|
regex = "1.5.4"
|
|
|
|
rustls = "0.19.1"
|
2021-10-27 23:01:08 +08:00
|
|
|
segment = { version = "0.1.2", optional = true }
|
2021-09-08 18:34:56 +08:00
|
|
|
serde = { version = "1.0.130", features = ["derive"] }
|
|
|
|
serde_json = { version = "1.0.67", features = ["preserve_order"] }
|
|
|
|
sha2 = "0.9.6"
|
|
|
|
siphasher = "0.3.7"
|
2021-03-10 20:46:49 +08:00
|
|
|
slice-group-by = "0.2.6"
|
2021-09-08 18:34:56 +08:00
|
|
|
structopt = "0.3.23"
|
2021-12-02 23:03:26 +08:00
|
|
|
sysinfo = "0.20.2"
|
2021-09-08 18:34:56 +08:00
|
|
|
tar = "0.4.37"
|
|
|
|
tempfile = "3.2.0"
|
|
|
|
thiserror = "1.0.28"
|
|
|
|
tokio = { version = "1.11.0", features = ["full"] }
|
2021-12-02 23:03:26 +08:00
|
|
|
tokio-stream = "0.1.7"
|
2021-09-08 18:34:56 +08:00
|
|
|
uuid = { version = "0.8.2", features = ["serde"] }
|
2021-04-01 22:44:42 +08:00
|
|
|
walkdir = "2.3.2"
|
2021-03-10 20:46:49 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-09-08 18:34:56 +08:00
|
|
|
actix-rt = "2.2.0"
|
2021-11-09 01:31:27 +08:00
|
|
|
assert-json-diff = "2.0.1"
|
|
|
|
maplit = "1.0.2"
|
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-09-08 18:34:56 +08:00
|
|
|
urlencoding = "2.1.0"
|
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-10-12 17:22:44 +08:00
|
|
|
analytics = ["segment"]
|
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-09-10 06:20:46 +08:00
|
|
|
tikv-jemallocator = "0.4.1"
|
2021-04-20 21:20:09 +08:00
|
|
|
|
|
|
|
[package.metadata.mini-dashboard]
|
2021-11-16 01:54:55 +08:00
|
|
|
assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.1.5/build.zip"
|
|
|
|
sha1 = "1d955ea91b7691bd6fc207cb39866b82210783f0"
|