# 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 = "sapphire-workspace"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Workspace management library for indexing, search, and sync of file-based documents"
readme = "README.md"
keywords = [
    "workspace",
    "markdown",
    "search",
    "sync",
]
categories = [
    "filesystem",
    "database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fluo10/sapphire-workspace"

[features]
default = [
    "sqlite-store",
    "lancedb-store",
    "fastembed-embed",
    "git-sync",
]
fastembed-embed = ["sapphire-retrieve/fastembed-embed"]
git-sync = ["sapphire-sync/git"]
lancedb-store = ["sapphire-retrieve/lancedb-store"]
sqlite-store = ["sapphire-retrieve/sqlite-store"]

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

[dependencies.dirs]
version = "5"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.md-5]
version = "0.10"

[dependencies.sapphire-retrieve]
version = "0.7.0"
default-features = false

[dependencies.sapphire-sync]
version = "0.7.0"
default-features = false

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

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "1.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.walkdir]
version = "2"

[profile.dev.package."*"]
opt-level = 1
