# 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.90"
name = "futures_kind"
version = "0.1.1"
authors = ["Brooklyn Zelenka <hello@brooklynzelenka.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Abstractions over Send and !Send futures"
readme = "README.md"
keywords = [
    "futures",
    "async",
    "send",
    "boxed-future",
]
categories = [
    "asynchronous",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/expede/futures_kind"

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

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

[dependencies.futures]
version = "0.3.31"
features = ["alloc"]
default-features = false

[dependencies.futures_kind_macros]
version = "0.1.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
fallible_impl_from = "warn"
fn_params_excessive_bools = "warn"
indexing_slicing = "warn"
missing_const_for_fn = "warn"
must_use_candidate = "warn"
panic = "warn"
todo = "warn"
unneeded_field_pattern = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"

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

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

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

[lints.rust]
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "deny"
unsafe_code = "forbid"
unused_extern_crates = "deny"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.let_underscore]
level = "warn"
priority = -1

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
