Commit Graph

  • 646d721276 typo fix Kris Price 2017-10-02 18:40:38 -07:00
  • 62adb6c4d7 Converting uses of from_str() to parse() Kris Price 2017-10-02 18:39:11 -07:00
  • b702f2ab75 Converting uses of from_str() to parse() Kris Price 2017-10-02 18:37:26 -07:00
  • f314d63ff4 Documentation updates Kris Price 2017-10-02 15:04:18 -07:00
  • a598a3927d Documentation updates Kris Price 2017-10-02 15:03:02 -07:00
  • 81e72f82ff Changed Subnets<T> to IpSubnets, Ipv4Subnets, and Ipv6Subnets. This is more verbose but simpler and aligns with the design elsewhere of IpAddr, IpNet, and IpAddrRange. Kris Price 2017-10-02 14:16:47 -07:00
  • cbeb8bb162 Fixed issue where IpAddrIter<IpAddr> would run forever if the start and end IpAddr's were of different underlying types. Changed this to a new design for representing IpAddr ranges with the new IpAddrRange, Ipv4AddrRange, and Ipv6AddrRange types which aligns more cleanly to the rest of the IpAddr and IpNet design. Kris Price 2017-10-02 13:06:12 -07:00
  • d29f072849 working to rc1 Kris Price 2017-09-29 16:36:49 -07:00
  • 07714dd765 Macro-ized subnets and aggregates tests Kris Price 2017-09-21 16:38:05 -07:00
  • 7b080210fe Doc fix / benching IpNet::aggregate methods Kris Price 2017-09-20 22:17:04 -07:00
  • afae816d19 Doc fix Kris Price 2017-09-20 21:45:22 -07:00
  • 7561783a43 Doc fix Kris Price 2017-09-20 21:33:52 -07:00
  • 3f85d66d51 Adding extra test for aggregate Kris Price 2017-09-20 19:25:22 -07:00
  • a2a11c99b9 Implementing a subnets generator to replace plain net iterator Kris Price 2017-09-20 19:11:59 -07:00
  • 0141be6134 Implementing a subnets generator to replace plain net iterator Kris Price 2017-09-20 16:28:36 -07:00
  • f9fe9f9d97 Refactoring IpNet::aggregate to remove double iter to split out IPv4 and v6 Kris Price 2017-09-19 18:30:02 -07:00
  • 72f2b66cb3 remove needless lambda to coerce into enum in aggregate Kris Price 2017-09-19 17:35:16 -07:00
  • 3cc373aba3 Refactor IpNet::hosts() to reduce duplication Kris Price 2017-09-19 17:28:56 -07:00
  • bad0fc34d1 Reorganize merge_intervals to remove needless Vec::new() if input empty Kris Price 2017-09-19 11:22:19 -07:00
  • 84615f3717 Fix error in documentation Kris Price 2017-09-13 19:31:13 -07:00
  • c5630f6a72 Readme update Kris Price 2017-09-13 19:07:08 -07:00
  • 6f413d45ff Changing supernet() to always truncate result Kris Price 2017-09-13 18:10:39 -07:00
  • c0398730be Make IpNetIter impl same for all types and use macro to generate Kris Price 2017-09-13 17:41:30 -07:00
  • 4fc68b81f7 Merge pull request #4 from krisprice/error-if-invalid-prefix-len krisprice 2017-09-13 17:25:48 -07:00
  • 923e7e3064 Results returned from all new() and subnets() Kris Price 2017-09-13 17:21:42 -07:00
  • 762e0de0d1 Adding error for IpNet::subnets() Kris Price 2017-09-13 16:32:28 -07:00
  • 4a5a0fcd5d Deleting clamp() code Kris Price 2017-09-13 16:17:42 -07:00
  • cd24fc05e4 Adding error for subnets() Kris Price 2017-09-13 16:16:01 -07:00
  • 122c68bfe7 Adding PrefixLenError result for Ipv4Net Kris Price 2017-09-13 15:25:25 -07:00
  • daa92c139e Starting branch Kris Price 2017-09-13 14:12:27 -07:00
  • d6fd959842 Grammar/wording fixes Kris Price 2017-09-12 15:09:44 -07:00
  • 521210d554 Grammar fix Kris Price 2017-09-12 15:03:06 -07:00
  • 905eb8c103 Moving the questions to issues Kris Price 2017-09-12 14:19:58 -07:00
  • caefa01751 Merge branch 'master' of https://github.com/krisprice/ipnet Kris Price 2017-09-12 13:37:12 -07:00
  • b93f1eedb3 Changing to use clamp() in new() Kris Price 2017-09-12 13:31:40 -07:00
  • 35414439cb Update .travis.yml krisprice 2017-09-12 13:13:04 -07:00
  • f2a2938079 Adding travis badge Kris Price 2017-09-12 13:08:38 -07:00
  • 9e2d6ff7fb Adding travis.yml Kris Price 2017-09-12 13:07:15 -07:00
  • 17eb995957 Revert "Adding travis badge" Kris Price 2017-09-12 13:04:26 -07:00
  • a6bf258ec6 Adding travis badge Kris Price 2017-09-12 12:55:47 -07:00
  • 44902bdafd Adding travis.yml Kris Price 2017-09-12 12:46:38 -07:00
  • 8111a8d4f6 Incrementing version Kris Price 2017-09-12 12:34:50 -07:00
  • 77d5f2d71b README update Kris Price 2017-09-03 20:38:59 -07:00
  • ac98439a44 README update Kris Price 2017-09-03 20:32:08 -07:00
  • 748ed023de Incrementing version Kris Price 2017-09-03 20:19:04 -07:00
  • c50d9d8129 Readme update Kris Price 2017-09-03 20:05:07 -07:00
  • 909788f13a Readme update Kris Price 2017-09-03 20:03:43 -07:00
  • 3ce0f489b0 Structs have private fields ([C-STRUCT-PRIVATE]) Kris Price 2017-09-03 19:45:56 -07:00
  • e09b8d7bf2 Cargo.toml documentation key points to https://docs.rs/CRATE ([C-DOCS-RS]) Kris Price 2017-09-03 19:17:52 -07:00
  • 440723bd43 Cargo.toml includes all common metadata ([C-METADATA]) Kris Price 2017-09-03 19:16:48 -07:00
  • ae86d6253e Function docs include panic conditions in Panics section ([C-PANIC-DOC]) Kris Price 2017-09-03 19:14:57 -07:00
  • 3f83e3c15d Types eagerly implement common traits (C-COMMON-TRAITS) Kris Price 2017-09-03 19:03:43 -07:00
  • 60a154a42f Types eagerly implement common traits (C-COMMON-TRAITS) Kris Price 2017-09-03 19:00:01 -07:00
  • b85985926f Moving Emu128 <-> Ipv6Addr conversions into emu128.rs Kris Price 2017-09-03 17:05:52 -07:00
  • 8189653738 move checklist to issue Kris Price 2017-09-03 16:54:49 -07:00
  • 805a3ddc79 Add IpSub for IpAddr+IpAddr plus some tests Kris Price 2017-09-03 16:54:06 -07:00
  • e97ae56fb6 Doc change Kris Price 2017-09-02 18:37:18 -07:00
  • 0185fc71a1 Doc change Kris Price 2017-09-02 18:28:40 -07:00
  • 72a5ed28a4 Doc change Kris Price 2017-09-02 18:26:08 -07:00
  • a67bef45d9 Doc change Kris Price 2017-09-02 18:19:33 -07:00
  • 9300c79c73 Doc changes Kris Price 2017-09-02 18:15:56 -07:00
  • 3dca755b51 Remove commented out code Kris Price 2017-09-02 18:06:07 -07:00
  • deef77d00e Fix URLs in documentation Kris Price 2017-09-02 17:58:33 -07:00
  • 0b697ab1fa Removing IpBitAnd use Kris Price 2017-09-02 17:56:33 -07:00
  • 51799870a0 Removing IpBitOr use Kris Price 2017-09-02 17:42:26 -07:00
  • 4ffb41d670 Deleting saturating_shifts.rs Kris Price 2017-09-02 17:22:23 -07:00
  • 25fc907371 Replacing custom saturating_sh[lr]() with checked_sh[lr]().unwrap_or() Kris Price 2017-09-02 17:20:50 -07:00
  • 536ea3f1cb Swapping u32.saturating_sh[lr]() for u32.checked_sh[lr]().unwrap_or() Kris Price 2017-09-02 17:04:16 -07:00
  • e7b5fe7f72 Removing TODO item and commented code Kris Price 2017-09-02 16:23:27 -07:00
  • 573f8b3ee0 Removing TODO item and commented code Kris Price 2017-09-02 16:16:12 -07:00
  • da4788e365 Moving todo list to README Kris Price 2017-09-01 22:46:01 -07:00
  • 603010b00d Moving todo list to README Kris Price 2017-09-01 22:45:31 -07:00
  • 84363b4812 Tidy up all iters and related functions Kris Price 2017-09-01 22:34:18 -07:00
  • 478ab2e750 Fixing infinite loop condition with IpAddrIter due to <= inclusivity. Kris Price 2017-09-01 12:54:01 -07:00
  • d7248310d7 Pattern style fix Kris Price 2017-09-01 09:49:31 -07:00
  • 25d9804362 Fix test for Contains Kris Price 2017-09-01 09:47:33 -07:00
  • 72847a4c1e Doc update Kris Price 2017-08-31 23:09:28 -07:00
  • bea7b71d31 Doc update Kris Price 2017-08-31 23:08:55 -07:00
  • 9e31e12124 Changed IpNet iterators to be generic and implement for IpNet Kris Price 2017-08-31 23:04:31 -07:00
  • bd9aaaca06 Doc and doctest fixes Kris Price 2017-08-31 19:50:44 -07:00
  • 2dbbbc418e Incrementing version Kris Price 2017-08-31 19:19:46 -07:00
  • 925ceb2e67 Clean up and implement more tests for Emu128 and SaturatingSh[lr] Kris Price 2017-08-31 19:19:13 -07:00
  • a2968c7541 Fix documentation Kris Price 2017-08-31 15:59:41 -07:00
  • 963694ceed Fix documentation Kris Price 2017-08-31 15:58:50 -07:00
  • 28ef22d786 Fix documentation Kris Price 2017-08-31 15:53:19 -07:00
  • 918a328fa8 Incrementing version. Kris Price 2017-08-31 15:45:21 -07:00
  • fc0ecfa5cc Moving contains() to a trait and making generic over networks and addresses Kris Price 2017-08-31 15:32:09 -07:00
  • 2b2bc047b2 Update LICENSE krisprice 2017-08-31 12:50:29 -07:00
  • 470aac87f3 Changing license to Apache 2.0 and adding Juniper copyright boilerplate Kris Price 2017-08-31 12:44:09 -07:00
  • da5207898e Removing Deref for IpNet Kris Price 2017-08-30 09:57:52 -07:00
  • 3d074e67f2 Doc fix Kris Price 2017-08-28 16:16:54 -07:00
  • f2ef66ae91 Adding truncated() method, maybe this should modify self rather than make a new net? Kris Price 2017-08-28 16:12:44 -07:00
  • d5e50e3896 Changing how iterators are implemented Kris Price 2017-08-28 15:57:28 -07:00
  • b9b2bc4fa1 Change new_subnets() to iter_subnets() Kris Price 2017-08-28 14:08:51 -07:00
  • c383765b23 Documentation for IpNetIter Kris Price 2017-08-28 14:06:54 -07:00
  • e2cd9c2215 Adding IpSub impl for Ipv6Addr and u32 Kris Price 2017-08-28 13:42:00 -07:00
  • cbdd94a786 Documentation Kris Price 2017-08-27 22:05:27 -07:00
  • c10e291405 Incrementing version Kris Price 2017-08-27 19:00:15 -07:00
  • b63e96eeea Implementing generic iterator for networks Kris Price 2017-08-27 18:59:42 -07:00
  • e2f82f528b Updating description Kris Price 2017-08-27 18:13:55 -07:00