krisprice / ipnet

IpNet, Ipv4Net, and Ipv6Net types and methods for Rust
Apache License 2.0
119 stars 25 forks source link

Add no_std support on nightly #51

Closed domenukk closed 1 year ago

domenukk commented 1 year ago

This PR adds no_std support using the unstable ip_in_core and error_in_core features. (Cleaned up version of #49 )

domenukk commented 1 year ago

@krisprice does the PR look good to you like this?

krisprice commented 1 year ago

Thanks @domenukk, if I run a cargo test --all-features it spits a number of errors, can you run and then resolve those errors?

domenukk commented 1 year ago

Good catch, some imports were missing. Fixed :)

domenukk commented 1 year ago

Everything good now? Thanks :)

krisprice commented 1 year ago

Merged and published. Thanks for the work. :-)