[package]
name = "gqls-cli"
version = "0.6.0"
edition = "2021"
rust-version = "1.82"
description = "Fuzzy and semantic search over a GraphQL schema (SDL, introspection JSON, or a live endpoint), plus a field-to-resolver jump."
license = "MIT"
repository = "https://github.com/dpep/gqls"
homepage = "https://github.com/dpep/gqls"
documentation = "https://github.com/dpep/gqls"
readme = "README.md"
keywords = ["graphql", "schema", "search", "cli"]
categories = ["command-line-utilities"]
[lib]
name = "gqls"
[[bin]]
name = "gqls"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
graphql-parser = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
ureq = { version = "2", features = ["json"] }
ort = { version = "=2.0.0-rc.12", default-features = false, optional = true }
tokenizers = { version = "0.23", default-features = false, features = ["fancy-regex"], optional = true }
hf-hub = { version = "0.5", default-features = false, features = ["ureq"], optional = true }
log = { version = "0.4", optional = true }
rayon = "1"
[features]
default = ["semantic"]
_semantic = [
"dep:ort", "dep:tokenizers", "dep:hf-hub", "dep:log",
"ort/std", "ort/ndarray", "ort/tracing", "ort/api-24",
]
semantic = ["_semantic", "ort/download-binaries", "ort/tls-native", "ort/copy-dylibs"]
semantic-dynamic = ["_semantic", "ort/load-dynamic"]
[profile.release]
strip = true
lto = true
codegen-units = 1