# 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 = "perse" version = "0.1.5" authors = ["Alex Watson "] description = "Perse is a site-builder." readme = "README.md" license = "MPL-2.0" repository = "https://github.com/alexwatever/perse" [package.metadata.cargo-all-features] denylist = [ "actix-files", "actix-web", "leptos_actix", ] skip_feature_sets = [ [ "csr", "ssr", ], [ "csr", "hydrate", ], [ "ssr", "hydrate", ], ] [package.metadata.leptos] assets-dir = "themes/default/assets" bin-default-features = false bin-features = ["ssr"] browserquery = "defaults" end2end-cmd = "npx playwright test" end2end-dir = "end2end" env = "DEV" lib-default-features = false lib-features = ["hydrate"] output-name = "perse" reload-port = 3001 site-addr = "127.0.0.1:3000" site-pkg-dir = "pkg" site-root = "target/site" style-file = "themes/default/style/main.scss" watch = false [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.actix-files] version = "=0.6" optional = true [dependencies.actix-web] version = "=4" features = ["macros"] optional = true [dependencies.cfg-if] version = "=1" [dependencies.console_error_panic_hook] version = "=0.1" [dependencies.dotenv] version = "=0.15.0" optional = true [dependencies.http] version = "=0.2" optional = true [dependencies.leptos] version = "=0.5.0-rc3" features = ["nightly"] [dependencies.leptos_actix] version = "=0.5.0-rc3" optional = true [dependencies.leptos_meta] version = "=0.5.0-rc3" features = ["nightly"] [dependencies.leptos_router] version = "=0.5.0-rc3" features = ["nightly"] [dependencies.once_cell] version = "=1.18.0" optional = true [dependencies.sqlx] version = "=0.7.1" features = [ "postgres", "runtime-tokio", "tls-native-tls", "macros", "uuid", "chrono", "bigdecimal", "json", ] optional = true [dependencies.wasm-bindgen] version = "=0.2.87" [dev-dependencies] [features] hydrate = [ "leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate", ] ssr = [ "dep:dotenv", "dep:sqlx", "dep:once_cell", "dep:actix-files", "dep:actix-web", "leptos/ssr", "leptos_actix", "leptos_meta/ssr", "leptos_router/ssr", ]