We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b3bda2c + 52f5b80 commit 4457cffCopy full SHA for 4457cff
.github/workflows/external-types.yml
@@ -0,0 +1,22 @@
1
+on: [push, pull_request]
2
+
3
+name: Check-external-types
4
5
+jobs:
6
+ check:
7
+ name: Check
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout sources
11
+ uses: actions/[email protected]
12
13
+ - name: Install toolchain
14
+ uses: dtolnay/rust-toolchain@master
15
+ with:
16
+ toolchain: nightly
17
18
+ - name: Install cargo-check-external-types
19
+ run: cargo install --locked cargo-check-external-types
20
21
+ - name: Run cargo check-external-types
22
+ run: cargo check-external-types --config ./external-types.toml
external-types.toml
@@ -0,0 +1,10 @@
+allowed_external_types = [
+ "convert_case::case::Case",
+ "nom::error::ErrorKind",
+ "serde::de::Deserialize",
+ "serde::de::Deserializer",
+ "serde::de::Error",
+ "serde::ser::Error",
+ "serde::ser::Serialize",
+]
0 commit comments