From 2c8a72736902fc3a972ff20cd30a6447f7b6f617 Mon Sep 17 00:00:00 2001 From: Mingwei Zhang Date: Thu, 31 Oct 2024 11:50:56 -0700 Subject: [PATCH] prepare v0.7.3 release --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c20c282..f717664 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ All notable changes to this project will be documented in this file. +## v0.7.3 - 2024-10-31 + +### Highlights + +* add MRT collector peers information + * struct exposed as `crate::mrt_collectors::MrtCollectorPeer` + * fetch data by calling `commons.load_mrt_collector_peers()` first + * access all peers by calling `commons.mrt_collector_peers()` + * access full-feed peers only by calling `commons.mrt_collector_peers_full_feed()` + +Example usage: + +```rust +use bgpkit_commons::BgpkitCommons; +fn main() { + let mut commons = BgpkitCommons::new(); + commons.load_mrt_collector_peers().unwrap(); + let peers = commons.mrt_collector_peers(); + for peer in peers { + println!("{:?}", peer); + } + let full_feed_peers = commons.mrt_collector_peers_full_feed(); + for peer in full_feed_peers { + println!("{:?}", peer); + } +} +``` + ## v0.7.2 - 2024-10-11 ### Highlights diff --git a/Cargo.toml b/Cargo.toml index b215bc2..8b9831a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bgpkit-commons" -version = "0.7.2" +version = "0.7.3" edition = "2021" authors = ["Mingwei Zhang "] readme = "README.md"