# 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_optimizer" version = "0.1.0" authors = ["jinseok Seo"] exclude = ["example/"] description = "Static Image Optimizer for Leptos" readme = "README.md" keywords = [ "leptos", "image", "image-optimization", ] license = "MIT" [dependencies.actix-web] version = "4.4.0" optional = true [dependencies.axum] version = "0.6.4" optional = true [dependencies.base64] version = "0.21.2" [dependencies.futures] version = "0.3.28" optional = true [dependencies.glob] version = "0.3.1" optional = true [dependencies.hyper] version = "0.14" [dependencies.image] version = "0.24.6" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.leptos] version = "0.5.1" default-features = false [dependencies.leptos_meta] version = "0.5.1" default-features = false [dependencies.leptos_router] version = "0.5.1" default-features = false [dependencies.log] version = "0.4.19" optional = true [dependencies.nsvg] version = "0.5.1" default-features = false [dependencies.serde] version = "1.0.164" features = ["derive"] [dependencies.serde_qs] version = "0.12.0" [dependencies.svg_to_png] version = "0.1.0" [dependencies.thiserror] version = "1.0.38" [dependencies.tokio] version = "1.25.0" features = [ "rt", "fs", ] optional = true [dependencies.tower] version = "0.4.13" optional = true [dependencies.tower-http] version = "0.4" features = ["fs"] optional = true [dependencies.wasm-bindgen] version = "=0.2.88" [dependencies.web] version = "0.2.12" [dependencies.web-sys] version = "0.3" features = ["HtmlImageElement"] optional = true [dependencies.webp] version = "0.2.2" optional = true [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:futures", "dep:glob", "dep:log", "dep:actix-web", ]