Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): update to cargo-check-external-types 0.1.9 #3357

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,17 +240,17 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-05-31 # Compatible version for cargo-check-external-types
toolchain: nightly-2023-10-10 # Compatible version for cargo-check-external-types

- name: Install cargo-check-external-types
uses: taiki-e/cache-cargo-install-action@v1
with:
tool: [email protected].7
tool: [email protected].9

- uses: Swatinem/rust-cache@v2

- name: check-external-types
run: cargo check-external-types --config .github/workflows/external-types.toml
run: cargo check-external-types

udeps:
needs: [style]
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/external-types.toml

This file was deleted.

17 changes: 17 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,23 @@ rustdoc-args = ["--cfg", "docsrs", "--cfg", "hyper_unstable_ffi", "--cfg", "hype
[package.metadata.playground]
features = ["full"]

[package.metadata.cargo_check_external_types]
seanmonstar marked this conversation as resolved.
Show resolved Hide resolved
allowed_external_types = [
"bytes::buf::buf_impl::Buf",
"bytes::bytes::Bytes",
"http::header",
"http::header::map::HeaderMap",
"http::method::Method",
"http::request::Request",
"http::response::Response",
"http::status::StatusCode",
"http::uri::Uri",
"http::version::Version",
"http_body::Body",
"http_body::frame::Frame",
"http_body::size_hint::SizeHint",
]

[profile.release]
codegen-units = 1
incremental = false
Expand Down