Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.23 KB

NOTES.md

File metadata and controls

54 lines (38 loc) · 1.23 KB

Development Notes

Web framework

change to actox-web

Logging

look at tracing // and logging crates

ES CQRS

  • write a leveldb impl
  • write a journaldb impl
  • write an etcd impl

CIDR Structs to use

Looking for a library that is on par with Python's ipaddress.

Research on which CIDR library to use

  • ipnetwork has the most feature rich set of methods.

    • has iterators
    • has containment checks
    • has IPv4 and IPv6
    • clean
  • netaddr2 look to be stale for 12 months. Has a few yet-to-be implemented features

    • has no iterators
    • has containment checks
    • has IPv4 and IPv6
    • clean
  • ipnet

    • ipnet = { version = "2", features = ["serde"] }
    • Supports IPv4 and IPv6
  • rust-cidr

    • not a lot of activity - needs work

Patricia Trie

Looking for an equivalent to Pythons pytricia

Feature Ideas

  • Write a Schema
  • Validation of Attributes
  • Complex Queries for locating

tooling

  • use optic for API detection
  • use OPA for validation