qql-cli 0.4.0

Command-line interface, REPL, converter, and migration tools for QQL
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.98"
name = "qql-cli"
version = "0.4.0"
authors = ["Srimon Danguria <srimon12mckv@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface, REPL, converter, and migration tools for QQL"
homepage = "https://github.com/srimon12/qql-rs"
documentation = "https://docs.rs/qql-cli"
readme = "README.md"
keywords = [
    "qql",
    "qdrant",
    "cli",
    "vector-search",
    "query-language",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/srimon12/qql-rs"
resolver = "2"

[features]
default = [
    "grpc",
    "rest",
]
edge = [
    "qql-edge",
    "qql-edge/fastembed-local",
    "qql-edge/http-embedding",
]
full = [
    "edge",
    "record",
]
grpc = ["qql/grpc"]
record = [
    "dep:axum",
    "dep:reqwest",
    "tokio/net",
    "tokio/io-util",
]
rest = ["qql/rest"]

[[bin]]
name = "qql"
path = "src/main.rs"

[[test]]
name = "config_edge"
path = "tests/config_edge.rs"

[[test]]
name = "convert_cli"
path = "tests/convert_cli.rs"

[[test]]
name = "edge_bootstrap"
path = "tests/edge_bootstrap.rs"

[[test]]
name = "edge_commands"
path = "tests/edge_commands.rs"

[[test]]
name = "fmt_cli"
path = "tests/fmt_cli.rs"

[[test]]
name = "lint_cli"
path = "tests/lint_cli.rs"

[[test]]
name = "setup_config_cli"
path = "tests/setup_config_cli.rs"

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "tokio",
]
optional = true
default-features = false

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.mimalloc]
version = "0.1"

[dependencies.qql]
version = "0.4.0"
default-features = false

[dependencies.qql-convert]
version = "0.4.0"

[dependencies.qql-core]
version = "0.4.0"
features = [
    "serde",
    "json",
    "std",
]

[dependencies.qql-edge]
version = "0.4.0"
optional = true
default-features = false

[dependencies.qql-plan]
version = "0.4.0"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true
default-features = false

[dependencies.rustyline]
version = "18"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.43"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "signal",
    "time",
]

[dependencies.unicode-width]
version = "0.2"

[lints.rust]
missing_docs = "warn"