# 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.88"
name = "ntex-io"
version = "3.9.1"
authors = ["ntex contributors <team@ntex.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities for abstracting io streams"
homepage = "https://ntex.rs"
documentation = "https://docs.rs/ntex-io/"
readme = false
keywords = [
    "network",
    "framework",
    "async",
    "futures",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ntex-rs/ntex.git"
resolver = "2"

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

[dependencies.bitflags]
version = "2"

[dependencies.log]
version = "0.4"

[dependencies.ntex-bytes]
version = "1.5.2"

[dependencies.ntex-codec]
version = "1.1.0"

[dependencies.ntex-service]
version = "4.6.0"

[dependencies.ntex-util]
version = "3.4.0"

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

[dev-dependencies.ntex]
version = "3.5.1"

[dev-dependencies.rand]
version = "0.9"

[lints.rust]
missing_debug_implementations = "deny"
rust_2018_idioms = "deny"
unreachable_pub = "deny"
warnings = "deny"

[lints.rust.async_fn_in_trait]
level = "allow"
priority = -1

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