mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 13:32:57 +00:00
`std` has had `pin!` macro for some time, there is no need for us to use the older alternatives. Cannot disallow `tokio::pin` because tokio macros use that.
13 lines
356 B
TOML
13 lines
356 B
TOML
disallowed-methods = [
|
|
"tokio::task::block_in_place",
|
|
# Allow this for now, to deny it later once we stop using Handle::block_on completely
|
|
# "tokio::runtime::Handle::block_on",
|
|
]
|
|
|
|
disallowed-macros = [
|
|
# use std::pin::pin
|
|
"futures::pin_mut",
|
|
# cannot disallow this, because clippy finds used from tokio macros
|
|
#"tokio::pin",
|
|
]
|