Files
tokio/tokio/external-types.toml
T

17 lines
482 B
TOML

# This config file is for the `cargo-check-external-types` tool that is run in CI.
# The following are types that are allowed to be exposed in Tokio's public API.
# The standard library is allowed by default.
allowed_external_types = [
"bytes::buf::buf_impl::Buf",
"bytes::buf::buf_mut::BufMut",
"tokio_macros::*",
# TODO(https://github.com/tokio-rs/tokio/issues/4916): Remove the libc types
"libc::unix::gid_t",
"libc::unix::pid_t",
"libc::unix::uid_t",
]