• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14name = "ipnet"
15version = "2.11.0"
16authors = ["Kris Price <kris@krisprice.nz>"]
17build = false
18autolib = false
19autobins = false
20autoexamples = false
21autotests = false
22autobenches = false
23description = "Provides types and useful methods for working with IPv4 and IPv6 network addresses, commonly called IP prefixes. The new `IpNet`, `Ipv4Net`, and `Ipv6Net` types build on the existing `IpAddr`, `Ipv4Addr`, and `Ipv6Addr` types already provided in Rust's standard library and align to their design to stay consistent. The module also provides useful traits that extend `Ipv4Addr` and `Ipv6Addr` with methods for `Add`, `Sub`, `BitAnd`, and `BitOr` operations. The module only uses stable feature so it is guaranteed to compile using the stable toolchain."
24documentation = "https://docs.rs/ipnet"
25readme = "README.md"
26keywords = [
27    "IP",
28    "CIDR",
29    "network",
30    "prefix",
31    "subnet",
32]
33categories = ["network-programming"]
34license = "MIT OR Apache-2.0"
35repository = "https://github.com/krisprice/ipnet"
36
37[lib]
38name = "ipnet"
39path = "src/lib.rs"
40
41[dependencies.heapless]
42version = "0"
43optional = true
44
45[dependencies.schemars]
46version = "0.8"
47optional = true
48
49[dependencies.serde]
50version = "1"
51features = ["derive"]
52optional = true
53default-features = false
54package = "serde"
55
56[dev-dependencies.serde_test]
57version = "1"
58
59[features]
60default = ["std"]
61json = [
62    "serde",
63    "schemars",
64]
65ser_as_str = ["heapless"]
66std = []
67
68[badges.travis-ci]
69repository = "krisprice/ipnet"
70