[package]
edition = "2024"
rust-version = "1.90"
name = "hashavatar"
version = "1.0.1"
build = false
exclude = [
"Screenshot_*.png",
".github/images/**",
"fuzz/**",
"target/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stable deterministic procedural avatars in Rust with configurable identity hashing, WebP, optional 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]
all-formats = [
"png",
"jpeg",
"gif",
]
blake3 = ["dep:blake3"]
default = []
fuzzing = []
gif = ["image/gif"]
jpeg = ["image/jpeg"]
png = ["image/png"]
xxh3 = ["dep:xxhash-rust"]
[lib]
name = "hashavatar"
path = "src/lib.rs"
[dependencies.blake3]
version = "1.8.5"
features = ["zeroize"]
optional = true
default-features = true
[dependencies.image]
version = "0.25.10"
features = ["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",
"zeroize",
]
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
[dev-dependencies.roxmltree]
version = "0.21.1"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]