~int80h/gemserv

f91113d96f168ecc8b931d42b125963739393c2e — int 80h 2 months ago fc1f2cb
Removed mut from runtime
2 files changed, 1 insertions(+), 2 deletions(-)

M Cargo.toml
M src/main.rs
M Cargo.toml => Cargo.toml +0 -1
@@ 8,7 8,6 @@ readme = "README"
homepage = "gemini://80h.dev"
repository = "https://git.sr.ht/~int80h/gemserv"
license = "MIT"
license-file = "LICENSE"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html


M src/main.rs => src/main.rs +1 -1
@@ 442,7 442,7 @@ fn main() -> io::Result<()> {
        .next()
        .ok_or_else(|| io::Error::from(io::ErrorKind::AddrNotAvailable))?;

    let mut runtime = runtime::Builder::new_multi_thread()
    let runtime = runtime::Builder::new_multi_thread()
    //    .threaded_scheduler()
        .enable_io()
        .enable_time()