What is a CIDR trie and how can it help you?
In this post, we will explore the CIDR trie data structure and how it can help you manage IP addresses and subnets in your Rust project.
As usual in this series, we will take a tiny piece of Rust out of a real project and explain it in a very practical way.
Problem
Imagine that your Rust service should only be available from specific IP addresses. This may be desirable for limiting access to certain geographical regions (similar to geo-fencing) or other services you control.
This service should ...
Read more at d34dl0ck.me