nym-task 1.21.2

Task handling
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.87.0"
name = "nym-task"
version = "1.21.2"
authors = ["Nym Technologies SA"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Task handling"
homepage = "https://nymtech.net"
documentation = "https://nymtech.net"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/nymtech/nym"
resolver = "2"

[features]
tokio-tracing = ["tokio/tracing"]

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

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.log]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.47"
features = [
    "macros",
    "sync",
]

[dependencies.tokio-util]
version = "0.7.15"
features = ["rt"]

[dependencies.tracing]
version = "0.1.41"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.47"
features = [
    "signal",
    "time",
    "rt",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.99"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.49"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasmtimer]
version = "0.4.1"
features = ["tokio"]

[lints.clippy]
complexity = "deny"
dbg_macro = "deny"
exit = "deny"
expect_used = "deny"
panic = "deny"
perf = "deny"
style = "deny"
suspicious = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]