Rust implementation of the [Haskell Rampart library](https://github.com/tfausak/rampart) by [Taylor Fausak](https://taylor.fausak.me/2020/03/13/relate-intervals-with-rampart).
Add this to your Cargo.toml:
```toml
[dependencies]
rampart = "0.1.1"
```
```rust
let a = Interval::new(2, 3);
let b = Interval::new(3, 7);
let rel = a.relate(&b);
```
![][interval relations]