Skip to content

Commit

Permalink
Update cargo-check-external-types config
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 18, 2023
1 parent 099170f commit e5fe958
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .external-types.toml

This file was deleted.

8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit e5fe958

Please sign in to comment.