# 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 = "oql"
version = "1.0.0"
authors = ["Fabian2000 <Fabian2000@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Readable, declarative query syntax for Rust iterators"
homepage = "https://github.com/Fabian2000/oql"
documentation = "https://docs.rs/oql"
readme = "README.md"
keywords = [
    "query",
    "iterator",
    "dsl",
    "macro",
]
categories = ["rust-patterns"]
license = "MIT"
repository = "https://github.com/Fabian2000/oql"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[example]]
name = "before_after"
path = "examples/before_after.rs"

[[example]]
name = "bench"
path = "examples/bench.rs"

[[example]]
name = "simple_compare"
path = "examples/simple_compare.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "clause_ordering"
path = "tests/clause_ordering.rs"

[[test]]
name = "group_by"
path = "tests/group_by.rs"

[[test]]
name = "join"
path = "tests/join.rs"

[[test]]
name = "laziness"
path = "tests/laziness.rs"

[[test]]
name = "scoping"
path = "tests/scoping.rs"

[[test]]
name = "shadowing"
path = "tests/shadowing.rs"

[[test]]
name = "ui"
path = "tests/ui.rs"

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

[dependencies.oql-macro]
version = "1.0.0"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.trybuild]
version = "1"
