-
Notifications
You must be signed in to change notification settings - Fork 322
MSRV 1.84 #676
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
base: master
Are you sure you want to change the base?
MSRV 1.84 #676
Changes from all commits
409fd8c
8c6b6a0
ab070de
49dd86e
fa49f3f
9839a9f
fcafbd5
ac2e454
4ea8012
673129d
c74adb5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,29 @@ keywords = ["hash", "no_std", "hashmap", "swisstable"] | |
| categories = ["data-structures", "no-std"] | ||
| exclude = [".github", "/ci/*"] | ||
| edition = "2021" | ||
| rust-version = "1.65.0" | ||
| rust-version = "1.84.0" | ||
|
|
||
| [lints.rust] | ||
| missing_docs = "warn" | ||
| unreachable_pub = "warn" | ||
| unsafe_op_in_unsafe_fn = "warn" | ||
|
|
||
| # rust_2018_idioms | ||
| bare_trait_objects = "warn" | ||
| elided_lifetimes_in_paths = "warn" | ||
| ellipsis_inclusive_range_patterns = "warn" | ||
| explicit_outlives_requirements = "warn" | ||
| unused_extern_crates = "warn" | ||
|
Comment on lines
+20
to
+25
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rather than enable the lint group here, I decided to just manually add these lints to the list since it avoids lint group priority issues. Since this is 2018 idioms, I doubt that the group will gain any new additions any time soon. |
||
|
|
||
| [lints.clippy] | ||
| doc_markdown = "allow" | ||
| manual_map = "allow" | ||
| missing_errors_doc = "allow" | ||
| missing_safety_doc = "allow" | ||
| module_name_repetitions = "allow" | ||
| must_use_candidate = "allow" | ||
| option_if_let_else = "allow" | ||
| redundant_else = "allow" | ||
|
|
||
| [dependencies] | ||
| # For the default hasher | ||
|
|
@@ -26,7 +48,7 @@ alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-all | |
|
|
||
| # Support for allocators that use allocator-api2 | ||
| allocator-api2 = { version = "0.2.9", optional = true, default-features = false, features = [ | ||
| "alloc", | ||
| "alloc", | ||
| ] } | ||
|
|
||
| # Equivalent trait which can be shared with other hash table implementations. | ||
|
|
@@ -50,7 +72,13 @@ bumpalo = { version = "3.13.0", features = ["allocator-api2"] } | |
| libc = "0.2.155" | ||
|
|
||
| [features] | ||
| default = ["default-hasher", "inline-more", "allocator-api2", "equivalent", "raw-entry"] | ||
| default = [ | ||
| "default-hasher", | ||
| "inline-more", | ||
| "allocator-api2", | ||
| "equivalent", | ||
| "raw-entry", | ||
| ] | ||
|
|
||
| # Enables use of nightly features. This is only guaranteed to work on the latest | ||
| # version of nightly Rust. | ||
|
|
@@ -60,12 +88,7 @@ nightly = ["foldhash?/nightly", "bumpalo/allocator_api"] | |
| rustc-internal-api = [] | ||
|
|
||
| # Internal feature used when building as part of the standard library. | ||
| rustc-dep-of-std = [ | ||
| "nightly", | ||
| "core", | ||
| "alloc", | ||
| "rustc-internal-api", | ||
| ] | ||
| rustc-dep-of-std = ["nightly", "core", "alloc", "rustc-internal-api"] | ||
|
|
||
| # Enables serde support. | ||
| serde = ["dep:serde_core", "dep:serde"] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,7 +30,7 @@ if retry rustup component add rustfmt ; then | |
| fi | ||
|
|
||
| if retry rustup component add clippy ; then | ||
| cargo clippy --all --tests --features serde,rayon -- -D clippy::all | ||
| cargo clippy --all --tests --features serde,rayon -- -D warnings | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| fi | ||
|
|
||
| if command -v shellcheck ; then | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| doc-valid-idents = [ "CppCon", "SwissTable", "SipHash", "HashDoS" ] | ||
| doc-valid-idents = ["CppCon", "SwissTable", "SipHash", "HashDoS"] |
Uh oh!
There was an error while loading. Please reload this page.