From 80c1412991a2412da5d7129c4113dd8e957582d6 Mon Sep 17 00:00:00 2001 From: femsci Date: Tue, 17 Oct 2023 14:44:51 +0200 Subject: [PATCH] rirrs --- src/iris-rs/lib.rs | 15 +-------------- src/iris-rs/rir.rs | 7 +++++++ 2 files changed, 8 insertions(+), 14 deletions(-) create mode 100644 src/iris-rs/rir.rs diff --git a/src/iris-rs/lib.rs b/src/iris-rs/lib.rs index 7d12d9a..a598702 100644 --- a/src/iris-rs/lib.rs +++ b/src/iris-rs/lib.rs @@ -1,14 +1 @@ -pub fn add(left: usize, right: usize) -> usize { - left + right -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn it_works() { - let result = add(2, 2); - assert_eq!(result, 4); - } -} +pub mod rir; diff --git a/src/iris-rs/rir.rs b/src/iris-rs/rir.rs new file mode 100644 index 0000000..65ab64a --- /dev/null +++ b/src/iris-rs/rir.rs @@ -0,0 +1,7 @@ +pub enum RIR { + Arin, + Ripe, + Lacninc, + Apnic, + Afrinic, +}