# 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.92.0"
name = "s3s-model"
version = "0.14.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "S3 Protocol Model"
readme = "README.md"
keywords = ["s3"]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/Nugine/s3s"

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.numeric_cast]
version = "0.3.0"

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

[dependencies.serde_json]
version = "1.0.150"

[lints.clippy]
dbg_macro = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
self_named_module_files = "deny"

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

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

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

[lints.rust]
unsafe_code = "forbid"
