# 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 = "ceres-search"
version = "0.5.0"
authors = ["Andrea Bozzo"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for harvesting, embedding, and searching with Ceres"
readme = "README.md"
keywords = [
    "ckan",
    "dcat",
    "harvesting",
    "cli",
    "open-data",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/AndreaBozzo/Ceres"
resolver = "2"

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.ceres-client]
version = "0.5.0"

[dependencies.ceres-core]
version = "0.5.0"

[dependencies.ceres-db]
version = "0.5.0"

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

[dependencies.dirs]
version = "6.0"

[dependencies.dotenvy]
version = "0.15"

[dependencies.futures]
version = "0.3"

[dependencies.pgvector]
version = "0.4"
features = [
    "sqlx",
    "serde",
]

[dependencies.serde_json]
version = "1.0.148"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-rustls",
    "postgres",
    "uuid",
    "chrono",
    "json",
]

[dependencies.tokio]
version = "1.49.0"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3"

[build-dependencies.vergen]
version = "=9.0.1"

[build-dependencies.vergen-git2]
version = "1.0"
features = [
    "build",
    "cargo",
    "rustc",
    "si",
]
