address 0.23.0

Network address types with strict validation, owned & borrowed variants, and standard library conversions.
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"
rust-version = "1.87"
name = "address"
version = "0.23.0"
authors = ["Nik Deapen <nik@deapen.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Network address types with strict validation, owned & borrowed variants, and standard library conversions."
readme = "README.md"
keywords = [
    "address",
    "ip",
    "domain",
    "socket",
    "network",
]
categories = [
    "network-programming",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/nikdeapen/address"

[package.metadata.docs.rs]
all-features = true

[features]
idna = ["dep:idna"]
serde = ["dep:serde"]

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

[dependencies.idna]
version = "1.1"
optional = true

[dependencies.serde]
version = "1.0"
features = ["alloc"]
optional = true
default-features = false

[dev-dependencies.postcard]
version = "1.1"
features = ["alloc"]

[dev-dependencies.serde_json]
version = "1.0"

[lints.clippy]
copy_iterator = "warn"
module_inception = "allow"
must_use_candidate = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"