# 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.91"
name = "rskit-util"
version = "0.1.0-alpha.1"
authors = ["kbukum contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure utility functions for rskit"
homepage = "https://github.com/kbukum/rskit"
documentation = "https://docs.rs/rskit-util"
readme = "README.md"
keywords = [
    "utilities",
    "helpers",
    "async",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/kbukum/rskit"
resolver = "2"

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

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

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

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

[dependencies.subtle]
version = "2.6"

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

[dev-dependencies.serde_json]
version = "1"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
wildcard_imports = "allow"

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

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

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

[lints.rust]
dead_code = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_imports = "warn"
unused_variables = "warn"
