⭐️ A friendly language for building type-safe, scalable systems!
at main 1.8 kB view raw
1disallowed-methods = [ 2 { path = "std::env::current_dir", reason = "IO is not permitted in core" }, 3 { path = "std::path::Path::canonicalize", reason = "IO is not permitted in core" }, 4 { path = "std::path::Path::exists", reason = "IO is not permitted in core" }, 5 { path = "std::path::Path::is_dir", reason = "IO is not permitted in core" }, 6 { path = "std::path::Path::is_file", reason = "IO is not permitted in core" }, 7 { path = "std::path::Path::is_symlink", reason = "IO is not permitted in core" }, 8 { path = "std::path::Path::read_dir", reason = "IO is not permitted in core" }, 9 { path = "std::path::Path::read_link", reason = "IO is not permitted in core" }, 10 { path = "std::path::Path::symlink_metadata", reason = "IO is not permitted in core" }, 11 { path = "std::path::Path::try_exists", reason = "IO is not permitted in core" }, 12 13 { path = "camino::Utf8Path::canonicalize", reason = "IO is not permitted in core" }, 14 { path = "camino::Utf8Path::exists", reason = "IO is not permitted in core" }, 15 { path = "camino::Utf8Path::is_dir", reason = "IO is not permitted in core" }, 16 { path = "camino::Utf8Path::is_file", reason = "IO is not permitted in core" }, 17 { path = "camino::Utf8Path::is_symlink", reason = "IO is not permitted in core" }, 18 { path = "camino::Utf8Path::read_dir", reason = "IO is not permitted in core" }, 19 { path = "camino::Utf8Path::read_link", reason = "IO is not permitted in core" }, 20 { path = "camino::Utf8Path::symlink_metadata", reason = "IO is not permitted in core" }, 21 { path = "camino::Utf8Path::try_exists", reason = "IO is not permitted in core" }, 22 23 24 { path = "std::path::Path::new", reason = "Manually constructed paths should use camino::Utf8Path" }, 25 { path = "std::path::PathBuf::new", reason = "Manually constructed pathbufs should use camino::Utf8Path" }, 26]