# 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"
name = "rig-helixdb"
version = "0.40.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rig vector store index integration for HelixDB."
readme = "README.md"
license = "MIT"
repository = "https://github.com/0xPlaygrounds/rig"

[features]
default = ["rustls"]
native-tls = [
    "reqwest/native-tls",
    "rig-core/native-tls",
]
rustls = [
    "reqwest/rustls",
    "rig-core/rustls",
]

[lib]
name = "rig_helixdb"
path = "src/lib.rs"

[[example]]
name = "vector_search_helixdb"
path = "examples/vector_search_helixdb.rs"
required-features = ["rig-core/derive"]

[dependencies.reqwest]
version = "0.13"
features = ["json"]
default-features = false

[dependencies.rig-core]
version = "0.40.0"
default-features = false

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.12"

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
dbg_macro = "forbid"
expect_fun_call = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
panic_in_result_fn = "deny"
todo = "forbid"
unimplemented = "forbid"
unreachable = "deny"
unwrap_used = "deny"
