# 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 = "ino"
version = "0.0.3"
authors = ["d@nny mc² <dmc2@amass.energy>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
I/O traits more general than std::io.
"""
readme = "README.md"
license = "AGPL-3.0-or-later"
repository = "https://codeberg.org/cosmicexplorer/corporeal"

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

[features]
all-nightly = [
    "nightly-iter",
    "nightly-specialization",
]
all-std = ["std-io"]
default = ["all-nightly"]
nightly = []
nightly-iter = ["nightly"]
nightly-specialization = ["nightly"]
std = []
std-io = [
    "std",
    "dep:libc",
]
vectored = []

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

[dependencies.libc]
version = ">=0.2.180, <0.3"
optional = true

[lints.clippy]
dbg_macro = "warn"
manual_let_else = "warn"
type_complexity = "allow"
unnecessary_wraps = "warn"
used_underscore_binding = "warn"

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

[lints.rust]
unreachable_pub = "allow"
