From 1850849402f043e5eb6554774995b602a2d05d45 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 29 Oct 2022 22:10:52 +0200 Subject: "extern crate" no longer required --- src/tftpd.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/tftpd.rs') diff --git a/src/tftpd.rs b/src/tftpd.rs index fea9d85..566b10b 100644 --- a/src/tftpd.rs +++ b/src/tftpd.rs @@ -12,17 +12,10 @@ use std::net::{SocketAddr, UdpSocket}; use std::path::{Path, PathBuf}; use std::time::Duration; -extern crate nix; use nix::unistd::{chroot, setresgid, setresuid, Gid, Uid, ROOT}; - -extern crate getopts; use getopts::Options; - -extern crate threadpool; use threadpool::ThreadPool; -extern crate rtftp; - #[derive(Clone)] struct Configuration { port: u16, -- cgit v1.2.3