[router] Impl radix tree and set up CI (#1893)
Co-authored-by: Lianmin Zheng <lianminzheng@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user