topcoat-session 0.5.0

A modular, batteries-included Rust web framework for server-rendered apps.
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.95"
name = "topcoat-session"
version = "0.5.0"
authors = ["Julien Scholz <hello@julien-scholz.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modular, batteries-included Rust web framework for server-rendered apps."
readme = "README.md"
keywords = [
    "web",
    "framework",
    "ssr",
    "html",
    "server",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/tokio-rs/topcoat"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.cargo-udeps.ignore]
development = ["topcoat"]

[features]
cookie = ["dep:topcoat-cookie"]
router = ["dep:topcoat-router"]

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

[dependencies.base64]
version = "0.22"

[dependencies.getrandom]
version = "0.4"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.51.1"
features = ["sync"]

[dependencies.topcoat-cookie]
version = "0.5.0"
optional = true

[dependencies.topcoat-core]
version = "0.5.0"

[dependencies.topcoat-router]
version = "0.5.0"
optional = true

[dependencies.web-time]
version = "1.1"

[dev-dependencies]

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]

[lints.clippy]
mod_module_files = "deny"
too_many_lines = "allow"

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

[lints.rust]
unsafe_code = "deny"

[lints.rustdoc]
broken_intra_doc_links = "deny"