diff --git a/.github/workflows/deploy-manually.yml b/.github/workflows/deploy-manually.yml index 3ac6f2b..c6489f5 100644 --- a/.github/workflows/deploy-manually.yml +++ b/.github/workflows/deploy-manually.yml @@ -18,7 +18,7 @@ on: required: true version: description: 'Asset version to deploy' - default: 'v1.0.0-alpha.3' + default: 'v1.0.0-alpha.4' required: true arch: description: 'Asset binary architecture (Rust format)' diff --git a/Cargo.lock b/Cargo.lock index 4691fa0..0f0f6a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -292,7 +292,7 @@ checksum = "5988cb1d626264ac94100be357308f29ff7cbdd3b36bda27f450a4ee3f713426" [[package]] name = "bp" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" dependencies = [ "bp-cli", "bp-core", @@ -303,7 +303,7 @@ dependencies = [ [[package]] name = "bp-cli" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" dependencies = [ "anyhow", "bp-core", @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "bp-core" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" dependencies = [ "anyhow", "async-trait", @@ -350,7 +350,7 @@ dependencies = [ [[package]] name = "bp-monitor" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" dependencies = [ "bp-core", "bytes", @@ -360,7 +360,7 @@ dependencies = [ [[package]] name = "bp-test" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" dependencies = [ "bp-core", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 33ab6e9..5faa089 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bp" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" authors = ["Micooz Lee "] description = "bp is a lightweight and efficient proxy written in pure Rust." repository = "https://github.com/micooz/bp" diff --git a/README.md b/README.md index 4c2bc88..87dcce0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Build & Release](https://github.com/micooz/bp/actions/workflows/build-release.yml/badge.svg)](https://github.com/micooz/bp/actions/workflows/build-release.yml) -[![Build & Test](https://github.com/micooz/bp/actions/workflows/build-test.yml/badge.svg)](https://github.com/micooz/bp/actions/workflows/build-test.yml) +[![Build & Test (Self Hosted)](https://github.com/micooz/bp/actions/workflows/build-test-self-hosted.yml/badge.svg)](https://github.com/micooz/bp/actions/workflows/build-test-self-hosted.yml) # bp diff --git a/USAGE.txt b/USAGE.txt index 8de97ec..2505ca5 100644 --- a/USAGE.txt +++ b/USAGE.txt @@ -1,4 +1,4 @@ -bp 1.0.0-alpha.3 +bp 1.0.0-alpha.4 Lightweight and efficient proxy written in pure Rust diff --git a/bp-cli/Cargo.toml b/bp-cli/Cargo.toml index e0c053d..2164c96 100644 --- a/bp-cli/Cargo.toml +++ b/bp-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bp-cli" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" edition = "2021" [dependencies] diff --git a/bp-core/Cargo.toml b/bp-core/Cargo.toml index 23d505c..1afa04f 100644 --- a/bp-core/Cargo.toml +++ b/bp-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bp-core" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" edition = "2021" [features] diff --git a/bp-core/src/config.rs b/bp-core/src/config.rs index fa0aedd..455cdee 100644 --- a/bp-core/src/config.rs +++ b/bp-core/src/config.rs @@ -18,7 +18,7 @@ pub const TCP_CONNECT_TIMEOUT_SECONDS: u64 = 10; /// The read or write timeout for each connection pub const READ_WRITE_TIMEOUT_SECONDS: u64 = 60; -// TODO: reduce buffer memory usage +/// Receive buffer size for each connection pub const RECV_BUFFER_SIZE: usize = 1024 * 1024; // 1MB /// The max transmission unit for udp packet diff --git a/bp-monitor/Cargo.toml b/bp-monitor/Cargo.toml index 13dfdd4..a4c03ad 100644 --- a/bp-monitor/Cargo.toml +++ b/bp-monitor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bp-monitor" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" edition = "2021" [dependencies] diff --git a/bp-test/Cargo.toml b/bp-test/Cargo.toml index 7d926cf..d3022fc 100644 --- a/bp-test/Cargo.toml +++ b/bp-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bp-test" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" authors = ["Micooz Lee "] description = "bp is a lightweight and efficient proxy written in pure Rust." repository = "https://github.com/micooz/bp"