2023-12-19 12:04:02 +03:00
[ workspace ]
resolver = "2"
2024-03-06 20:14:24 +03:00
2024-08-21 17:02:43 +03:00
package . version = "3.0.0"
2024-03-06 20:14:24 +03:00
package . edition = "2021"
package . license = "Apache-2.0"
2023-12-19 12:04:02 +03:00
members = [
2024-05-01 12:04:24 +03:00
"crates/auth/*" ,
2024-08-21 17:02:43 +03:00
"crates/compatibility" ,
2024-05-01 12:04:24 +03:00
"crates/custom-connector" ,
"crates/engine" ,
2024-05-17 17:41:32 +03:00
"crates/execute" ,
2024-09-10 18:09:22 +03:00
"crates/frontends/*" ,
2024-09-17 16:34:04 +03:00
"crates/graphql/*" ,
2024-09-25 16:47:46 +03:00
"crates/graphql-ws" ,
2024-09-10 13:25:01 +03:00
"crates/jsonapi" ,
2024-05-01 12:04:24 +03:00
"crates/lang-graphql" ,
2024-05-02 15:28:27 +03:00
"crates/metadata-resolve" ,
2024-05-01 12:04:24 +03:00
"crates/metadata-schema-generator" ,
"crates/open-dds" ,
2024-09-24 17:16:24 +03:00
"crates/plan" ,
2024-07-03 15:57:38 +03:00
"crates/plugins/*" ,
2024-05-28 12:50:21 +03:00
"crates/query-usage-analytics" ,
2024-06-25 21:45:49 +03:00
"crates/sql" ,
2024-05-01 12:04:24 +03:00
"crates/utils/*" ,
2023-12-19 12:04:02 +03:00
]
2024-08-13 16:42:38 +03:00
# generally following guidance from https://nnethercote.github.io/perf-book/build-configuration.html
[ profile . release ]
codegen-units = 1 # reduce parallelisation to increase optimisations
2024-04-08 13:13:26 +03:00
[ workspace . lints . clippy ]
all = { level = "warn" , priority = -1 }
pedantic = { level = "warn" , priority = -1 }
2024-06-24 14:46:07 +03:00
# ban printing to stdout and stderr
print_stdout = "warn"
print_stderr = "warn"
2024-06-24 17:08:11 +03:00
# unstable warnings; we might need to suppress them
redundant_clone = "warn"
2024-06-28 01:21:04 +03:00
# disable this warning until
# https://github.com/rust-lang/rust-clippy/issues/12643 is fixed
manual_unwrap_or_default = "allow"
2024-04-08 13:13:26 +03:00
# disable certain pedantic warnings
doc_markdown = "allow"
2024-06-11 18:32:43 +03:00
implicit_hasher = "allow"
2024-04-08 13:13:26 +03:00
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
2024-06-11 18:32:43 +03:00
return_self_not_must_use = "allow"
2024-06-04 11:42:01 +03:00
struct_field_names = "allow"
2024-04-08 13:13:26 +03:00
wildcard_imports = "allow"
2024-08-23 17:00:43 +03:00
trivially_copy_pass_by_ref = "allow"
2024-04-08 13:13:26 +03:00
# disable these for now, but we should probably fix them
result_large_err = "allow"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
unreadable_literal = "allow"
used_underscore_binding = "allow"
2024-05-16 12:04:07 +03:00
[ workspace . lints . rustdoc ]
private_intra_doc_links = "allow"
2024-06-20 15:25:06 +03:00
[ workspace . dependencies ]
2024-08-28 18:48:02 +03:00
ndc-models = { git = "https://github.com/hasura/ndc-spec.git" , rev = "54baf298b5d6a69f12a701e9f0e3ce8f188a194d" } # When you update this tag, also update the schema references in crates/open-dds/src/data_connector.rs
2024-08-26 16:46:12 +03:00
ndc-models-v01 = { package = "ndc-models" , git = "https://github.com/hasura/ndc-spec.git" , tag = "v0.1.6" }
2024-06-20 15:25:06 +03:00
anyhow = "1"
apollo-parser = "0.7"
async-graphql-parser = "7"
async-recursion = "1"
2024-08-15 12:04:57 +03:00
async-trait = "0.1"
2024-06-20 15:25:06 +03:00
axum = "0.6"
base64 = "0.22"
bincode = "1"
2024-09-25 16:47:46 +03:00
blake2 = "0.10.6"
2024-06-20 15:25:06 +03:00
bson = "2"
build-data = "0.2"
bytes = "1"
2024-08-21 17:02:43 +03:00
chrono = "0.4"
2024-06-20 15:25:06 +03:00
clap = "4"
convert_case = "0.6"
cookie = "0.18"
criterion = "0.5"
darling = "0.20"
2024-08-15 12:04:57 +03:00
datafusion = "41"
2024-06-20 15:25:06 +03:00
derive_more = "0.99"
diffy = "0.4"
env_logger = "0.11"
expect-test = "1"
2024-08-15 12:04:57 +03:00
futures = "0.3"
2024-06-20 15:25:06 +03:00
futures-util = "0.3"
goldenfile = "1"
graphql-parser = "0.4"
http = "0.2"
human_bytes = "0.4"
indexmap = "2"
insta = "1"
json_value_merge = "2"
2024-09-17 18:44:12 +03:00
jsonapi_library = { package = "jsonapi" , git = "https://github.com/hasura/jsonapi-rust.git" , rev = "b908b340ddfc620d33b71f279b88a0233bd5ff5c" }
2024-06-20 15:25:06 +03:00
jsonptr = "0.4"
jsonwebkey = "0.3"
jsonwebtoken = "8"
2024-09-25 16:47:46 +03:00
lazy_static = "1.5.0"
2024-06-20 15:25:06 +03:00
lexical-core = "0.8"
2024-08-13 12:54:08 +03:00
mimalloc = "0.1"
2024-08-07 18:02:33 +03:00
mockito = { version = "~1.4" , default-features = false } # v1.5+ depends on http v1
2024-06-20 15:25:06 +03:00
nonempty = "0.10"
openssl = "0.10"
2024-09-26 17:44:02 +03:00
opentelemetry = "0.23"
opentelemetry-contrib = "0.15"
opentelemetry-http = "0.12"
opentelemetry-otlp = "0.16"
opentelemetry-semantic-conventions = "0.15"
opentelemetry-stdout = { version = "0.4" , default-features = false }
opentelemetry-zipkin = "0.21"
opentelemetry_sdk = "0.23"
2024-06-20 15:25:06 +03:00
postcard = "1"
pretty_assertions = "1"
proc-macro2 = "1"
quote = "1"
rand = "0.8"
ref-cast = "1"
regex = "1"
reqwest = "0.11"
rmp-serde = "1"
2024-07-25 17:30:31 +03:00
semver = "1.0"
2024-06-20 15:25:06 +03:00
schemars = "0.8"
serde = "1"
serde_json = "1"
serde_path_to_error = "0.1"
serde_with = "3"
sha2 = "0.10"
smol_str = "0.1"
strum = "0.26"
strum_macros = "0.26"
syn = "2"
thiserror = "1"
tokio = "1"
tokio-test = "0.4"
tower = "0.4"
tower-http = "0.4"
tracing = "0.1"
tracing-subscriber = "0.3"
transitive = "0.5"
url = "2"
2024-09-25 16:47:46 +03:00
uuid = "1"