[router] Impl radix tree and set up CI (#1893)

Co-authored-by: Lianmin Zheng <lianminzheng@gmail.com>
This commit is contained in:
Byron Hsu
2024-11-04 10:56:52 -08:00
committed by GitHub
parent 3cd2809277
commit 530ff541cf
11 changed files with 458 additions and 72 deletions

View File

@@ -1,9 +1,10 @@
// src/main.rs
use clap::Parser;
use clap::builder::PossibleValuesParser;
use clap::Parser;
// declare child modules
mod server;
mod router;
mod server;
mod tree;
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
@@ -25,4 +26,4 @@ struct Args {
async fn main() -> std::io::Result<()> {
let args = Args::parse();
server::startup(args.host, args.port, args.worker_urls, args.policy).await
}
}