[package] name = "beau-gosse-du-92" version = "0.1.0" edition = "2021" license = "AGPL-3.0-or-later" [features] default = [] [package.metadata.spellcheck] config = "./spellcheck.toml" [dependencies] # Errors anyhow = "1.0.75" thiserror = "2.0.0" # Async async-std = "1.12.0" async-trait = "0.1.80" futures = "0.3.29" futures-util = "0.3.29" tokio = { version = "1.34.0", default-features = false, features = ["rt", "sync"] } tokio-stream = "0.1.15" # Utils base64 = "0.22.0" const_format = "0.2.32" rand = "0.9.1" validator = { version = "0.20.0", features = ["derive"] } # Http client reqwest = "0.12.0" # Password strength estimation zxcvbn = { version = "3.0.0", features = ["ser"] } # Image processing/conversion image = "0.25.1" # Get the application version git-version = "0.3.9" # Conditional compilation cfg-if = "1.0.0" # Logging/tracing tracing = "0.1.40" tracing-forest = "0.1.6" # SCSS -> CSS + usage in rust code turf = "0.10.0" # Dioxus dioxus-free-icons = { version = "0.9", features = ["ionicons", "font-awesome-solid"] } modx = "0.1.4" [target.'cfg(target_family = "wasm")'.dependencies] # Utils getrandom = { version = "0.3.2", features = ["wasm_js"] } # Logging/tracing tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } tracing-web = "0.1.3" # Dioxus dioxus = { version = "0.6.3", features = ["web"] } web-sys = "0.3.69" # Matrix matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", rev = "fa6066b8", default-features = false, features = ["rustls-tls", "js"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] # Utils time = "0.3.36" getrandom = { version = "0.3.2" } # Logging/tracing tracing-subscriber = { version = "0.3.18", features = ["env-filter", "time"] } # Dioxus dioxus = { version = "0.6.3", features = ["desktop"] } # Matrix matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", rev = "fa6066b8", default-features = false, features = ["rustls-tls"] } [target.wasm32-unknown-unknown] rustflags = ['--cfg', 'getrandom_backend="wasm_js"'] [build-dependencies] regex = "1.10.3" [profile] [profile.wasm-dev] inherits = "dev" opt-level = 1 [profile.server-dev] inherits = "dev" [profile.android-dev] inherits = "dev" [package.metadata.turf] minify = true [package.metadata.turf.class_names] template = "--"