Cargo Features
grafbase-sdk has no features set by default.
[dependencies]
grafbase-sdk = { version = "0.13.0", features = ["test-utils", "jq-selection"] }
- test-utils
-
Test utilities to write integration tests for your extension. The Grafbase CLI will automatically generate an example test with the
grafbase extension init
command. You can also check out Grafbase's extension repository for examplesEnables anyhow, async-tungstenite ^0.28.0, duct, fslock, futures-util, grafbase-sdk-mock, graphql-composition, graphql-federated-graph, graphql-ws-client, indoc, reqwest, tempfile, tokio, toml, tungstenite, and which
Affects
grafbase-sdk::test
… - jq-selection
-
Utilities to use
jq
-like selection to process data in your extension like the rest extension.Enables hashbrown, jaq-core, jaq-json, and jaq-std
jaq-core:
jq selection
Affects
grafbase-sdk::jq_selection
…