[workspace] members = [ "benchmarks", "src/api", "src/auth", "src/catalog", "src/cache", "src/client", "src/cmd", "src/common/base", "src/common/catalog", "src/common/config", "src/common/datasource", "src/common/error", "src/common/frontend", "src/common/function", "src/common/macro", "src/common/greptimedb-telemetry", "src/common/grpc", "src/common/grpc-expr", "src/common/mem-prof", "src/common/meta", "src/common/plugins", "src/common/procedure", "src/common/procedure-test", "src/common/query", "src/common/recordbatch", "src/common/runtime", "src/common/substrait", "src/common/telemetry", "src/common/test-util", "src/common/time", "src/common/decimal", "src/common/version", "src/common/wal", "src/datanode", "src/datatypes", "src/file-engine", "src/flow", "src/frontend", "src/log-store", "src/meta-client", "src/meta-srv", "src/metric-engine", "src/mito2", "src/object-store", "src/operator", "src/partition", "src/plugins", "src/promql", "src/puffin", "src/query", "src/script", "src/servers", "src/session", "src/sql", "src/store-api", "src/table", "src/index", "tests-fuzz", "tests-integration", "tests/runner", ] resolver = "2" [workspace.package] version = "0.8.0" edition = "2021" license = "Apache-2.0" [workspace.lints] clippy.print_stdout = "warn" clippy.print_stderr = "warn" clippy.dbg_macro = "warn" clippy.implicit_clone = "warn" clippy.readonly_write_lock = "allow" rust.unknown_lints = "deny" # Remove this after https://github.com/PyO3/pyo3/issues/4094 rust.non_local_definitions = "allow" [workspace.dependencies] # We turn off default-features for some dependencies here so the workspaces which inherit them can # selectively turn them on if needed, since we can override default-features = true (from false) # for the inherited dependency but cannot do the reverse (override from true to false). # # See for more detaiils: https://github.com/rust-lang/cargo/issues/11329 ahash = { version = "0.8", features = ["compile-time-rng"] } aquamarine = "0.3" arrow = { version = "51.0.0", features = ["prettyprint"] } arrow-array = { version = "51.0.0", default-features = false, features = ["chrono-tz"] } arrow-flight = "51.0" arrow-ipc = { version = "51.0.0", default-features = false, features = ["lz4"] } arrow-schema = { version = "51.0", features = ["serde"] } async-stream = "0.3" async-trait = "0.1" axum = { version = "0.6", features = ["headers"] } base64 = "0.21" bigdecimal = "0.4.2" bitflags = "2.4.1" bytemuck = "1.12" bytes = { version = "1.5", features = ["serde"] } chrono = { version = "0.4", features = ["serde"] } clap = { version = "4.4", features = ["derive"] } config = "0.13.0" crossbeam-utils = "0.8" dashmap = "5.4" datafusion = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } datafusion-common = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } datafusion-expr = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } datafusion-functions = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } datafusion-optimizer = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } datafusion-physical-expr = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } datafusion-physical-plan = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } datafusion-sql = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } datafusion-substrait = { git = "https://github.com/apache/arrow-datafusion.git", rev = "34eda15b73a9e278af8844b30ed2f1c21c10359c" } derive_builder = "0.12" dotenv = "0.15" # TODO(LFC): Wait for https://github.com/etcdv3/etcd-client/pull/76 etcd-client = { git = "https://github.com/MichaelScofield/etcd-client.git", rev = "4c371e9b3ea8e0a8ee2f9cbd7ded26e54a45df3b" } fst = "0.4.7" futures = "0.3" futures-util = "0.3" greptime-proto = { git = "https://github.com/GreptimeTeam/greptime-proto.git", rev = "902f75fdd170c572e90b1f640161d90995f20218" } humantime = "2.1" humantime-serde = "1.1" itertools = "0.10" lazy_static = "1.4" meter-core = { git = "https://github.com/GreptimeTeam/greptime-meter.git", rev = "80b72716dcde47ec4161478416a5c6c21343364d" } mockall = "0.11.4" moka = "0.12" notify = "6.1" num_cpus = "1.16" once_cell = "1.18" opentelemetry-proto = { version = "0.5", features = [ "gen-tonic", "metrics", "trace", ] } parquet = { version = "51.0.0", default-features = false, features = ["arrow", "async", "object_store"] } paste = "1.0" pin-project = "1.0" prometheus = { version = "0.13.3", features = ["process"] } promql-parser = { version = "0.4" } prost = "0.12" raft-engine = { version = "0.4.1", default-features = false } rand = "0.8" regex = "1.8" regex-automata = { version = "0.4" } reqwest = { version = "0.11", default-features = false, features = [ "json", "rustls-tls-native-roots", "stream", "multipart", ] } rskafka = "0.5" rust_decimal = "1.33" schemars = "0.8" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["float_roundtrip"] } serde_with = "3" smallvec = { version = "1", features = ["serde"] } snafu = "0.8" sysinfo = "0.30" # on branch v0.44.x sqlparser = { git = "https://github.com/GreptimeTeam/sqlparser-rs.git", rev = "e4e496b8d62416ad50ce70a1b460c7313610cf5d", features = [ "visitor", ] } strum = { version = "0.25", features = ["derive"] } tempfile = "3" tokio = { version = "1.36", features = ["full"] } tokio-stream = { version = "0.1" } tokio-util = { version = "0.7", features = ["io-util", "compat"] } toml = "0.8.8" tonic = { version = "0.11", features = ["tls", "gzip", "zstd"] } uuid = { version = "1.7", features = ["serde", "v4", "fast-rng"] } zstd = "0.13" ## workspaces members api = { path = "src/api" } auth = { path = "src/auth" } cache = { path = "src/cache" } catalog = { path = "src/catalog" } client = { path = "src/client" } cmd = { path = "src/cmd" } common-base = { path = "src/common/base" } common-catalog = { path = "src/common/catalog" } common-config = { path = "src/common/config" } common-datasource = { path = "src/common/datasource" } common-decimal = { path = "src/common/decimal" } common-error = { path = "src/common/error" } common-frontend = { path = "src/common/frontend" } common-function = { path = "src/common/function" } common-greptimedb-telemetry = { path = "src/common/greptimedb-telemetry" } common-grpc = { path = "src/common/grpc" } common-grpc-expr = { path = "src/common/grpc-expr" } common-macro = { path = "src/common/macro" } common-mem-prof = { path = "src/common/mem-prof" } common-meta = { path = "src/common/meta" } common-plugins = { path = "src/common/plugins" } common-procedure = { path = "src/common/procedure" } common-procedure-test = { path = "src/common/procedure-test" } common-query = { path = "src/common/query" } common-recordbatch = { path = "src/common/recordbatch" } common-runtime = { path = "src/common/runtime" } common-telemetry = { path = "src/common/telemetry" } common-test-util = { path = "src/common/test-util" } common-time = { path = "src/common/time" } common-version = { path = "src/common/version" } common-wal = { path = "src/common/wal" } datanode = { path = "src/datanode" } datatypes = { path = "src/datatypes" } file-engine = { path = "src/file-engine" } flow = { path = "src/flow" } frontend = { path = "src/frontend" } index = { path = "src/index" } log-store = { path = "src/log-store" } meta-client = { path = "src/meta-client" } meta-srv = { path = "src/meta-srv" } metric-engine = { path = "src/metric-engine" } mito2 = { path = "src/mito2" } object-store = { path = "src/object-store" } operator = { path = "src/operator" } partition = { path = "src/partition" } plugins = { path = "src/plugins" } promql = { path = "src/promql" } puffin = { path = "src/puffin" } query = { path = "src/query" } script = { path = "src/script" } servers = { path = "src/servers" } session = { path = "src/session" } sql = { path = "src/sql" } store-api = { path = "src/store-api" } substrait = { path = "src/common/substrait" } table = { path = "src/table" } # TODO some code depends on this tests-integration = { path = "tests-integration" } [workspace.dependencies.meter-macros] git = "https://github.com/GreptimeTeam/greptime-meter.git" rev = "80b72716dcde47ec4161478416a5c6c21343364d" [profile.release] debug = 1 [profile.nightly] inherits = "release" strip = true lto = "thin" debug = false incremental = false [profile.ci] inherits = "dev" debug = false strip = true [profile.dev.package.sqlness-runner] debug = false strip = true