disallowed-methods = [ { path = "std::fs::read", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::write", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::read_to_string", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::read_dir", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::create_dir", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::create_dir_all", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::remove_file", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::remove_dir", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::metadata", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::symlink_metadata", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::canonicalize", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::File::open", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::File::create", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::fs::OpenOptions::open", reason = "use rustpython_host_env for host filesystem access" }, { path = "std::env::var", reason = "use rustpython_host_env for host environment access" }, { path = "std::env::var_os", reason = "use rustpython_host_env for host environment access" }, { path = "std::env::set_var", reason = "use rustpython_host_env for host environment access" }, { path = "std::env::remove_var", reason = "use rustpython_host_env for host environment access" }, { path = "std::env::vars", reason = "use rustpython_host_env for host environment access" }, { path = "std::env::vars_os", reason = "use rustpython_host_env for host environment access" }, { path = "std::env::current_dir", reason = "use rustpython_host_env for host environment access" }, { path = "std::env::set_current_dir", reason = "use rustpython_host_env for host environment access" }, { path = "std::env::temp_dir", reason = "use rustpython_host_env for host environment access" }, { path = "std::process::Command::new", reason = "use rustpython_host_env for host process access" }, { path = "std::process::exit", reason = "use rustpython_host_env for host process access" }, { path = "std::process::abort", reason = "use rustpython_host_env for host process access" }, { path = "std::process::id", reason = "use rustpython_host_env for host process access" }, { path = "std::net::TcpStream::connect", reason = "use rustpython_host_env for host network access" }, { path = "std::net::TcpListener::bind", reason = "use rustpython_host_env for host network access" }, { path = "std::net::UdpSocket::bind", reason = "use rustpython_host_env for host network access" }, { path = "libc::select", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::pselect", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::poll", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::ppoll", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::kqueue", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::kevent", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::kevent64", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::epoll_create", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::epoll_create1", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::epoll_ctl", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::epoll_wait", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::epoll_pwait", reason = "use rustpython_host_env::select", allow-invalid = true }, { path = "libc::epoll_pwait2", reason = "use rustpython_host_env::select", allow-invalid = true }, ] disallowed-types = [ { path = "libc::fd_set", reason = "use rustpython_host_env::select::FdSet", allow-invalid = true }, { path = "libc::kevent", reason = "use rustpython_host_env::select::kqueue::Event", allow-invalid = true }, { path = "libc::epoll_event", reason = "use rustpython_host_env::select::epoll", allow-invalid = true }, ]