Skip to content

Commit

Permalink
allow internal features
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminBrienen committed Dec 27, 2024
1 parent 2575c51 commit 7972300
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,13 @@ std_instead_of_core = "warn"
std_instead_of_alloc = "warn"
alloc_instead_of_core = "warn"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs_dep)'] }

[workspace.lints.rust]
missing_docs = "warn"
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs_dep)'] }
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_qualifications = "warn"
internal_features = { level = "allow" }

[package.metadata.docs.rs]
# This cfg is needed so that #[doc(fake_variadic)] is correctly propagated for
Expand Down

0 comments on commit 7972300

Please sign in to comment.