# 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 = "hotaru_lib"
version = "0.8.0"
authors = ["Redstone <redstone@fds.moe>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Small, sweet, easy framework for full-stack web application"
readme = "README.md"
keywords = ["hotaru"]
categories = [
    "network-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/Field-of-Dreams-Studio/hotaru"

[features]
compression = [
    "dep:flate2",
    "dep:brotli",
    "dep:zstd",
]
default = [
    "url_encoding",
    "random",
]
ende = [
    "dep:aes-gcm",
    "dep:pbkdf2",
    "dep:hmac",
    "dep:hkdf",
    "dep:sha2",
    "dep:base64",
    "dep:rand",
]
random = ["dep:rand"]
url_encoding = ["dep:percent-encoding"]

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

[dependencies.aes-gcm]
version = "0.10.3"
optional = true

[dependencies.base64]
version = "0.21.0"
optional = true

[dependencies.brotli]
version = "3.3"
optional = true

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

[dependencies.hkdf]
version = "0.12.4"
optional = true

[dependencies.hmac]
version = "0.12.1"
optional = true

[dependencies.pbkdf2]
version = "0.12.1"
optional = true

[dependencies.percent-encoding]
version = "2.2"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.sha2]
version = "0.10.6"
optional = true

[dependencies.zstd]
version = "0.12"
optional = true
