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