roapi/roapi-http/Cargo.toml
zemel leong a17887bd75
Add a read-only flag to control table update action. (#156)
* Add a disable-read-only flag to control table update action.

Co-authored-by: zemel leong <zemel.leong@gmail.com>
Co-authored-by: Qingping Hou <dave2008713@gmail.com>
2022-03-19 11:34:36 -07:00

61 lines
1.4 KiB
TOML

[package]
name = "roapi-http"
version = "0.5.4"
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.4", features = ["default", "http2"] }
tower-http = { version = "0", features = ["cors"] }
tower-layer = "0"
tracing = "0"
pin-project = "1"
async-trait = "0"
env_logger = "0"
log = "0"
serde = { version = "1", features = ["rc"] }
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