mirror of
https://github.com/roapi/roapi.git
synced 2026-06-05 21:04:02 +08:00
57 lines
1.4 KiB
TOML
57 lines
1.4 KiB
TOML
[package]
|
|
name = "roapi-http"
|
|
version = "0.5.3"
|
|
authors = ["QP Hou <dave2008713@gmail.com>"]
|
|
homepage = "https://github.com/roapi/roapi"
|
|
license = "MIT"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "roapi_http"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "roapi-http"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
columnq = { path = "../columnq", version = "0", default-features = false }
|
|
# for datafusion optimization
|
|
snmalloc-rs = { version = "0.2", optional = true }
|
|
|
|
# dependencies related to axum
|
|
tokio = { version = "1", features = ["rt-multi-thread"] }
|
|
hyper = { version = "0", features = ["http1", "server", "stream", "runtime"] }
|
|
axum = { version = "0.3", features = ["default", "http2"] }
|
|
tower-http = { version = "0", features = ["cors"] }
|
|
tower-layer = "0"
|
|
tracing = "0"
|
|
pin-project = "1"
|
|
|
|
env_logger = "0"
|
|
log = "0"
|
|
serde = "1"
|
|
serde_json = "1"
|
|
serde_derive = "1"
|
|
serde_yaml = "0.8"
|
|
clap = { version = "3", features = ["color"] }
|
|
thiserror = "1"
|
|
anyhow = "1"
|
|
|
|
[features]
|
|
default = ["rustls", "snmalloc"]
|
|
rustls = ["columnq/rustls"]
|
|
native-tls-vendored = ["columnq/native-tls-vendored"]
|
|
native-tls = ["columnq/native-tls"]
|
|
simd = ["columnq/simd"]
|
|
snmalloc = ["snmalloc-rs"]
|
|
|
|
[dev-dependencies]
|
|
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"]}
|
|
async-process = "1.3.0"
|
|
|
|
# TODO: uncomment this when we exclude roapi-http from root workspace
|
|
# [profile.release]
|
|
# lto = true
|
|
# codegen-units = 1
|