cot_core 0.6.0

The Rust web framework for lazy developers - framework core.
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.88"
name = "cot_core"
version = "0.6.0"
authors = [
    "Mateusz Maćkowski <mateusz@mackowski.org>",
    "Marek Grzelak <marek.grzelak@seqre.dev>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Rust web framework for lazy developers - framework core."
homepage = "https://cot.rs"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "server",
    "backend",
]
categories = [
    "web-programming",
    "web-programming::http-server",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cot-rs/cot"
resolver = "2"

[features]
default = []
json = []
schemars = ["dep:schemars"]

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

[dependencies.askama]
version = "0.15.4"
features = ["alloc"]
default-features = false

[dependencies.axum]
version = "0.8"
default-features = false

[dependencies.backtrace]
version = "0.3.76"

[dependencies.bytes]
version = "1.11"

[dependencies.cot_macros]
version = "0.6.0"

[dependencies.derive_more]
version = "2"
features = [
    "debug",
    "deref",
    "display",
    "from",
]

[dependencies.form_urlencoded]
version = "1"

[dependencies.futures-core]
version = "0.3"
default-features = false

[dependencies.futures-util]
version = "0.3"
default-features = false

[dependencies.http]
version = "1.4"

[dependencies.http-body]
version = "1"

[dependencies.http-body-util]
version = "0.1.3"

[dependencies.indexmap]
version = "2"

[dependencies.schemars]
version = "0.9"
features = ["derive"]
optional = true
default-features = false

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

[dependencies.serde_html_form]
version = "0.4"
features = [
    "de",
    "std",
]
default-features = false

[dependencies.serde_json]
version = "1"

[dependencies.serde_path_to_error]
version = "0.1.20"

[dependencies.sync_wrapper]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tower]
version = "0.5.3"

[dependencies.tower-sessions]
version = "0.15"
default-features = false

[dev-dependencies.async-stream]
version = "0.3"

[dev-dependencies.futures]
version = "0.3"
default-features = false

[dev-dependencies.tokio]
version = "1.49"
default-features = false

[lints.clippy]
allow_attributes = "warn"
future_not_send = "warn"
needless_continue = "allow"

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

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

[lints.rust]
deprecated-safe = "warn"
keyword-idents = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unstable_features = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1