# 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.85"
name = "tagotip-codec"
version = "0.1.0-beta.2"
authors = ["TagoIO Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std TagoTiP protocol codec (parser and builder)"
homepage = "https://tago.io"
readme = "README.md"
keywords = [
    "iot",
    "protocol",
    "tagotip",
    "codec",
    "no-std",
]
categories = [
    "no-std",
    "network-programming",
    "parser-implementations",
    "embedded",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/tago-io/tagotip-sdk"

[features]
default = []
std = []

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

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

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

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

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

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

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

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

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

[dev-dependencies]

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
iter_without_into_iter = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
single_match = "allow"
single_match_else = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_wraps = "allow"

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

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