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" }, ]