saola-kit 0.2.0

Saola core toolkit for Laravel for Rust (contexts, envelope protocol, i18n, masks, modules, Sanctum-compatible tokens)
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"
rust-version = "1.99"
name = "saola-kit"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Saola core toolkit for Laravel for Rust (contexts, envelope protocol, i18n, masks, modules, Sanctum-compatible tokens)"
readme = "README.md"
keywords = [
    "saola",
    "laravel",
    "spa",
    "ssr",
    "web",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/saolabs/saola-kit"

[features]
context = []
database-mysql = ["laravel-rust/database-mysql"]
database-postgres = ["laravel-rust/database-postgres"]
database-sqlite = ["laravel-rust/database-sqlite"]
default = [
    "context",
    "envelope",
    "masks",
    "i18n",
    "module",
]
envelope = []
full = [
    "context",
    "envelope",
    "masks",
    "i18n",
    "module",
    "tokens",
    "repository",
    "smtp",
    "view",
    "permission",
]
i18n = [
    "dep:sha2",
    "dep:hex",
]
masks = []
module = ["context"]
permission = [
    "context",
    "dep:saola-permission",
]
repository = []
smtp = ["dep:lettre"]
tokens = [
    "laravel-rust/database",
    "dep:sha2",
    "dep:hex",
    "dep:subtle",
    "dep:getrandom",
]
view = [
    "laravel-rust/minijinja",
    "i18n",
    "context",
    "envelope",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.getrandom]
version = "0.4"
optional = true

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.laravel-rust]
version = ">=0.1, <0.3"
default-features = false

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

[dependencies.saola-permission]
version = "0.2.0"
optional = true

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.sha2]
version = "0.11"
optional = true

[dependencies.subtle]
version = "2"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.laravel-rust]
version = ">=0.1, <0.3"
features = [
    "database-sqlite",
    "minijinja",
]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = ["macros"]

[lints.clippy.all]
level = "warn"
priority = -1