update readme badge
This commit is contained in:
parent
09c6c4c102
commit
3246f1014b
6 changed files with 47 additions and 4 deletions
21
.github/workflows/ci.yml
vendored
Normal file
21
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
name: Unit Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main, develop ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main, develop ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Run unit tests
|
||||||
|
run: |
|
||||||
|
cargo test --verbose
|
||||||
17
.github/workflows/shift_left.yml
vendored
Normal file
17
.github/workflows/shift_left.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
name: ShiftLeft Scan
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Scan-Build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Perform ShiftLeft Scan
|
||||||
|
uses: ShiftLeftSecurity/scan-action@master
|
||||||
|
env:
|
||||||
|
WORKSPACE: ""
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
output: reports
|
||||||
|
|
@ -18,7 +18,7 @@ http3 = ["quinn", "h3", "h3-quinn"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
env_logger = "0.9.0"
|
env_logger = "0.9.0"
|
||||||
anyhow = "1.0.58"
|
anyhow = "1.0.58"
|
||||||
clap = { version = "3.2.13", features = ["std", "cargo", "wrap_help"] }
|
clap = { version = "3.2.15", features = ["std", "cargo", "wrap_help"] }
|
||||||
futures = { version = "0.3.21", features = ["alloc", "async-await"] }
|
futures = { version = "0.3.21", features = ["alloc", "async-await"] }
|
||||||
hyper = { version = "0.14.20", default-features = false, features = [
|
hyper = { version = "0.14.20", default-features = false, features = [
|
||||||
"server",
|
"server",
|
||||||
|
|
@ -27,7 +27,7 @@ hyper = { version = "0.14.20", default-features = false, features = [
|
||||||
"stream",
|
"stream",
|
||||||
] }
|
] }
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
tokio = { version = "1.20.0", default-features = false, features = [
|
tokio = { version = "1.20.1", default-features = false, features = [
|
||||||
"net",
|
"net",
|
||||||
"rt-multi-thread",
|
"rt-multi-thread",
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
# rpxy: A simple and ultrafast reverse-proxy for multiple host names with TLS termination, written in pure Rust
|
# rpxy: A simple and ultrafast reverse-proxy for multiple host names with TLS termination, written in pure Rust
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
**WIP Project**
|
**WIP Project**
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
|
||||||
|
|
@ -218,7 +218,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
fn generate_request_forwarded<B: core::fmt::Debug>(
|
fn generate_request_forwarded<B>(
|
||||||
&self,
|
&self,
|
||||||
client_addr: &SocketAddr,
|
client_addr: &SocketAddr,
|
||||||
listen_addr: &SocketAddr,
|
listen_addr: &SocketAddr,
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ use tokio::{
|
||||||
time::{timeout, Duration},
|
time::{timeout, Duration},
|
||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone)]
|
||||||
pub struct LocalExecutor {
|
pub struct LocalExecutor {
|
||||||
runtime_handle: Handle,
|
runtime_handle: Handle,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue