[package]
edition = "2024"
rust-version = "1.99.0"
name = "sift-query-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Backend-independent query model and strict parameter parser for SiftQuery"
homepage = "https://docs.rs/sift-query"
documentation = "https://docs.rs/sift-query-core"
readme = "README.md"
keywords = [
"query",
"filter",
"parser",
]
categories = [
"database",
"parsing",
]
license = "Apache-2.0"
repository = "https://github.com/wsafight/sift-query.git"
[features]
chrono = [
"dep:chrono",
"dep:chrono-tz",
]
decimal = ["dep:rust_decimal"]
default = []
json = ["dep:serde_json"]
metadata = ["json"]
postgres-types = [
"json",
"dep:ipnet",
]
rsql = []
serde = [
"dep:serde",
"ipnet?/serde",
]
uuid = ["dep:uuid"]
[lib]
name = "sift_query_core"
path = "src/lib.rs"
[[test]]
name = "buckets"
path = "tests/buckets.rs"
[[test]]
name = "builder"
path = "tests/builder/main.rs"
[[test]]
name = "business_codecs"
path = "tests/business_codecs.rs"
[[test]]
name = "cursor"
path = "tests/cursor.rs"
[[test]]
name = "cursor_codec"
path = "tests/cursor_codec/main.rs"
[[test]]
name = "ecosystem"
path = "tests/ecosystem.rs"
[[test]]
name = "entity_meta"
path = "tests/entity_meta/main.rs"
[[test]]
name = "extensions"
path = "tests/extensions.rs"
[[test]]
name = "parsing"
path = "tests/parsing/main.rs"
[[test]]
name = "predicate"
path = "tests/predicate.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "protocol"
path = "tests/protocol.rs"
[[test]]
name = "raw_params"
path = "tests/raw_params.rs"
[[test]]
name = "row_value_serde"
path = "tests/row_value_serde.rs"
[[test]]
name = "rpc"
path = "tests/rpc.rs"
[[test]]
name = "scope"
path = "tests/scope.rs"
[[test]]
name = "values"
path = "tests/values.rs"
[dependencies.base64]
version = "0.22.1"
[dependencies.chrono]
version = "0.4.42"
features = ["std"]
optional = true
default-features = false
[dependencies.chrono-tz]
version = "0.10.4"
optional = true
[dependencies.hmac]
version = "0.12.1"
[dependencies.indexmap]
version = "2.11.4"
[dependencies.ipnet]
version = "2.12"
optional = true
[dependencies.rust_decimal]
version = "1.39.0"
optional = true
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0.145"
features = ["arbitrary_precision"]
optional = true
[dependencies.sha2]
version = "0.10.9"
[dependencies.sift-query-algorithm]
version = "0.1.0"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.uuid]
version = "1.18.1"
optional = true
default-features = false
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.serde_json]
version = "1.0.145"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
new_ret_no_self = "allow"
too_many_lines = "allow"
type_complexity = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"