# 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 = "rullst"
version = "1.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "O framework fullstack definitivo para Rust, com foco em DX, velocidade e segurança."
readme = "README.md"
license = "MIT"
repository = "https://github.com/venelouis/Rullst"
resolver = "2"

[features]
cache-redis = ["dep:redis"]
default = []
mail-smtp = ["dep:lettre"]
queue-redis = ["dep:redis"]
storage-s3 = [
    "dep:aws-config",
    "dep:aws-sdk-s3",
]

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

[[test]]
name = "error_console_tests"
path = "tests/error_console_tests.rs"

[[test]]
name = "feature_tests"
path = "tests/feature_tests.rs"

[[test]]
name = "testing_tests"
path = "tests/testing_tests.rs"

[dependencies.aws-config]
version = "1"
optional = true

[dependencies.aws-sdk-s3]
version = "1"
optional = true

[dependencies.lettre]
version = "0.11"
features = [
    "tokio1",
    "tokio1-rustls-tls",
    "builder",
    "smtp-transport",
    "hostname",
]
optional = true
default-features = false

[dependencies.redis]
version = "0.27"
features = [
    "tokio-comp",
    "aio",
]
optional = true

[dependencies.rullst-macros]
version = "1.0.3"

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

[dependencies.serde_json]
version = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.aes-gcm]
version = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.argon2]
version = "0.5"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-trait]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.axum]
version = "0.7"
features = [
    "macros",
    "ws",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.base64]
version = "0.22"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cookie]
version = "0.18"
features = ["percent-encoding"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cron]
version = "0.15"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dashmap]
version = "6"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libloading]
version = "0.8"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.notify]
version = "6.1.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "0.8"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rust-eloquent]
version = "1.1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_urlencoded]
version = "0.7"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sha2]
version = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx]
version = "0.8"
features = [
    "sqlite",
    "postgres",
    "mysql",
    "any",
    "runtime-tokio",
    "macros",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.43"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower]
version = "0.4"
features = ["util"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-http]
version = "0.5"
features = [
    "fs",
    "trace",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-layer]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-service]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1"
features = ["v4"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.validator]
version = "0.19"
features = ["derive"]

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1.7"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "Document",
    "Element",
    "Window",
    "EventTarget",
    "HtmlElement",
    "console",
]
