# 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.95"
name = "hashavatar"
version = "0.11.0"
build = false
exclude = [
    "Screenshot_*.png",
    "fuzz/**",
    "target/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic procedural avatars in Rust with configurable identity hashing and WebP, PNG, JPEG, GIF, and SVG export"
homepage = "https://github.com/valkyoth/hashavatar"
documentation = "https://docs.rs/hashavatar/latest/hashavatar/"
readme = "README.md"
keywords = [
    "avatar",
    "identicon",
    "procedural",
    "webp",
    "svg",
]
categories = [
    "multimedia::images",
    "graphics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/valkyoth/hashavatar"

[features]
blake3 = ["dep:blake3"]
default = []
xxh3 = ["dep:xxhash-rust"]

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

[dependencies.blake3]
version = "1.8.5"
optional = true
default-features = true

[dependencies.image]
version = "0.25.10"
features = [
    "gif",
    "jpeg",
    "png",
    "webp",
]
default-features = false

[dependencies.palette]
version = "0.7.6"
features = ["std"]
default-features = false

[dependencies.rand]
version = "0.10.1"
features = [
    "std",
    "std_rng",
]
default-features = false

[dependencies.sha2]
version = "0.11.0"
features = ["alloc"]
default-features = false

[dependencies.subtle]
version = "2.6.1"
default-features = false

[dependencies.xxhash-rust]
version = "0.8.15"
features = ["xxh3"]
optional = true
default-features = false

[dependencies.zeroize]
version = "1.8.2"
features = ["alloc"]
default-features = false
