peizhe
b4f96cd690
README.OpenSource 中License信息整改
...
Signed-off-by: peizhe <zhaipeizhe@huawei.com >
2023-05-04 09:32:31 +08:00
peizhe
7063585399
Add GN Build Files and Custom Modifications
...
Signed-off-by: peizhe <472708703@qq.com >
2023-04-18 18:30:17 +08:00
krisprice
f163b16eee
Increment version
github.com/krisprice/ipnet/2.7.0
2022-12-11 10:32:35 -08:00
krisprice
c473a943c7
Update Cargo.toml
2022-12-11 10:32:09 -08:00
krisprice
1c3339a388
Update RELEASES.md
2022-12-11 10:31:51 -08:00
krisprice
589fb01c75
Merge pull request #43 from tetsuharuohzeki/const_fn
...
Allow to invoke some functions as const fn
2022-12-11 10:29:02 -08:00
Kris Price
c02da95275
Increment version.
2022-12-07 14:14:55 -08:00
krisprice
0650866684
Merge pull request #46 from stormshield-guillaumed/mask-to-prefix
...
Add mask to prefix conversion
2022-12-07 14:10:31 -08:00
Guillaume Dallenne
2e95cf96b6
Add mask to prefix conversion
2022-12-07 16:12:40 +01:00
Kris Price
c06a3a1c42
Fix issue #44
2022-11-06 11:40:59 -08:00
Tetsuharu Ohzeki
300d3ea4ce
Allow to invoke some functions as const fn
2022-09-10 04:34:04 +09:00
krisprice
63b259bcc2
Update RELEASES.md
2022-04-16 16:19:25 -07:00
Kris Price
5641f619cf
Set edition 2018
2022-04-16 16:18:13 -07:00
Kris Price
3db4253634
Made IPv4 regex stricter, no leading zeroes, see issues #33 . IPv6 regex seemed to have errors, simplified it, though it will not perform strict validation anymore.
2022-04-16 16:05:41 -07:00
Kris Price
3fe99229f1
Fix missing to_string() on pattern
2022-04-16 13:05:12 -07:00
krisprice
620a8f1672
Update lib.rs
2022-04-16 12:41:11 -07:00
krisprice
54a8f137aa
Update Cargo.toml
2022-04-16 12:40:46 -07:00
krisprice
f4e50ae7c7
Update RELEASES.md
2022-04-16 12:39:51 -07:00
krisprice
8f2d863ab3
Merge pull request #41 from hgzimmerman/impl_JsonSchema
...
Manually implement JsonSchema for IpNet, Ipv4Net, Ipv6Net
2022-04-16 12:36:56 -07:00
Henry Zimmerman
b33f1faba7
fix ipv4 regex
2022-03-29 08:22:17 -04:00
Henry Zimmerman
675ca5dab8
manually implement JsonSchema for IpNet Ipv4Net Ipv6Net
2022-03-28 12:47:15 -04:00
krisprice
64c9d5c333
Update lib.rs
2022-03-06 11:53:49 -08:00
krisprice
35e58311ec
Update Cargo.toml
2022-03-06 11:53:19 -08:00
krisprice
aa8fdc13c7
Merge pull request #37 from clintfred/patch-1
...
Fix rustdoc link
2022-03-06 11:44:18 -08:00
krisprice
7c921786e7
Update RELEASES.md
2022-03-06 11:42:58 -08:00
krisprice
47788d820a
Merge pull request #31 from smklein/schemars
...
Add 'schemars' feature for deriving JSON schema
2022-03-06 11:42:37 -08:00
Sean Klein
5a231abefe
serde feature implied by optional dep
2022-02-15 19:14:38 -05:00
Sean Klein
b292669b81
Merge branch 'master' into schemars
2022-02-15 19:12:04 -05:00
Clint Frederickson
a0fb53710d
Fix rustdoc link
...
Fix typo missed in #29
2022-02-14 17:24:41 -07:00
krisprice
701ad8064d
Merge pull request #36 from mcginty/ipnet-new
...
add convenience `IpNet::new` method
2022-02-14 15:42:58 -08:00
krisprice
cba23e889a
Update RELEASES.md
2022-02-14 15:42:48 -08:00
krisprice
8fcb9975bf
Merge pull request #35 from sgued/master
...
Fix doc link
2022-02-14 15:33:58 -08:00
krisprice
dce66d87c0
Merge pull request #29 from striezel-stash/fix-typos
...
fix some typos
2022-02-14 15:33:34 -08:00
Jake McGinty
8652ade401
add convenience IpNet::new method
2022-01-31 15:11:34 -06:00
Sosthène Guédon
d6caa0b93e
Fix doc link
2022-01-17 20:04:02 +01:00
Sean Klein
ce7b22eb4b
Add 'schemars' feature for deriving JSON schema
2021-07-16 15:34:27 -04:00
Dirk Stolle
24cd81d684
fix some typos
2021-06-15 21:51:26 +02:00
Kris Price
2898314364
Increment version.
2021-06-15 13:43:09 +12:00
krisprice
5b62b01b3b
Update RELEASES.md
2021-06-15 13:40:41 +12:00
krisprice
005113b181
Merge pull request #28 from niklasf/error-description
...
Fix Error::description() deprecation warning
2021-06-15 13:37:21 +12:00
Niklas Fiekas
725ad9f600
Fix Error::description() deprecation warning
...
Deprecated since Rust 1.42.0, but does not require 1.42.0, because deprecation
has been prepared in https://github.com/rust-lang/rust/pull/50163
by providing a default implementation.
2021-05-26 14:14:37 +02:00
Kris Price
fcce393a82
Increment version.
2020-03-15 18:11:03 -07:00
Kris Price
acd3f5cf28
Convert end of lines to Unix style LF.
2020-03-15 18:09:36 -07:00
Kris Price
83cbb9b7e5
Implement Default for IpNet, Ipv4Net, and Ipv6Net. Allow arithmetic_overflow panic in IpAddrRange::count().
2020-03-15 18:00:37 -07:00
Cyril Plisko
eeaea96063
add tests for Ip*Net::Default
2020-03-15 17:40:59 -07:00
Cyril Plisko
d5871aff22
impl Default for Ip*Net
2020-03-15 17:40:41 -07:00
Kris Price
6472f44d3d
Implement From<IpAddr>, From<Ipv4Addr>, and From<Ipv6Addr> for IpNet, Ipv4Net, and Ipv6Net respectively.
2020-02-02 14:38:23 -08:00
krisprice
e9ba06e290
Merge pull request #16 from glts/from-ipaddr-impl
...
Add From<IpAddr> implementations for IpNets
2020-02-02 14:21:55 -08:00
David Bürgin
a4b579aaa4
Add From<IpAddr> impls for IpNets
...
Fixes #15 .
2020-02-01 11:07:27 +01:00
krisprice
24af7217f0
Increment version
2019-11-08 12:51:54 -08:00