[workspace] members = [ "crates/erplt", "crates/erplt-config", "crates/erplt-api", "crates/erplt-db", "crates/erplt-ledger", ] resolver = "3" [workspace.dependencies] anyhow = "1.0.104" axum = { version = "0.8.9", features = ["macros"] } chrono = { version = "0.4.45", features = ["serde"] } console_error_panic_hook = "0.1.7" diesel = { version = "2.3.13", features = ["postgres", "uuid", "chrono", "r2d2"] } diesel_migrations = "2.3.2" leptos = { version = "0.8.20", features = ["hydration"] } leptos_axum = { version = "0.8.10", features = ["tracing", "wasm"]} leptos_meta = "0.8.6" leptos_router = { version = "0.8.15", features = ["tracing"] } serde = { version = "1.0.229", features = ["derive"] } serde_json = "1.0.151" thiserror = "2.0.20" tokio = { version = "1.53.1", features = ["rt-multi-thread","macros"] } tracing = "0.1.44" tracing-subscriber = { version = "0.3.23", features = ["env-filter"] } uuid = { version = "1.26.0", features = ["v4", "serde"] } wasm-bindgen = "0.2.128" clap = { version = "4.6.6", features = ["derive"] } toml = "1.1.5" camino = { version = "1.2.5", features = ["serde1"]} humantime = "2.4.0" humantime-serde = "1.1.1" any_spawner = { version = "0.3", features = ["tokio"] } [profile.wasm-release] inherits = "release" opt-level = 'z' lto = true codegen-units = 1 panic = "abort" [[workspace.metadata.leptos]] name="erplt" bin-package="erplt" lib-package="erplt" # The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate name output-name = "erplt" # The site root folder is where cargo-leptos generate all output. WARNING: all content of this folder will be erased on a rebuild. Use it in your server setup. site-root = "target/site" # The site-root relative folder where all compiled output (JS, WASM and CSS) is written # Defaults to pkg site-pkg-dir = "pkg" # The tailwind input file. # # Optional, Activates the tailwind build tailwind-input-file = "crates/erplt-api/style/tailwind.css" # [Optional] Files in the asset-dir will be copied to the site-root directory assets-dir = "public" # The port to use for automatic reload monitoring site-addr = "0.0.0.0:8080" reload-port = 8081 # [Optional] Command to use when running end2end tests. It will run in the end2end dir. # [Windows] for non-WSL use "npx.cmd playwright test" # This binary name can be checked in Powershell with Get-Command npx end2end-cmd = "npx playwright test" end2end-dir = "end2end" # The browserlist query used for optimizing the CSS. browserquery = "defaults" # Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" env = "DEV" # The features to use when compiling the bin target # # Optional. Can be over-ridden with the command line parameter --bin-features bin-features = ["ssr"] # If the --no-default-features flag should be used when compiling the bin target # # Optional. Defaults to false. bin-default-features = false # The features to use when compiling the lib target # # Optional. Can be over-ridden with the command line parameter --lib-features lib-features = ["hydrate"] # If the --no-default-features flag should be used when compiling the lib target # # Optional. Defaults to false. lib-default-features = false