avatar 0.1.1

👦 A highly customizable avatar component for WASM frameworks like Yew, Dioxus, and Leptos.
Documentation
# 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.89"
name = "avatar"
version = "0.1.1"
authors = ["Mahmoud Harmouch <oss@wiseai.dev>"]
build = false
exclude = [
    "/assets",
    "/examples",
    ".*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "👦 A highly customizable avatar component for WASM frameworks like Yew, Dioxus, and Leptos."
documentation = "https://docs.rs/avatar"
readme = "README.md"
keywords = [
    "avatar",
    "yew",
    "dioxus",
    "leptos",
    "avatar",
]
categories = [
    "web-programming",
    "science",
]
license = "MIT"
repository = "https://github.com/opensass/avatar"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
dio = [
    "dioxus",
    "dioxus-logger",
    "image-rs/dio",
]
lep = [
    "leptos",
    "image-rs/lep",
    "gloo-timers",
]
yew = [
    "dep:yew",
    "image-rs/yew",
    "dep:web-sys",
]

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

[dependencies.dioxus]
version = "0.7.10"
optional = true

[dependencies.dioxus-logger]
version = "0.7.10"
optional = true

[dependencies.gloo-timers]
version = "0.4.0"
features = ["futures"]
optional = true

[dependencies.image-rs]
version = "0.1.2"
optional = true

[dependencies.leptos]
version = "0.8.20"
optional = true

[dependencies.web-sys]
version = "0.3.106"
features = ["HtmlImageElement"]
optional = true

[dependencies.yew]
version = "0.23.0"
optional = true
default-features = false

[dev-dependencies.bump2version]
version = "0.2.2"

[profile.release]
opt-level = "z"
lto = "thin"
codegen-units = 1
debug = 0
panic = "abort"
incremental = false
strip = "symbols"