| Crates.io | rampart |
| lib.rs | rampart |
| version | 0.1.1 |
| created_at | 2022-04-20 10:02:50.981401+00 |
| updated_at | 2022-04-20 11:42:09.940298+00 |
| description | Rampart determines how intervals relate to each other. |
| homepage | |
| repository | https://github.com/gtnao0219/rust-rampart |
| max_upload_size | |
| id | 570898 |
| size | 11,720 |
Rust implementation of the Haskell Rampart library by Taylor Fausak.
Add this to your Cargo.toml:
[dependencies]
rampart = "0.1.1"
let a = Interval::new(2, 3);
let b = Interval::new(3, 7);
let rel = a.relate(&b);
# Relation::Meets