mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
723938a441
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
26 lines
477 B
TOML
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
|