# 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 = "cretrit"
version = "0.5.0"
exclude = [
    "/.git*",
    "Cargo.toml.orig",
]
description = "Flexible Order-Revealing Encryption library"
homepage = "https://enquo.org"
readme = "README.md"
keywords = [
    "encryption",
    "search",
    "query",
    "ore",
]
categories = [
    "algorithms",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/enquo/cretrit"

[profile.bench]
debug = true

[[bench]]
name = "cretrit"
harness = false

[dependencies.aes]
version = "0.8"

[dependencies.cmac]
version = "0.7"

[dependencies.num]
version = "0.3"

[dependencies.rand]
version = "0.8"

[dependencies.rand_chacha]
version = "0.3"

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_bytes]
version = "0.11"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.zeroize]
version = "1.0"
features = ["zeroize_derive"]

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

[dev-dependencies.hex-literal]
version = "0.3"

[dev-dependencies.quickcheck]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0"

[features]
serde = [
    "dep:serde",
    "dep:serde_bytes",
]