# 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 = "cookie-worker"
version = "0.1.2"
authors = ["Δ ǀ Ξ ȼ <alec@noser.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cookie banner worker for Cloudflare Workers"
readme = "README.md"
license = "Apache-2.0"

[features]
default = ["console_error_panic_hook"]

[lib]
name = "cookie_worker"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.cfg-if]
version = "1"

[dependencies.console_error_panic_hook]
version = "0.1.7"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.toml]
version = "1"

[dependencies.worker]
version = "0.8.3"

[dependencies.worker-macros]
version = "0.8.3"

[profile.release]
opt-level = "s"
