# 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.85"
name = "logdive-core"
version = "0.1.0"
authors = ["Arya (ArySmart) Gorjipour"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for logdive: structured JSON log parsing, SQLite indexing, and query engine"
readme = "README.md"
keywords = [
    "logs",
    "json",
    "sqlite",
    "query",
    "cli",
]
categories = [
    "command-line-utilities",
    "database",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Aryagorjipour/logdive"
resolver = "2"

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

[[bench]]
name = "bench_ingest"
path = "benches/bench_ingest.rs"
harness = false

[[bench]]
name = "bench_query"
path = "benches/bench_query.rs"
harness = false

[dependencies.blake3]
version = "1.5"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.tempfile]
version = "3"
