# 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 = "slipmux"
version = "0.4.1"
authors = ["Bennet Hattesen <bennet.hattesen@haw-hamburg.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Slipmux de- and encoding"
homepage = "https://github.com/teufelchen1/slipmux"
readme = "README.md"
keywords = [
    "slip",
    "serial",
    "uart",
    "coap",
]
categories = [
    "encoding",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/teufelchen1/slipmux"

[features]
default = ["std"]
std = []

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

[dependencies.serial-line-ip]
version = "0.5"

[dev-dependencies.coap-lite]
version = "0.13"

[lints.clippy]
cargo_common_metadata = "warn"
cast_possible_truncation = "allow"
let_underscore_untyped = "warn"
option-if-let-else = "allow"
single_match_else = "allow"
str_to_string = "warn"

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[profile.release]
lto = true
