From dfe066c9abee5d054d6d80a95ec4d2fcf27c542a Mon Sep 17 00:00:00 2001 From: Rayhaan Jaufeerally Date: Sun, 27 Jul 2025 13:21:09 +0200 Subject: [PATCH] ops: prepare for v0.0.2 --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- bin/bgp/README.md | 4 +++- bin/bgp/src/main.rs | 2 +- crates/packet/README.md | 7 +++++++ 5 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 crates/packet/README.md diff --git a/Cargo.lock b/Cargo.lock index d4d062f..76a8f55 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -40,7 +40,7 @@ dependencies = [ [[package]] name = "bgp" -version = "0.0.1" +version = "0.0.2" dependencies = [ "eyre", "tokio", @@ -48,7 +48,7 @@ dependencies = [ [[package]] name = "bgp-packet" -version = "0.0.1" +version = "0.0.2" dependencies = [ "bitfield", "bytes", diff --git a/Cargo.toml b/Cargo.toml index d4c4f78..4ca67ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,8 +10,8 @@ edition = "2024" homepage = "https://rayhaan.ch" license = "Apache-2.0" name = "bgp" -repository = "https://github.com/net-control-plane/bgp" -version = "0.0.1" +repository = "https://git.rayhaan.net/rayhaan/bgp" +version = "0.0.2" [workspace.dependencies] # --- Our crates --- diff --git a/bin/bgp/README.md b/bin/bgp/README.md index cc4a129..138be7f 100644 --- a/bin/bgp/README.md +++ b/bin/bgp/README.md @@ -4,4 +4,6 @@ This crate provides a binary which runs the Border Gateway Protocol (BGP). Please refer to the other implementation crates part of this repository where most of the actual implemntation lives. -Warning: This is still very much a work in progress and is not yet ready for use. \ No newline at end of file +Warning: This is still very much a work in progress and is not yet ready for use. + +The main ongoing work is happening currently in the BGP packet crate. diff --git a/bin/bgp/src/main.rs b/bin/bgp/src/main.rs index d65921b..d3f238b 100644 --- a/bin/bgp/src/main.rs +++ b/bin/bgp/src/main.rs @@ -2,5 +2,5 @@ use eyre::Result; #[tokio::main] pub async fn main() -> Result<()> { - Ok(()) + todo!("Implement the server"); } diff --git a/crates/packet/README.md b/crates/packet/README.md new file mode 100644 index 0000000..a862408 --- /dev/null +++ b/crates/packet/README.md @@ -0,0 +1,7 @@ +# BGP Packet + +This crate implements parsers and serialisers for the Border Gateway Protocol wire format. + +## ⚠️ Current status + +This crate is still under development and is not yet ready for use.