# The execution boundary must use celld::asyncrt. Modules which never execute # in the World carry an explicit lint allow and are listed in the S0 audit. disallowed-methods = [ { path = "tokio::spawn", reason = "use celld::asyncrt::spawn inside the World boundary" }, { path = "tokio::runtime::Handle::spawn", reason = "use celld::asyncrt::spawn inside the World boundary" }, { path = "tokio::task::spawn_blocking", reason = "use celld::asyncrt::blocking inside the World boundary" }, { path = "tokio::runtime::Handle::spawn_blocking", reason = "use celld::asyncrt::blocking inside the World boundary" }, { path = "tokio::time::sleep", reason = "use celld::asyncrt::sleep inside the World boundary" }, { path = "tokio::time::sleep_until", reason = "use celld::asyncrt::sleep_until inside the World boundary" }, { path = "tokio::time::timeout", reason = "use celld::asyncrt::timeout inside the World boundary" }, { path = "tokio::time::timeout_at", reason = "use celld::asyncrt::timeout_at inside the World boundary" }, { path = "tokio::time::interval", reason = "use celld::asyncrt::interval inside the World boundary" }, { path = "tokio::time::interval_at", reason = "use celld::asyncrt::interval_at inside the World boundary" }, { path = "std::time::SystemTime::now", reason = "use the execution-domain wall clock inside the World boundary" }, { path = "std::time::Instant::now", reason = "use the execution-domain monotonic clock inside the World boundary" }, { path = "rand::random", reason = "use a labeled execution-domain RNG inside the World boundary" }, { path = "std::process::id", reason = "use the execution-domain process tag inside the World boundary" }, { path = "std::fs::read", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::read_to_string", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::read_dir", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::metadata", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::symlink_metadata", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::canonicalize", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::copy", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::exists", reason = "use injected filesystem metadata for celld node storage" }, { path = "std::fs::hard_link", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::read_link", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::File::create", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::File::open", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::File::options", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::File::sync_all", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::File::sync_data", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::OpenOptions::new", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::OpenOptions::open", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::write", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::rename", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::remove_file", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::remove_dir", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::remove_dir_all", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::create_dir", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::create_dir_all", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::fs::set_permissions", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::path::Path::exists", reason = "use injected filesystem metadata for celld node storage" }, { path = "std::path::Path::try_exists", reason = "use injected filesystem metadata for celld node storage" }, { path = "std::path::Path::is_file", reason = "use injected filesystem metadata for celld node storage" }, { path = "std::path::Path::is_dir", reason = "use injected filesystem metadata for celld node storage" }, { path = "std::path::Path::is_symlink", reason = "use injected filesystem metadata for celld node storage" }, { path = "std::path::Path::metadata", reason = "use injected filesystem metadata for celld node storage" }, { path = "std::path::Path::symlink_metadata", reason = "use injected filesystem metadata for celld node storage" }, { path = "std::path::Path::canonicalize", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::path::Path::read_link", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "std::path::Path::read_dir", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::read", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::read_dir", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::read_to_string", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::metadata", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::symlink_metadata", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::canonicalize", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::copy", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::try_exists", reason = "use injected filesystem metadata for celld node storage" }, { path = "tokio::fs::hard_link", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::read_link", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::File::create", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::File::open", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::File::sync_all", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::File::sync_data", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::OpenOptions::new", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::OpenOptions::open", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::write", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::rename", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::remove_file", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::remove_dir", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::remove_dir_all", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::create_dir", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::create_dir_all", reason = "use the injected whole-node filesystem for celld node storage" }, { path = "tokio::fs::set_permissions", reason = "use the injected whole-node filesystem for celld node storage" }, ] disallowed-macros = [ { path = "tokio::select", reason = "use celld::asyncrt::select with a declared priority inside the World boundary" }, ] disallowed-types = [ { path = "rand::rngs::OsRng", reason = "use a labeled execution-domain RNG inside the World boundary" }, ]