graphql-engine/v3/crates/custom-connector/Cargo.toml
Samir Talwar 723938a441 Bundle custom connector data with the binary. (#480)
This changes the way we build the custom connector so that the data is
baked in at compile time, not loaded from the file system at runtime.
This simplifies packaging.

I also took the liberty to switch out `.unwrap()` for `anyhow`, and to
avoid parsing a string to construct the socket address.

V3_GIT_ORIGIN_REV_ID: d562e0a9852b4e3ecde45bd6938d8eb1b066211b
2024-04-19 15:06:11 +00:00

26 lines
477 B
TOML

[package]
name = "custom-connector"
version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
bench = false
[[bin]]
name = "custom-connector"
path = "src/main.rs"
bench = false
[dependencies]
anyhow = "1"
axum = "0.6"
indexmap = "2"
ndc-models = { git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.2" }
regex = "1"
serde_json = "1"
tokio = { version = "1", features = ["macros", "parking_lot", "rt-multi-thread"] }
[lints]
workspace = true