# 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 = "fathomdb-query"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Query AST, builder, and SQL compiler for the fathomdb agent datastore"
readme = false
license = "MIT"
repository = "https://github.com/coreyt/fathomdb"
resolver = "2"

[features]
tracing = ["dep:tracing"]

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

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tracing]
version = "0.1"
features = [
    "log",
    "release_max_level_info",
]
optional = true

[dev-dependencies.insta]
version = "1.42.2"
features = ["yaml"]

[dev-dependencies.rstest]
version = "0.24.0"

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
