impulse-utils 1.0.0-alpha.9

Bunch of fullstack utils
Documentation
# 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 = "2024"
name = "impulse-utils"
version = "1.0.0-alpha.9"
authors = ["Klimenty Titov <aclo.create@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bunch of fullstack utils"
readme = "README.md"
license = "MIT"
resolver = "2"

[features]
cresult = []
default = [
    "salvo",
    "reqwest",
    "mresult",
    "cresult",
]
mresult = ["salvo"]
reqwest = [
    "dep:reqwest",
    "cresult",
]
salvo = ["dep:salvo"]

[lib]
name = "impulse_utils"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.http]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.rmp-serde]
version = "1.3"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.tracing]
version = "0.1"

[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies.salvo]
version = "^0.85.0"
features = [
    "oapi",
    "rustls",
    "compression",
]
optional = true
default-features = false

[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies.sonic-rs]
version = "0.5.1"