[package] name = "cc-utils" description = "Rust Fullstack utils (strict error handling, `Consider` trait, MessagePack support, etc.) for Salvo and Yew/Dioxus/Leptos/*" version = "0.2.22" edition = "2021" license = "MIT" authors = ["Klimenty Titov "] repository = "https://github.com/markcda/cc-utils" [features] default = ["salvo", "reqwest", "bb8-redis", "bb8-mongo", "sea-orm", "dotenv", "log4rs", "serde-yaml", "base64", "uuid", "sqlx", "web-sys", "web-ws"] base64 = ["dep:base64"] salvo = ["dep:salvo"] reqwest = ["dep:reqwest"] bb8-redis = ["dep:bb8", "dep:bb8-redis"] bb8-mongo = ["dep:bb8", "dep:mongodb", "dep:bb8-mongodb"] sea-orm = ["dep:sea-orm"] dotenv = ["dep:dotenv"] log4rs = ["dep:log4rs"] serde-yaml = ["dep:serde_yaml"] uuid = ["dep:uuid"] sqlx = ["dep:sqlx"] web-sys = ["dep:web-sys"] web-ws = ["dep:ws_stream_wasm"] [dependencies] base64 = { version = "0.22", optional = true } bb8 = { version = "0.8", optional = true } bb8-mongodb = { version = "0.2", optional = true } bb8-redis = { version = "0.15", optional = true } dotenv = { version = "0.15", optional = true } log = "0.4" log4rs = { version = "1.2", optional = true } mongodb = { version = "2.8", optional = true } rmp-serde = "1.1" salvo = { version = "0.68", features = ["oapi", "rustls"], optional = true } sea-orm = { version = "0.12", optional = true } serde = { version = "1", features = ["derive"] } serde_json = "1" serde_yaml = { version = "0.9", optional = true } sqlx = { version = "0.7", default-features = false, optional = true } reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"], optional = true } uuid = { version = "1", features = ["v4", "serde"], optional = true } web-sys = { version = "0.3", optional = true } ws_stream_wasm = { version = "0.7", optional = true }