mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 06:12:55 +00:00
* chore: pass compile Signed-off-by: shuiyisong <xixing.sys@gmail.com> * fix: default case Signed-off-by: shuiyisong <xixing.sys@gmail.com> * fix: test Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: remove and move code Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: remove serde_value to vrlvalue conversion Signed-off-by: shuiyisong <xixing.sys@gmail.com> * refactor: optimized vrl value related code Signed-off-by: shuiyisong <xixing.sys@gmail.com> * refactor: loki transform using vrl Signed-off-by: shuiyisong <xixing.sys@gmail.com> * fix: remove unused error Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: fix cr issue Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: use from_utf8_lossy_owned Signed-off-by: shuiyisong <xixing.sys@gmail.com> * chore: CR issue Signed-off-by: shuiyisong <xixing.sys@gmail.com> --------- Signed-off-by: shuiyisong <xixing.sys@gmail.com>
174 lines
5.1 KiB
TOML
174 lines
5.1 KiB
TOML
[package]
|
|
name = "servers"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
dashboard = []
|
|
mem-prof = ["dep:common-mem-prof"]
|
|
pprof = ["dep:common-pprof"]
|
|
testing = []
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
local-ip-address.workspace = true
|
|
|
|
[dependencies]
|
|
ahash.workspace = true
|
|
api.workspace = true
|
|
arrow.workspace = true
|
|
arrow-flight.workspace = true
|
|
arrow-ipc.workspace = true
|
|
arrow-schema.workspace = true
|
|
async-trait.workspace = true
|
|
auth.workspace = true
|
|
axum = { workspace = true, features = ["multipart"] }
|
|
axum-extra = { workspace = true, features = ["typed-header"] }
|
|
axum-macros.workspace = true
|
|
base64.workspace = true
|
|
bytes.workspace = true
|
|
catalog.workspace = true
|
|
chrono.workspace = true
|
|
common-base.workspace = true
|
|
common-catalog.workspace = true
|
|
common-config.workspace = true
|
|
common-error.workspace = true
|
|
common-frontend.workspace = true
|
|
common-grpc.workspace = true
|
|
common-macro.workspace = true
|
|
common-mem-prof = { workspace = true, optional = true }
|
|
common-meta.workspace = true
|
|
common-plugins.workspace = true
|
|
common-pprof = { workspace = true, optional = true }
|
|
common-query.workspace = true
|
|
common-recordbatch.workspace = true
|
|
common-runtime.workspace = true
|
|
common-session.workspace = true
|
|
common-sql.workspace = true
|
|
common-telemetry.workspace = true
|
|
common-time.workspace = true
|
|
common-version = { workspace = true, features = ["codec"] }
|
|
csv = "1.3"
|
|
dashmap.workspace = true
|
|
datafusion.workspace = true
|
|
datafusion-common.workspace = true
|
|
datafusion-expr.workspace = true
|
|
datatypes.workspace = true
|
|
derive_builder.workspace = true
|
|
futures.workspace = true
|
|
futures-util.workspace = true
|
|
headers = "0.4"
|
|
hostname = "0.3"
|
|
http.workspace = true
|
|
http-body = "1"
|
|
humantime.workspace = true
|
|
humantime-serde.workspace = true
|
|
hyper = { workspace = true, features = ["full"] }
|
|
indexmap = "2.8"
|
|
influxdb_line_protocol = { git = "https://github.com/evenyag/influxdb_iox", branch = "feat/line-protocol" }
|
|
itertools.workspace = true
|
|
jsonb.workspace = true
|
|
lazy_static.workspace = true
|
|
log-query.workspace = true
|
|
loki-proto.workspace = true
|
|
mime_guess = "2.0"
|
|
notify.workspace = true
|
|
object-pool = "0.5"
|
|
once_cell.workspace = true
|
|
openmetrics-parser = "0.4"
|
|
simd-json.workspace = true
|
|
socket2 = "0.5"
|
|
# use crates.io version once the following PRs is merged into the nextest release
|
|
# 1. fix: Use After Free in PacketReader in https://github.com/databendlabs/opensrv/pull/67
|
|
# 2. Use ring, instead of aws-lc-rs in https://github.com/databendlabs/opensrv/pull/72
|
|
opensrv-mysql = { git = "https://github.com/datafuselabs/opensrv", rev = "a1fb4da215c8693c7e4f62be249a01b7fec52997" }
|
|
opentelemetry-proto.workspace = true
|
|
otel-arrow-rust.workspace = true
|
|
parking_lot.workspace = true
|
|
#pgwire = { version = "0.30", default-features = false, features = ["server-api-ring"] }
|
|
pgwire = { git = "https://github.com/sunng87/pgwire", rev = "127573d997228cfb70c7699881c568eae8131270", default-features = false, features = [
|
|
"server-api-ring",
|
|
] }
|
|
pin-project = "1.0"
|
|
pipeline.workspace = true
|
|
postgres-types = { version = "0.2", features = ["with-chrono-0_4", "with-serde_json-1"] }
|
|
prometheus.workspace = true
|
|
promql-parser.workspace = true
|
|
prost.workspace = true
|
|
query.workspace = true
|
|
quoted-string = "0.6"
|
|
rand.workspace = true
|
|
regex.workspace = true
|
|
reqwest.workspace = true
|
|
rust-embed = { version = "6.6", features = ["debug-embed"] }
|
|
rustls = { workspace = true, default-features = false, features = ["ring", "logging", "std", "tls12"] }
|
|
rustls-pemfile = "2.0"
|
|
rustls-pki-types = "1.0"
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
session.workspace = true
|
|
snafu.workspace = true
|
|
snap = "1"
|
|
sql.workspace = true
|
|
store-api.workspace = true
|
|
strum.workspace = true
|
|
table.workspace = true
|
|
tokio.workspace = true
|
|
tokio-rustls.workspace = true
|
|
tokio-stream = { workspace = true, features = ["net"] }
|
|
tokio-util.workspace = true
|
|
tonic.workspace = true
|
|
tonic-reflection = "0.12"
|
|
tower = { workspace = true, features = ["full"] }
|
|
tower-http = { version = "0.6", features = ["full"] }
|
|
tracing.workspace = true
|
|
urlencoding = "2.1"
|
|
uuid.workspace = true
|
|
vrl.workspace = true
|
|
zstd.workspace = true
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
tikv-jemalloc-ctl = { version = "0.6", features = ["use_std", "stats"] }
|
|
|
|
[dev-dependencies]
|
|
auth = { workspace = true, features = ["testing"] }
|
|
catalog = { workspace = true, features = ["testing"] }
|
|
client = { workspace = true, features = ["testing"] }
|
|
common-base.workspace = true
|
|
common-test-util.workspace = true
|
|
criterion = "0.5"
|
|
json5 = "0.4"
|
|
mysql_async = { version = "0.35", default-features = false, features = [
|
|
"default-rustls-ring",
|
|
] }
|
|
permutation = "0.4"
|
|
rand.workspace = true
|
|
serde_json.workspace = true
|
|
session = { workspace = true, features = ["testing"] }
|
|
table.workspace = true
|
|
tempfile = "3.0.0"
|
|
tokio-postgres = "0.7"
|
|
tokio-postgres-rustls = "0.12"
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
pprof = { version = "0.14", features = ["criterion", "flamegraph"] }
|
|
|
|
[build-dependencies]
|
|
common-version.workspace = true
|
|
|
|
[[bench]]
|
|
name = "bench_prom"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "to_http_output"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "loki_labels"
|
|
harness = false
|