rustls-util 0.1.0-dev.1

Utilities for use with rustls
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"
name = "rustls-util"
version = "0.1.0-dev.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities for use with rustls"
homepage = "https://github.com/rustls/rustls"
readme = false
license = "Apache-2.0 OR ISC OR MIT"
repository = "https://github.com/rustls/rustls"
resolver = "2"

[features]
default = ["log"]
log = [
    "dep:log",
    "rustls/log",
]

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

[dependencies.log]
version = "0.4.8"
optional = true

[dependencies.rustls]
version = "0.24.0-dev.1"
default-features = false

[dev-dependencies.env_logger]
version = "0.11"

[lints.clippy]
alloc_instead_of_core = "warn"
cloned_instead_of_copied = "warn"
manual_let_else = "warn"
needless_bitwise_bool = "warn"
needless_collect = "warn"
needless_pass_by_ref_mut = "warn"
new_without_default = "allow"
or_fun_call = "warn"
redundant_clone = "warn"
std_instead_of_core = "warn"
too_many_arguments = "allow"
upper_case_acronyms = "warn"
use_self = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(bench)",
    "cfg(coverage_nightly)",
    "cfg(rustls_docsrs)",
]