# 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 = "2021" name = "leptos_image" version = "0.2.0" authors = ["Nico Burniske"] exclude = ["example/"] description = "Static Image Optimizer for Leptos" readme = "README.md" keywords = ["leptos"] license = "MIT" repository = "https://github.com/nicoburniske/leptos-image" [dependencies.axum] version = "0.7" features = ["macros"] optional = true [dependencies.base64] version = "0.21" [dependencies.dashmap] version = "5" optional = true [dependencies.image] version = "0.24" optional = true [dependencies.leptos] version = "0.6" default-features = false [dependencies.leptos_meta] version = "0.6" default-features = false [dependencies.leptos_router] version = "0.6" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_qs] version = "0.12" [dependencies.thiserror] version = "1" optional = true [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "rt", "fs", ] optional = true [dependencies.tower] version = "0.4" optional = true [dependencies.tower-http] version = "0.5" features = ["fs"] optional = true [dependencies.tracing] version = "0.1" optional = true [dependencies.wasm-bindgen] version = "0.2" [dependencies.web-sys] version = "0.3" features = ["HtmlImageElement"] optional = true [dependencies.webp] version = "0.2" optional = true [dev-dependencies.leptos_axum] version = "0.6.5" [features] hydrate = [ "dep:web-sys", "leptos/hydrate", "leptos_router/hydrate", ] ssr = [ "leptos_router/ssr", "leptos_meta/ssr", "leptos/ssr", "dep:webp", "dep:image", "dep:tokio", "dep:axum", "dep:tower", "dep:tower-http", "dep:tracing", "dep:dashmap", "dep:thiserror", ]