mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-15 08:36:34 +00:00

Most people add dependencies without checking their features or optional dependencies too carefully. This leads to them pulling in transitive dependencies they likely don't need.
35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
[package]
|
|
name = "ipnetwork"
|
|
version = "0.20.0"
|
|
authors = ["Abhishek Chanda <abhishek.becs@gmail.com>", "Linus Färnstrand <faern@faern.net>"]
|
|
description = "A library to work with IP CIDRs in Rust"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/achanda/ipnetwork"
|
|
keywords = ["network", "ip", "address", "cidr"]
|
|
readme = "README.md"
|
|
categories = ["network-programming", "parser-implementations"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.200", optional = true }
|
|
schemars = { version = "0.8.17", optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1.0.116"
|
|
criterion = {version = "0.5.1", features= ["html_reports"]}
|
|
does-it-json = "0.0.4"
|
|
|
|
[badges]
|
|
travis-ci = { repository = "achanda/ipnetwork" }
|
|
maintenance = { status = "passively-maintained" }
|
|
|
|
[features]
|
|
# Keep optional dependencies out of the default features.
|
|
# Since most people add a dependency without `default-features = false` they involuntarily
|
|
# pull in unused dependencies.
|
|
default = []
|
|
|
|
[[bench]]
|
|
name = "parse_bench"
|
|
harness = false
|