From 2b4e88ba2396b5ad70beadcd6feae6b0487d38eb Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Thu, 19 Oct 2023 03:57:56 +0900 Subject: [PATCH] Update cargo-check-external-types config --- .external-types.toml | 9 --------- Cargo.toml | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 .external-types.toml diff --git a/.external-types.toml b/.external-types.toml deleted file mode 100644 index 679f43e..0000000 --- a/.external-types.toml +++ /dev/null @@ -1,9 +0,0 @@ -# cargo-check-external-types configuration -# https://crates.io/crates/cargo-check-external-types - -# The following are external types that are allowed to be exposed in our public API. -allowed_external_types = [ - "proc_macro2::*", - "quote::*", - "syn::*", -] diff --git a/Cargo.toml b/Cargo.toml index 0c7caa0..69d26bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,14 @@ Providing the features between \"full\" and \"derive\" of syn. all-features = true targets = ["x86_64-unknown-linux-gnu"] +[package.metadata.cargo_check_external_types] +# The following are external types that are allowed to be exposed in our public API. +allowed_external_types = [ + "proc_macro2::*", + "quote::*", + "syn::*", +] + [workspace] resolver = "2" members = ["examples/const_fn"]