summaryrefslogtreecommitdiffstats
path: root/vendor/ipnet/Cargo.toml
blob: e58e2766d70d7dbc19e4130290a77a488baf78ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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 = "2018"
name = "ipnet"
version = "2.7.2"
authors = ["Kris Price <kris@krisprice.nz>"]
description = "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."
documentation = "https://docs.rs/ipnet"
readme = "README.md"
keywords = [
    "IP",
    "CIDR",
    "network",
    "prefix",
    "subnet",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/krisprice/ipnet"

[dependencies.schemars]
version = "0.8"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
package = "serde"

[dev-dependencies.serde_test]
version = "1"

[features]
default = []
json = [
    "serde",
    "schemars",
]

[badges.travis-ci]
repository = "krisprice/ipnet"