2023-12-19 12:04:02 +03:00
|
|
|
[package]
|
|
|
|
name = "engine"
|
2024-03-06 20:14:24 +03:00
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
|
2024-01-09 10:13:02 +03:00
|
|
|
build = "build.rs"
|
2023-12-19 12:04:02 +03:00
|
|
|
|
2024-06-27 17:16:43 +03:00
|
|
|
default-run = "engine"
|
|
|
|
|
2024-03-21 15:41:31 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
2023-12-19 12:04:02 +03:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "engine"
|
|
|
|
path = "bin/engine/main.rs"
|
2024-03-21 15:41:31 +03:00
|
|
|
bench = false
|
2023-12-19 12:04:02 +03:00
|
|
|
|
2024-03-28 12:16:54 +03:00
|
|
|
[[bench]]
|
|
|
|
name = "execute"
|
|
|
|
harness = false
|
|
|
|
|
2023-12-19 12:04:02 +03:00
|
|
|
[dependencies]
|
2024-05-17 17:41:32 +03:00
|
|
|
execute = { path = "../execute" }
|
2024-05-01 12:04:24 +03:00
|
|
|
hasura-authn-core = { path = "../auth/hasura-authn-core" }
|
|
|
|
hasura-authn-jwt = { path = "../auth/hasura-authn-jwt" }
|
|
|
|
hasura-authn-webhook = { path = "../auth/hasura-authn-webhook" }
|
2023-12-19 12:04:02 +03:00
|
|
|
lang-graphql = { path = "../lang-graphql" }
|
|
|
|
open-dds = { path = "../open-dds" }
|
2024-05-01 12:04:24 +03:00
|
|
|
opendds-derive = { path = "../utils/opendds-derive" }
|
2024-05-08 15:04:39 +03:00
|
|
|
schema = { path = "../schema" }
|
2024-06-25 21:45:49 +03:00
|
|
|
sql = { path = "../sql" }
|
2024-05-01 12:04:24 +03:00
|
|
|
tracing-util = { path = "../utils/tracing-util" }
|
2024-05-02 15:28:27 +03:00
|
|
|
metadata-resolve = {path = "../metadata-resolve" }
|
2024-03-28 12:16:54 +03:00
|
|
|
|
2024-06-20 15:25:06 +03:00
|
|
|
anyhow = { workspace = true }
|
|
|
|
axum = { workspace = true }
|
|
|
|
base64 = { workspace = true }
|
|
|
|
clap = { workspace = true, features = ["derive", "env"] }
|
|
|
|
json_value_merge = { workspace = true }
|
|
|
|
reqwest = { workspace = true, features = ["json", "multipart"] }
|
|
|
|
schemars = { workspace = true, features = ["smol_str"] }
|
|
|
|
serde = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
serde_path_to_error = { workspace = true }
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = ["macros", "parking_lot", "rt-multi-thread", "signal"] }
|
|
|
|
tower = { workspace = true }
|
|
|
|
tower-http = { workspace = true, features = ["trace", "cors", "fs"] }
|
2023-12-19 12:04:02 +03:00
|
|
|
|
2024-01-25 11:53:24 +03:00
|
|
|
# Dependencies to build and run build.rs file
|
|
|
|
[build-dependencies]
|
2024-06-20 15:25:06 +03:00
|
|
|
build-data = { workspace = true } # To set short commit-sha at build time
|
2024-01-25 11:53:24 +03:00
|
|
|
|
2023-12-19 12:04:02 +03:00
|
|
|
[dev-dependencies]
|
2024-06-20 15:25:06 +03:00
|
|
|
criterion = { workspace = true, features = ["html_reports", "async_tokio"] }
|
|
|
|
goldenfile = { workspace = true }
|
|
|
|
pretty_assertions = { workspace = true }
|
|
|
|
tokio-test = { workspace = true }
|
2023-12-19 12:04:02 +03:00
|
|
|
|
2024-03-28 12:16:54 +03:00
|
|
|
[package.metadata.cargo-machete]
|
|
|
|
ignored = [
|
2024-04-03 02:38:51 +03:00
|
|
|
"build_data", # cargo-machete ignores build dependencies
|
2024-03-28 12:16:54 +03:00
|
|
|
"serde_path_to_error", # used by opendds-derive
|
|
|
|
]
|
2024-04-08 13:13:26 +03:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|