disallowed-methods = [
{ path = "tokio::task::spawn", reason = "To provide cancel-safety, use `SpawnedTask::spawn` instead (https://github.com/apache/datafusion/issues/6513)" },
{ path = "tokio::task::spawn_blocking", reason = "To provide cancel-safety, use `SpawnedTask::spawn_blocking` instead (https://github.com/apache/datafusion/issues/6513)" },
"std::sync::Mutex::new",
"std::sync::RwLock::new",
"std::sync::Condvar::new",
"once_cell::sync::Lazy::new",
"tokio::task::JoinSet::join_next",
"tokio::task::JoinSet::join_next_with_id",
]
future-size-threshold = 10000
allowed-wildcard-imports = [
"arrow",
"constants",
"datatypes",
"deserialize",
"errors",
"params",
"serialize",
"super",
"tracing",
"types",
]