# 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 = "2021"
name = "nanosql"
version = "0.3.1"
authors = ["Arpad Goretity 'H2CO3' <arpad.goretity@gmail.com>"]
description = "Tiny, strongly-typed data mapper for SQLite"
homepage = "https://github.com/H2CO3/nanosql"
documentation = "https://docs.rs/nanosql"
readme = "README.md"
license = "MIT"
repository = "https://github.com/H2CO3/nanosql"

[[example]]
name = "realistic"
test = true
harness = false

[[example]]
name = "derive"
test = true
harness = false

[[example]]
name = "indexes"
test = true
harness = false

[[example]]
name = "foreign_key"
test = true
harness = false

[[example]]
name = "unique_and_check"
test = true
harness = false

[dependencies.nanosql_macros]
version = "0.3.1"
optional = true

[dependencies.ordered-float]
version = "4.2.1"
optional = true

[dependencies.ptree]
version = "0.4.0"
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.32.0"
features = ["modern_sqlite"]

[dependencies.thiserror]
version = "1.0.63"

[dev-dependencies.compiletest_rs]
version = "0.11.0"

[features]
default = [
    "derive",
    "expr-check",
]
derive = ["dep:nanosql_macros"]
expr-check = ["nanosql_macros/expr-check"]
not-nan = ["dep:ordered-float"]
pretty-eqp = ["dep:ptree"]
