mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
add aquatic crate with master executable, refactor cli_helpers
This commit is contained in:
parent
c69b09ab9c
commit
9efc1fc66a
17 changed files with 243 additions and 62 deletions
|
|
@ -18,6 +18,9 @@ use config::Config;
|
|||
use network::utils::create_tls_acceptor;
|
||||
|
||||
|
||||
pub const APP_NAME: &str = "aquatic_http: HTTP/TLS BitTorrent tracker";
|
||||
|
||||
|
||||
pub fn run(config: Config) -> anyhow::Result<()> {
|
||||
let opt_tls_acceptor = create_tls_acceptor(&config.network.tls)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue