# 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 = "asupersync-tokio-compat"
version = "0.3.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compatibility bridge for running Tokio-locked crates within the Asupersync async runtime."
readme = false
keywords = [
    "async",
    "tokio",
    "compatibility",
    "bridge",
    "interop",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "LicenseRef-MIT-OpenAI-Anthropic-Rider"
repository = "https://github.com/Dicklesworthstone/asupersync"

[package.metadata.asupersync_compat_policy]
policy_version = "1.0.0"
compatibility_line = "0.2.x"
release_train = "tokio-compat"
owner_track = "asupersync-2oh2u.7"
exception_review = "threaded-agent-mail"

[features]
default = []
full = [
    "hyper-bridge",
    "tokio-io",
    "tower-bridge",
]
hyper-bridge = [
    "dep:hyper",
    "dep:hyper-util",
    "dep:http",
    "dep:http-body",
    "dep:http-body-util",
    "dep:bytes",
]
tokio-io = [
    "dep:tokio-util",
    "tokio/io-util",
]
tower-bridge = ["dep:tower"]

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

[dependencies.asupersync]
version = "0.3.4"

[dependencies.bytes]
version = "1"
optional = true

[dependencies.http]
version = "1"
optional = true

[dependencies.http-body]
version = "1"
optional = true

[dependencies.http-body-util]
version = "0.1"
optional = true

[dependencies.hyper]
version = "1"
optional = true

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
optional = true

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.tokio]
version = "1"
features = ["sync"]
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["io"]
optional = true

[dependencies.tower]
version = "0.5.3"
optional = true

[dev-dependencies.asupersync]
version = "0.3.4"
features = ["test-internals"]

[dev-dependencies.futures-lite]
version = "2"

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

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

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

[lints.rust]
unsafe_code = "deny"
