From 0acb54a719127cb0ccc94f1dc56feeed4345d0c0 Mon Sep 17 00:00:00 2001 From: Mingwei Zhang Date: Wed, 20 Mar 2024 19:37:45 -0700 Subject: [PATCH] release v0.5.2 --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- src/collectors/riperis.rs | 10 ++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecf0acf..2b37dd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## v0.5.2 - 2024-03-20 + +### Highlights + +* update `oneio` to `0.16.5` to fix route-views collector API issue + ## v0.5.1 - 2024-03-20 ### Highlights diff --git a/Cargo.toml b/Cargo.toml index 14251d8..2023baf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bgpkit-commons" -version = "0.5.1" +version = "0.5.2" edition = "2021" authors = ["Mingwei Zhang "] readme = "README.md" @@ -22,7 +22,7 @@ required-features = ["cli"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = "1" -oneio = { version = "0.16.4", default-features = false, features = ["lib-core"] } +oneio = { version = "0.16.5", default-features = false, features = ["lib-core"] } regex = "1" anyhow = "1.0" chrono = { version = "0.4", features = ["serde"] } diff --git a/src/collectors/riperis.rs b/src/collectors/riperis.rs index 29f7cb8..300849b 100644 --- a/src/collectors/riperis.rs +++ b/src/collectors/riperis.rs @@ -79,3 +79,13 @@ pub fn get_riperis_collectors() -> Result> { .map(|c| c.to_mrt_collector().unwrap()) .collect()) } + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_get_riperis_collectors() { + dbg!(get_riperis_collectors().unwrap()); + } +}