-
Notifications
You must be signed in to change notification settings - Fork 9
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
[pull] master from serde-rs:master #10
base: master
Are you sure you want to change the base?
Commits on Jul 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f482ed3 - Browse repository at this point
Copy the full SHA f482ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f8a2b1 - Browse repository at this point
Copy the full SHA 8f8a2b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 897f913 - Browse repository at this point
Copy the full SHA 897f913View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2fce19 - Browse repository at this point
Copy the full SHA d2fce19View commit details
Commits on Jul 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5def336 - Browse repository at this point
Copy the full SHA 5def336View commit details -
Fix bare trait in to_value doc example code
---- src/value/mod.rs - value::to_value (line 889) stdout ---- error[E0782]: trait objects must include the `dyn` keyword --> src/value/mod.rs:902:44 | 16 | fn compare_json_values() -> Result<(), Box<Error>> { | ^^^^^ | help: add `dyn` keyword before this trait | 16 | fn compare_json_values() -> Result<(), Box<dyn Error>> { | +++
Configuration menu - View commit details
-
Copy full SHA for 4514365 - Browse repository at this point
Copy the full SHA 4514365View commit details
Commits on Jul 9, 2023
-
Return error on non-finite float keys
This handles NaN and both positive and negative infinity.
Configuration menu - View commit details
-
Copy full SHA for f74b422 - Browse repository at this point
Copy the full SHA f74b422View commit details -
Print map float keys with
CompactFormatter
This ensures consistency with the default `Formatter::write_f32` output format used elsewhere.
Configuration menu - View commit details
-
Copy full SHA for 9963405 - Browse repository at this point
Copy the full SHA 9963405View commit details -
Deserialize float keys using
deserialize_number
`deserialize_numeric_key!` has been renamed back to `deserialize_integer_key!`, and a new float-specific `deserialize_float_key!` macro has been introduced. This new macro attempts to deserialize float keys by delegating to the equivalent parent deserializer method.
Configuration menu - View commit details
-
Copy full SHA for 22a5e9b - Browse repository at this point
Copy the full SHA 22a5e9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 324c5b5 - Browse repository at this point
Copy the full SHA 324c5b5View commit details -
Fix builds without
std
featureAn `unwrap` has been changed to simply discard the `Result`. We assume that writing to a `Vec` will never fail because the `std::io::Write` implementation never creates an I/O error.
Configuration menu - View commit details
-
Copy full SHA for 18e1b59 - Browse repository at this point
Copy the full SHA 18e1b59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5762701 - Browse repository at this point
Copy the full SHA 5762701View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7760a1a - Browse repository at this point
Copy the full SHA 7760a1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0dbac7 - Browse repository at this point
Copy the full SHA b0dbac7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 468a94a - Browse repository at this point
Copy the full SHA 468a94aView commit details
Commits on Jul 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a4e2719 - Browse repository at this point
Copy the full SHA a4e2719View commit details
Commits on Jul 11, 2023
-
Merge pull request #1027 from overdrivenpotato/float-key
Allow `f32` and `f64` map keys
Configuration menu - View commit details
-
Copy full SHA for b8d8d10 - Browse repository at this point
Copy the full SHA b8d8d10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76555ac - Browse repository at this point
Copy the full SHA 76555acView commit details -
Merge pull request #1035 from dtolnay/numkey
Improve error message on invalid numeric key
Configuration menu - View commit details
-
Copy full SHA for d796aaa - Browse repository at this point
Copy the full SHA d796aaaView commit details -
Resolve unnested_or_patterns pedantic clippy lint
warning: unnested or-patterns --> src/de.rs:251:17 | 251 | Some(b' ') | Some(b'\n') | Some(b'\t') | Some(b'\r') => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns = note: `-W clippy::unnested-or-patterns` implied by `-W clippy::pedantic` help: nest the patterns | 251 | Some(b' ' | b'\n' | b'\t' | b'\r') => { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/de.rs:916:13 | 916 | e @ b'e' | e @ b'E' => self.scan_exponent(e as char, buf), | ^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns = note: `-W clippy::unnested-or-patterns` implied by `-W clippy::pedantic` help: nest the patterns | 916 | e @ (b'e' | b'E') => self.scan_exponent(e as char, buf), | ~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/de.rs:941:13 | 941 | e @ b'e' | e @ b'E' => self.scan_exponent(e as char, buf), | ^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 941 | e @ (b'e' | b'E') => self.scan_exponent(e as char, buf), | ~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/de.rs:1062:17 | 1062 | frame @ b'[' | frame @ b'{' => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 1062 | frame @ (b'[' | b'{') => { | ~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/de.rs:2331:13 | 2331 | / Some(b' ') | Some(b'\n') | Some(b'\t') | Some(b'\r') | Some(b'"') | Some(b'[') 2332 | | | Some(b']') | Some(b'{') | Some(b'}') | Some(b',') | Some(b':') | None => Ok(()), | |___________________________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 2331 ~ Some(b' ' | b'\n' | b'\t' | b'\r' | b'"' | b'[' | b']' | b'{' | b'}' | b',' | 2332 ~ b':') | None => Ok(()), |
Configuration menu - View commit details
-
Copy full SHA for bb60990 - Browse repository at this point
Copy the full SHA bb60990View commit details -
Configuration menu - View commit details
-
Copy full SHA for 666b9cd - Browse repository at this point
Copy the full SHA 666b9cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d28a8 - Browse repository at this point
Copy the full SHA 66d28a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f80ce0f - Browse repository at this point
Copy the full SHA f80ce0fView commit details -
Remove pre-NLL borrow checker workarounds
NLL has been in use since Rust 1.31 (for edition 2018+) or Rust 1.36 (for edition 2015). error[E0505]: cannot move out of `json` because it is borrowed --> src/raw.rs:184:29 | 180 | let borrowed = ::from_str::<&Self>(&json)?; | ---- borrow of `json` occurs here ... 184 | Ok(Self::from_owned(json.into_boxed_str())) | ^^^^ move out of `json` occurs here error[E0499]: cannot borrow `self.formatter` as mutable more than once at a time --> src/ser.rs:453:13 | 444 | formatter: &mut self.formatter, | -------------- first mutable borrow occurs here ... 453 | self.formatter | ^^^^^^^^^^^^^^ second mutable borrow occurs here ... 456 | } | - first borrow ends here error[E0499]: cannot borrow `self.writer` as mutable more than once at a time --> src/ser.rs:454:34 | 443 | writer: &mut self.writer, | ----------- first mutable borrow occurs here ... 454 | .end_string(&mut self.writer) | ^^^^^^^^^^^ second mutable borrow occurs here ... 456 | } | - first borrow ends here
Configuration menu - View commit details
-
Copy full SHA for f899904 - Browse repository at this point
Copy the full SHA f899904View commit details -
Merge pull request #1036 from dtolnay/nll
Remove pre-NLL borrow checker workarounds
Configuration menu - View commit details
-
Copy full SHA for 6c8523f - Browse repository at this point
Copy the full SHA 6c8523fView commit details -
Delete dedicated whitespace-in-key error message
I don't feel this carries its weight after PR 1035.
Configuration menu - View commit details
-
Copy full SHA for 7933880 - Browse repository at this point
Copy the full SHA 7933880View commit details -
Configuration menu - View commit details
-
Copy full SHA for de897a0 - Browse repository at this point
Copy the full SHA de897a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e5342 - Browse repository at this point
Copy the full SHA e8e5342View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9604317 - Browse repository at this point
Copy the full SHA 9604317View commit details -
Configuration menu - View commit details
-
Copy full SHA for d816a2e - Browse repository at this point
Copy the full SHA d816a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for af242a1 - Browse repository at this point
Copy the full SHA af242a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51b1bd0 - Browse repository at this point
Copy the full SHA 51b1bd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 468547f - Browse repository at this point
Copy the full SHA 468547fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98c4db1 - Browse repository at this point
Copy the full SHA 98c4db1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1a28a3 - Browse repository at this point
Copy the full SHA f1a28a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0770869 - Browse repository at this point
Copy the full SHA 0770869View commit details -
Configuration menu - View commit details
-
Copy full SHA for defa896 - Browse repository at this point
Copy the full SHA defa896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f4c4af - Browse repository at this point
Copy the full SHA 9f4c4afView commit details -
Merge pull request #1037 from dtolnay/numkey
Insert check for whitespace surrounding numeric map key deserializing from Value
Configuration menu - View commit details
-
Copy full SHA for 0c4a7f8 - Browse repository at this point
Copy the full SHA 0c4a7f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e1bfa8 - Browse repository at this point
Copy the full SHA 1e1bfa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ddda75 - Browse repository at this point
Copy the full SHA 3ddda75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55a7f5c - Browse repository at this point
Copy the full SHA 55a7f5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b72f2b - Browse repository at this point
Copy the full SHA 1b72f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e2c949 - Browse repository at this point
Copy the full SHA 0e2c949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44b4a6c - Browse repository at this point
Copy the full SHA 44b4a6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ad5495 - Browse repository at this point
Copy the full SHA 6ad5495View commit details -
Configuration menu - View commit details
-
Copy full SHA for 857b010 - Browse repository at this point
Copy the full SHA 857b010View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ca32a - Browse repository at this point
Copy the full SHA a1ca32aView commit details
Commits on Jul 12, 2023
-
Merge pull request #1039 from dtolnay/writebytearray
Add Formatter::write_byte_array
Configuration menu - View commit details
-
Copy full SHA for 42dbd00 - Browse repository at this point
Copy the full SHA 42dbd00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 658689d - Browse repository at this point
Copy the full SHA 658689dView commit details
Commits on Jul 15, 2023
-
Fix rustdoc::bare_urls lint in lexical code
warning: this URL is not a hyperlink --> src/lexical/errors.rs:9:9 | 9 | //! https://golang.org/src/strconv/atof.go | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://golang.org/src/strconv/atof.go>` | = note: bare URLs are not automatically turned into clickable links = note: `#[warn(rustdoc::bare_urls)]` on by default
Configuration menu - View commit details
-
Copy full SHA for d1a07e2 - Browse repository at this point
Copy the full SHA d1a07e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c2879a - Browse repository at this point
Copy the full SHA 9c2879aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54bcb4d - Browse repository at this point
Copy the full SHA 54bcb4dView commit details
Commits on Jul 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8f90eac - Browse repository at this point
Copy the full SHA 8f90eacView commit details
Commits on Jul 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8e8db8c - Browse repository at this point
Copy the full SHA 8e8db8cView commit details -
Merge pull request #1045 from ZetaNumbers/value-ref-into-deserializer
Implement IntoDeserializer for &Value
Configuration menu - View commit details
-
Copy full SHA for f6cc4f3 - Browse repository at this point
Copy the full SHA f6cc4f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab08483 - Browse repository at this point
Copy the full SHA ab08483View commit details
Commits on Aug 12, 2023
-
Resolve ignored_unit_patterns pedantic clippy lint
warning: matching over `()` is more explicit --> src/de.rs:2409:59 | 2409 | ... self.peek_end_of_value().map(|_| value) | ^ help: use `()` instead of `_`: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns = note: `-W clippy::ignored-unit-patterns` implied by `-W clippy::pedantic`
Configuration menu - View commit details
-
Copy full SHA for 8652bf2 - Browse repository at this point
Copy the full SHA 8652bf2View commit details
Commits on Aug 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 58dd8d9 - Browse repository at this point
Copy the full SHA 58dd8d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 283a68b - Browse repository at this point
Copy the full SHA 283a68bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68a5582 - Browse repository at this point
Copy the full SHA 68a5582View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b69f16 - Browse repository at this point
Copy the full SHA 9b69f16View commit details -
Merge pull request #1055 from dtolnay/boolkey
Support bool in map keys
Configuration menu - View commit details
-
Copy full SHA for 59d9f96 - Browse repository at this point
Copy the full SHA 59d9f96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0daacdd - Browse repository at this point
Copy the full SHA 0daacddView commit details
Commits on Sep 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d0c979a - Browse repository at this point
Copy the full SHA d0c979aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 716cb8f - Browse repository at this point
Copy the full SHA 716cb8fView commit details -
Remove limb_width32 and limb_width64 features
Moved dispatch directly into the type system.
Configuration menu - View commit details
-
Copy full SHA for c754f03 - Browse repository at this point
Copy the full SHA c754f03View commit details -
fixup! Remove limb_width32 and limb_width64 features
Piotr Osiewicz committedSep 3, 2023 Configuration menu - View commit details
-
Copy full SHA for 16e04ce - Browse repository at this point
Copy the full SHA 16e04ceView commit details
Commits on Sep 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6525ffa - Browse repository at this point
Copy the full SHA 6525ffaView commit details
Commits on Sep 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4cc9ea7 - Browse repository at this point
Copy the full SHA 4cc9ea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99bc2df - Browse repository at this point
Copy the full SHA 99bc2dfView commit details
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 029fda0 - Browse repository at this point
Copy the full SHA 029fda0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1786de2 - Browse repository at this point
Copy the full SHA 1786de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b438004 - Browse repository at this point
Copy the full SHA b438004View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cd5d59 - Browse repository at this point
Copy the full SHA 2cd5d59View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf433e9 - Browse repository at this point
Copy the full SHA cf433e9View commit details
Commits on Sep 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c308779 - Browse repository at this point
Copy the full SHA c308779View commit details -
Configuration menu - View commit details
-
Copy full SHA for de39b2a - Browse repository at this point
Copy the full SHA de39b2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a5fef9 - Browse repository at this point
Copy the full SHA 6a5fef9View commit details -
Reorder Value::as_number after is_number
The other as_* methods all come after the corresponding is_* method.
Configuration menu - View commit details
-
Copy full SHA for 5a39516 - Browse repository at this point
Copy the full SHA 5a39516View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95c5d6c - Browse repository at this point
Copy the full SHA 95c5d6cView commit details -
Resolve rustdoc::redundant_explicit_links lint
warning: redundant explicit link target --> src/lib.rs:59:20 | 59 | //! [`from_slice`][from_slice] for parsing from a byte slice &[u8] and | ------------ ^^^^^^^^^^ explicit target is redundant | | | because label contains path that resolves to same destination | note: referenced explicit link target defined here --> src/lib.rs:295:19 | 295 | //! [from_slice]: crate::de::from_slice | ^^^^^^^^^^^^^^^^^^^^^ = note: when a link's destination is not specified, the label is used to resolve intra-doc links = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default help: remove explicit link target | 59 | //! [`from_slice`] for parsing from a byte slice &[u8] and | ~~~~~~~~~~~~~~ warning: redundant explicit link target --> src/lib.rs:60:21 | 60 | //! [`from_reader`][from_reader] for parsing from any `io::Read` like a File or | ------------- ^^^^^^^^^^^ explicit target is redundant | | | because label contains path that resolves to same destination | note: referenced explicit link target defined here --> src/lib.rs:296:20 | 296 | //! [from_reader]: crate::de::from_reader | ^^^^^^^^^^^^^^^^^^^^^^ = note: when a link's destination is not specified, the label is used to resolve intra-doc links help: remove explicit link target | 60 | //! [`from_reader`] for parsing from any `io::Read` like a File or | ~~~~~~~~~~~~~~~
Configuration menu - View commit details
-
Copy full SHA for 11b603c - Browse repository at this point
Copy the full SHA 11b603cView commit details -
Configuration menu - View commit details
-
Copy full SHA for db75c22 - Browse repository at this point
Copy the full SHA db75c22View commit details -
Merge pull request #1067 from chanced/add-as_str-to-number
adds `as_str` to `Number` if `arbitrary_precision` is enabled
Configuration menu - View commit details
-
Copy full SHA for 028b643 - Browse repository at this point
Copy the full SHA 028b643View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc8dd13 - Browse repository at this point
Copy the full SHA fc8dd13View commit details -
Configuration menu - View commit details
-
Copy full SHA for f16cad6 - Browse repository at this point
Copy the full SHA f16cad6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f346308 - Browse repository at this point
Copy the full SHA f346308View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45f10ec - Browse repository at this point
Copy the full SHA 45f10ecView commit details
Commits on Sep 11, 2023
-
Revert "Remove limb_width32 and limb_width64 features"
This reverts commit c754f03.
Configuration menu - View commit details
-
Copy full SHA for 89a2741 - Browse repository at this point
Copy the full SHA 89a2741View commit details -
Omit return keyword in
remove_entry
Co-authored-by: David Tolnay <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83bdc5f - Browse repository at this point
Copy the full SHA 83bdc5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f7758 - Browse repository at this point
Copy the full SHA 04f7758View commit details -
Merge pull request #1062 from osiewicz/remove_build_rs
Simplify/remove build.rs following the bump to 2021 edition
Configuration menu - View commit details
-
Copy full SHA for 2c22077 - Browse repository at this point
Copy the full SHA 2c22077View commit details
Commits on Sep 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fe30766 - Browse repository at this point
Copy the full SHA fe30766View commit details -
Merge pull request #1072 from dtolnay/rawvalue
Support deserializing from &RawValue
Configuration menu - View commit details
-
Copy full SHA for 4ea34a2 - Browse repository at this point
Copy the full SHA 4ea34a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9d296f - Browse repository at this point
Copy the full SHA b9d296fView commit details -
Merge pull request #1073 from dtolnay/rawvalue
IntoDeserializer for &RawValue
Configuration menu - View commit details
-
Copy full SHA for 00626a0 - Browse repository at this point
Copy the full SHA 00626a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6e113f - Browse repository at this point
Copy the full SHA b6e113fView commit details
Commits on Sep 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 57d529b - Browse repository at this point
Copy the full SHA 57d529bView commit details
Commits on Oct 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9d86391 - Browse repository at this point
Copy the full SHA 9d86391View commit details -
Merge pull request #1075 from dimo414/master
Remove a few unnecessary lifetimes
Configuration menu - View commit details
-
Copy full SHA for 5bb6960 - Browse repository at this point
Copy the full SHA 5bb6960View commit details
Commits on Oct 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39f5ad1 - Browse repository at this point
Copy the full SHA 39f5ad1View commit details
Commits on Oct 25, 2023
-
warning: unused imports: `parse_concise_float`, `parse_truncated_float` --> tests/../src/lexical/mod.rs:38:23 | 38 | pub use self::parse::{parse_concise_float, parse_truncated_float}; | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::vec::Vec` --> tests/lexical.rs:30:13 | 30 | pub use std::vec::Vec; | ^^^^^^^^^^^^^ warning: unused imports: `cmp`, `iter`, `mem`, `ops` --> tests/lexical.rs:31:19 | 31 | pub use std::{cmp, iter, mem, ops}; | ^^^ ^^^^ ^^^ ^^^
Configuration menu - View commit details
-
Copy full SHA for 421a70d - Browse repository at this point
Copy the full SHA 421a70dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e091d5 - Browse repository at this point
Copy the full SHA 4e091d5View commit details -
Merge pull request #1080 from serde-rs/negativenan
Add test of negative NaN and negative infinity
Configuration menu - View commit details
-
Copy full SHA for f56053d - Browse repository at this point
Copy the full SHA f56053dView commit details
Commits on Oct 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ebaf617 - Browse repository at this point
Copy the full SHA ebaf617View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e6f75 - Browse repository at this point
Copy the full SHA a8e6f75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f072fa - Browse repository at this point
Copy the full SHA 0f072faView commit details -
Merge pull request #1082 from dtolnay/fromdoc
Improve Value From and FromIterator docs
Configuration menu - View commit details
-
Copy full SHA for 1454eac - Browse repository at this point
Copy the full SHA 1454eacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bc1eaa - Browse repository at this point
Copy the full SHA 4bc1eaaView commit details
Commits on Nov 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 05196ca - Browse repository at this point
Copy the full SHA 05196caView commit details
Commits on Dec 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fe031cd - Browse repository at this point
Copy the full SHA fe031cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ff6c9e - Browse repository at this point
Copy the full SHA 7ff6c9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9bcbad - Browse repository at this point
Copy the full SHA b9bcbadView commit details -
Configuration menu - View commit details
-
Copy full SHA for b328ee7 - Browse repository at this point
Copy the full SHA b328ee7View commit details -
Merge pull request #1095 from dtolnay/hashtest
Resolve manual_hash_one lint in test
Configuration menu - View commit details
-
Copy full SHA for c367091 - Browse repository at this point
Copy the full SHA c367091View commit details
Commits on Jan 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for df36d10 - Browse repository at this point
Copy the full SHA df36d10View commit details -
Merge pull request #1097 from serde-rs/doccfg
Restore doc cfg on re-exports
Configuration menu - View commit details
-
Copy full SHA for bb62c73 - Browse repository at this point
Copy the full SHA bb62c73View commit details -
Configuration menu - View commit details
-
Copy full SHA for f88bf1f - Browse repository at this point
Copy the full SHA f88bf1fView commit details
Commits on Jan 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c35856a - Browse repository at this point
Copy the full SHA c35856aView commit details -
Configuration menu - View commit details
-
Copy full SHA for df5cf21 - Browse repository at this point
Copy the full SHA df5cf21View commit details
Commits on Jan 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c80dbaf - Browse repository at this point
Copy the full SHA c80dbafView commit details -
Merge pull request #1100 from heiher/limb-64-la64
Set limb width to 64 for loongarch64
Configuration menu - View commit details
-
Copy full SHA for 96ecfad - Browse repository at this point
Copy the full SHA 96ecfadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0131ac6 - Browse repository at this point
Copy the full SHA 0131ac6View commit details
Commits on Jan 12, 2024
-
Ignore unconditional_recursion clippy lint due to false positive
rust-lang/rust-clippy#12133 warning: function cannot return without recursing --> src/map.rs:276:5 | 276 | / fn eq(&self, other: &Self) -> bool { 277 | | self.map.eq(&other.map) 278 | | } | |_____^ | note: recursive call site --> src/map.rs:277:9 | 277 | self.map.eq(&other.map) | ^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion = note: `-W clippy::unconditional-recursion` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::unconditional_recursion)]`
Configuration menu - View commit details
-
Copy full SHA for 6d44b9f - Browse repository at this point
Copy the full SHA 6d44b9fView commit details
Commits on Jan 26, 2024
-
Fixed a spelling error in the second paragraph of the README file. - Changed "exponet" to "exponent"
Configuration menu - View commit details
-
Copy full SHA for 2909b0b - Browse repository at this point
Copy the full SHA 2909b0bView commit details -
Merge pull request #1105 from keienWang/master
fix: Correct spelling error
Configuration menu - View commit details
-
Copy full SHA for e56cc69 - Browse repository at this point
Copy the full SHA e56cc69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 296fafb - Browse repository at this point
Copy the full SHA 296fafbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62ca3e4 - Browse repository at this point
Copy the full SHA 62ca3e4View commit details -
Merge pull request #1106 from serde-rs/invalidvalue
Handle Unexpected::Unit in Error::invalid_value
Configuration menu - View commit details
-
Copy full SHA for 107c2d1 - Browse repository at this point
Copy the full SHA 107c2d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83d7bad - Browse repository at this point
Copy the full SHA 83d7badView commit details -
Merge pull request #1107 from serde-rs/unexpectedfloat
Format f64 in error messages using ryu
Configuration menu - View commit details
-
Copy full SHA for 6a6d2bb - Browse repository at this point
Copy the full SHA 6a6d2bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fece96 - Browse repository at this point
Copy the full SHA 7fece96View commit details
Commits on Jan 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ca3c2ca - Browse repository at this point
Copy the full SHA ca3c2caView commit details -
Merge pull request #1109 from serde-rs/remove
Add swap_remove and shift_remove methods on Map
Configuration menu - View commit details
-
Copy full SHA for 5aeab4e - Browse repository at this point
Copy the full SHA 5aeab4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09d865b - Browse repository at this point
Copy the full SHA 09d865bView commit details
Commits on Feb 8, 2024
-
Remove unused Float::is_sign_negative trait method
warning: method `is_sign_negative` is never used --> src/lexical/num.rs:251:8 | 175 | pub trait Float: Number { | ----- method in this trait ... 251 | fn is_sign_negative(self) -> bool; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
Configuration menu - View commit details
-
Copy full SHA for ca05f69 - Browse repository at this point
Copy the full SHA ca05f69View commit details
Commits on Feb 10, 2024
-
Ignore incompatible_msrv clippy false positives in test
rust-lang/rust-clippy#12257 warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.71.0` --> tests/test.rs:2500:25 | 2500 | assert_ne!(rand.hash_one(k1), rand.hash_one(k2)); | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv = note: `-W clippy::incompatible-msrv` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::incompatible_msrv)]` warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.71.0` --> tests/test.rs:2500:44 | 2500 | assert_ne!(rand.hash_one(k1), rand.hash_one(k2)); | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.71.0` --> tests/test.rs:2503:25 | 2503 | assert_eq!(rand.hash_one(k1), rand.hash_one(k2)); | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.71.0` --> tests/test.rs:2503:44 | 2503 | assert_eq!(rand.hash_one(k1), rand.hash_one(k2)); | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
Configuration menu - View commit details
-
Copy full SHA for 34a04c5 - Browse repository at this point
Copy the full SHA 34a04c5View commit details
Commits on Feb 20, 2024
-
Work around prelude redundant import warnings
rust-lang/rust#117772 warning: the item `String` is imported redundantly --> src/de.rs:8:5 | 8 | use alloc::string::String; | ^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here | = note: `#[warn(unused_imports)]` on by default warning: the item `Vec` is imported redundantly --> src/de.rs:9:5 | 9 | use alloc::vec::Vec; | ^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Vec` is already defined here warning: the item `Box` is imported redundantly --> src/error.rs:4:5 | 4 | use alloc::boxed::Box; | ^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Box` is already defined here warning: the item `String` is imported redundantly --> src/error.rs:5:21 | 5 | use alloc::string::{String, ToString}; | ^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `ToString` is imported redundantly --> src/error.rs:5:29 | 5 | use alloc::string::{String, ToString}; | ^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `ToString` is already defined here warning: the item `String` is imported redundantly --> src/map.rs:10:5 | 10 | use alloc::string::String; | ^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `indexmap` is imported redundantly --> src/map.rs:23:16 | 23 | use indexmap::{self, IndexMap}; | ^^^^ the item `indexmap` is already defined here | = note: `#[warn(unused_imports)]` on by default warning: the item `String` is imported redundantly --> src/ser.rs:5:21 | 5 | use alloc::string::{String, ToString}; | ^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `ToString` is imported redundantly --> src/ser.rs:5:29 | 5 | use alloc::string::{String, ToString}; | ^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `ToString` is already defined here warning: the item `Vec` is imported redundantly --> src/ser.rs:6:5 | 6 | use alloc::vec::Vec; | ^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Vec` is already defined here warning: the item `String` is imported redundantly --> src/value/mod.rs:95:5 | 95 | use alloc::string::String; | ^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `Vec` is imported redundantly --> src/value/mod.rs:96:5 | 96 | use alloc::vec::Vec; | ^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Vec` is already defined here warning: the item `ToOwned` is imported redundantly --> src/value/de.rs:5:26 | 5 | use alloc::borrow::{Cow, ToOwned}; | ^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `ToOwned` is already defined here warning: the item `String` is imported redundantly --> src/value/de.rs:6:5 | 6 | use alloc::string::String; | ^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `Vec` is imported redundantly --> src/value/de.rs:9:24 | 9 | use alloc::vec::{self, Vec}; | ^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Vec` is already defined here warning: the item `String` is imported redundantly --> src/value/from.rs:5:21 | 5 | use alloc::string::{String, ToString}; | ^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `ToString` is imported redundantly --> src/value/from.rs:5:29 | 5 | use alloc::string::{String, ToString}; | ^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `ToString` is already defined here warning: the item `Vec` is imported redundantly --> src/value/from.rs:6:5 | 6 | use alloc::vec::Vec; | ^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Vec` is already defined here warning: the item `ToOwned` is imported redundantly --> src/value/index.rs:3:5 | 3 | use alloc::borrow::ToOwned; | ^^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `ToOwned` is already defined here warning: the item `String` is imported redundantly --> src/value/index.rs:4:5 | 4 | use alloc::string::String; | ^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `String` is imported redundantly --> src/value/partial_eq.rs:2:5 | 2 | use alloc::string::String; | ^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `ToOwned` is imported redundantly --> src/value/ser.rs:4:5 | 4 | use alloc::borrow::ToOwned; | ^^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `ToOwned` is already defined here warning: the item `String` is imported redundantly --> src/value/ser.rs:5:21 | 5 | use alloc::string::{String, ToString}; | ^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `String` is already defined here warning: the item `ToString` is imported redundantly --> src/value/ser.rs:5:29 | 5 | use alloc::string::{String, ToString}; | ^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `ToString` is already defined here warning: the item `Vec` is imported redundantly --> src/value/ser.rs:6:5 | 6 | use alloc::vec::Vec; | ^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Vec` is already defined here warning: the item `Vec` is imported redundantly --> src/read.rs:2:5 | 2 | use alloc::vec::Vec; | ^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Vec` is already defined here warning: the item `ToString` is imported redundantly --> tests/test.rs:46:5 | 46 | use std::string::ToString; | ^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `ToString` is already defined here | = note: `#[warn(unused_imports)]` on by default warning: the item `Vec` is imported redundantly --> tests/../src/lexical/bignum.rs:6:5 | 6 | use alloc::vec::Vec; | ^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13 | 125 | pub use super::v1::*; | --------- the item `Vec` is already defined here | = note: `#[warn(unused_imports)]` on by default
Configuration menu - View commit details
-
Copy full SHA for 6fb7026 - Browse repository at this point
Copy the full SHA 6fb7026View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1b3a6d - Browse repository at this point
Copy the full SHA e1b3a6dView commit details
Commits on Feb 26, 2024
-
Ignore non_local_definitions false positive in test
rust-lang/rust#121621 warning: non-local `impl` definition, they should be avoided as they go against expectation --> tests/test.rs:2338:5 | 2338 | / impl<'de> Deserialize<'de> for &'de RawMapKey { 2339 | | fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> 2340 | | where 2341 | | D: serde::Deserializer<'de>, ... | 2345 | | } 2346 | | } | |_____^ | = help: move this `impl` block outside the of the current function `test_raw_value_in_map_key` = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <rust-lang/rust#120363> = note: `#[warn(non_local_definitions)]` on by default
Configuration menu - View commit details
-
Copy full SHA for fedf834 - Browse repository at this point
Copy the full SHA fedf834View commit details
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a25f6c6 - Browse repository at this point
Copy the full SHA a25f6c6View commit details -
Merge pull request #1118 from serde-rs/transparent
Remove conditional on repr(transparent)
Configuration menu - View commit details
-
Copy full SHA for 8e7b37b - Browse repository at this point
Copy the full SHA 8e7b37bView commit details
Commits on Mar 24, 2024
-
Ignore dead code lint in tests
New in nightly-2024-03-24 from rust-lang/rust#119552. warning: field `x` is never read --> tests/regression/issue795.rs:11:15 | 11 | Variant { x: u8 }, | ------- ^ | | | field in this variant | = note: `#[warn(dead_code)]` on by default warning: field `i` is never read --> tests/regression/issue845.rs:63:9 | 61 | pub struct Struct { | ------ field in this struct 62 | #[serde(deserialize_with = "deserialize_integer_or_string")] 63 | pub i: i64, | ^ | = note: `Struct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
Configuration menu - View commit details
-
Copy full SHA for d2dbbf7 - Browse repository at this point
Copy the full SHA d2dbbf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a0be88 - Browse repository at this point
Copy the full SHA 4a0be88View commit details
Commits on Mar 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3a3f61b - Browse repository at this point
Copy the full SHA 3a3f61bView commit details -
Fix missing backticks in doc comments
This was leading to rustdocs markdown parser to interpret slices like &[u8] as & and a link to u8
Configuration menu - View commit details
-
Copy full SHA for 840da8e - Browse repository at this point
Copy the full SHA 840da8eView commit details
Commits on Mar 26, 2024
-
Explicitly install a Rust toolchain for cargo-outdated job
Debugging a recent cargo-outdated bug, it would have been nice not to wonder whether a rustc version change in GitHub's runner image was a contributing factor.
Configuration menu - View commit details
-
Copy full SHA for 218770b - Browse repository at this point
Copy the full SHA 218770bView commit details -
Merge pull request #1119 from titaniumtraveler/pr
Fix missing backtick in doc comments letting markdown think &[u8] is a link to u8
Configuration menu - View commit details
-
Copy full SHA for c3dc153 - Browse repository at this point
Copy the full SHA c3dc153View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1ebf38 - Browse repository at this point
Copy the full SHA b1ebf38View commit details
Commits on Apr 6, 2024
-
Resolve legacy_numeric_constants clippy lints
warning: usage of a legacy numeric method --> src/de.rs:484:73 | 484 | ... if overflow!(significand * 10 + digit, u64::max_value()) { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default help: use the associated constant instead | 484 | if overflow!(significand * 10 + digit, u64::MAX) { | ~~~ warning: usage of a legacy numeric method --> src/de.rs:536:57 | 536 | if overflow!(significand * 10 + digit, u64::max_value()) { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 536 | if overflow!(significand * 10 + digit, u64::MAX) { | ~~~ warning: usage of a legacy numeric method --> src/de.rs:600:49 | 600 | if overflow!(exp * 10 + digit, i32::max_value()) { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 600 | if overflow!(exp * 10 + digit, i32::MAX) { | ~~~ warning: usage of a legacy numeric method --> src/number.rs:100:39 | 100 | N::PosInt(v) => v <= i64::max_value() as u64, | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 100 | N::PosInt(v) => v <= i64::MAX as u64, | ~~~ warning: usage of a legacy numeric method --> src/number.rs:192:30 | 192 | if n <= i64::max_value() as u64 { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 192 | if n <= i64::MAX as u64 { | ~~~ warning: usage of a legacy numeric method --> tests/../src/lexical/exponent.rs:11:21 | 11 | if value > i32::max_value() as usize { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default help: use the associated constant instead | 11 | if value > i32::MAX as usize { | ~~~ warning: usage of a legacy numeric method --> tests/../src/lexical/exponent.rs:12:14 | 12 | i32::max_value() | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 12 | i32::MAX | ~~~ warning: usage of a legacy numeric method --> tests/../src/lexical/rounding.rs:28:14 | 28 | u64::max_value() | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 28 | u64::MAX | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:21:34 | 21 | scientific_exponent(i32::min_value(), 0, 0), | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 21 | scientific_exponent(i32::MIN, 0, 0), | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:22:14 | 22 | i32::min_value() | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 22 | i32::MIN | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:25:34 | 25 | scientific_exponent(i32::min_value(), 0, 5), | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 25 | scientific_exponent(i32::MIN, 0, 5), | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:26:14 | 26 | i32::min_value() | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 26 | i32::MIN | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:31:34 | 31 | scientific_exponent(i32::max_value(), 0, 0), | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 31 | scientific_exponent(i32::MAX, 0, 0), | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:32:14 | 32 | i32::max_value() - 1 | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 32 | i32::MAX - 1 | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:35:34 | 35 | scientific_exponent(i32::max_value(), 5, 0), | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 35 | scientific_exponent(i32::MAX, 5, 0), | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:36:14 | 36 | i32::max_value() | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 36 | i32::MAX | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:45:32 | 45 | mantissa_exponent(i32::max_value(), 5, 0), | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 45 | mantissa_exponent(i32::MAX, 5, 0), | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:46:14 | 46 | i32::max_value() - 5 | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 46 | i32::MAX - 5 | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:48:39 | 48 | assert_eq!(mantissa_exponent(i32::max_value(), 0, 5), i32::max_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 48 | assert_eq!(mantissa_exponent(i32::MAX, 0, 5), i32::max_value()); | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:48:64 | 48 | assert_eq!(mantissa_exponent(i32::max_value(), 0, 5), i32::max_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 48 | assert_eq!(mantissa_exponent(i32::max_value(), 0, 5), i32::MAX); | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:49:39 | 49 | assert_eq!(mantissa_exponent(i32::min_value(), 5, 0), i32::min_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 49 | assert_eq!(mantissa_exponent(i32::MIN, 5, 0), i32::min_value()); | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:49:64 | 49 | assert_eq!(mantissa_exponent(i32::min_value(), 5, 0), i32::min_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 49 | assert_eq!(mantissa_exponent(i32::min_value(), 5, 0), i32::MIN); | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:51:32 | 51 | mantissa_exponent(i32::min_value(), 0, 5), | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 51 | mantissa_exponent(i32::MIN, 0, 5), | ~~~ warning: usage of a legacy numeric method --> tests/lexical/exponent.rs:52:14 | 52 | i32::min_value() + 5 | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 52 | i32::MIN + 5 | ~~~ warning: importing legacy numeric constants --> tests/test.rs:47:11 | 47 | use std::{i16, i32, i64, i8}; | ^^^ | = help: remove this import = note: then `i16::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default warning: importing legacy numeric constants --> tests/test.rs:47:16 | 47 | use std::{i16, i32, i64, i8}; | ^^^ | = help: remove this import = note: then `i32::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants warning: importing legacy numeric constants --> tests/test.rs:47:21 | 47 | use std::{i16, i32, i64, i8}; | ^^^ | = help: remove this import = note: then `i64::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants warning: importing legacy numeric constants --> tests/test.rs:47:26 | 47 | use std::{i16, i32, i64, i8}; | ^^ | = help: remove this import = note: then `i8::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants warning: importing legacy numeric constants --> tests/test.rs:48:11 | 48 | use std::{u16, u32, u64, u8}; | ^^^ | = help: remove this import = note: then `u16::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants warning: importing legacy numeric constants --> tests/test.rs:48:16 | 48 | use std::{u16, u32, u64, u8}; | ^^^ | = help: remove this import = note: then `u32::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants warning: importing legacy numeric constants --> tests/test.rs:48:21 | 48 | use std::{u16, u32, u64, u8}; | ^^^ | = help: remove this import = note: then `u64::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants warning: importing legacy numeric constants --> tests/test.rs:48:26 | 48 | use std::{u16, u32, u64, u8}; | ^^ | = help: remove this import = note: then `u8::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants warning: usage of a legacy numeric constant --> tests/test.rs:161:22 | 161 | let v = to_value(::std::f64::NAN.copysign(1.0)).unwrap(); | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 161 | let v = to_value(f64::NAN.copysign(1.0)).unwrap(); | ~~~~~~~~ warning: usage of a legacy numeric constant --> tests/test.rs:164:22 | 164 | let v = to_value(::std::f64::NAN.copysign(-1.0)).unwrap(); | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 164 | let v = to_value(f64::NAN.copysign(-1.0)).unwrap(); | ~~~~~~~~ warning: usage of a legacy numeric constant --> tests/test.rs:167:22 | 167 | let v = to_value(::std::f64::INFINITY).unwrap(); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 167 | let v = to_value(f64::INFINITY).unwrap(); | ~~~~~~~~~~~~~ warning: usage of a legacy numeric constant --> tests/test.rs:170:23 | 170 | let v = to_value(-::std::f64::INFINITY).unwrap(); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 170 | let v = to_value(-f64::INFINITY).unwrap(); | ~~~~~~~~~~~~~ warning: usage of a legacy numeric constant --> tests/test.rs:173:22 | 173 | let v = to_value(::std::f32::NAN.copysign(1.0)).unwrap(); | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 173 | let v = to_value(f32::NAN.copysign(1.0)).unwrap(); | ~~~~~~~~ warning: usage of a legacy numeric constant --> tests/test.rs:176:22 | 176 | let v = to_value(::std::f32::NAN.copysign(-1.0)).unwrap(); | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 176 | let v = to_value(f32::NAN.copysign(-1.0)).unwrap(); | ~~~~~~~~ warning: usage of a legacy numeric constant --> tests/test.rs:179:22 | 179 | let v = to_value(::std::f32::INFINITY).unwrap(); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 179 | let v = to_value(f32::INFINITY).unwrap(); | ~~~~~~~~~~~~~ warning: usage of a legacy numeric constant --> tests/test.rs:182:23 | 182 | let v = to_value(-::std::f32::INFINITY).unwrap(); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 182 | let v = to_value(-f32::INFINITY).unwrap(); | ~~~~~~~~~~~~~ warning: usage of a legacy numeric method --> tests/test.rs:2243:26 | 2243 | let signed = &[i128::min_value(), -1, 0, 1, i128::max_value()]; | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 2243 | let signed = &[i128::MIN, -1, 0, 1, i128::max_value()]; | ~~~ warning: usage of a legacy numeric method --> tests/test.rs:2243:55 | 2243 | let signed = &[i128::min_value(), -1, 0, 1, i128::max_value()]; | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 2243 | let signed = &[i128::min_value(), -1, 0, 1, i128::MAX]; | ~~~ warning: usage of a legacy numeric method --> tests/test.rs:2244:34 | 2244 | let unsigned = &[0, 1, u128::max_value()]; | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 2244 | let unsigned = &[0, 1, u128::MAX]; | ~~~ warning: usage of a legacy numeric method --> tests/test.rs:2280:36 | 2280 | let signed = &[i128::from(i64::min_value()), i128::from(u64::max_value())]; | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 2280 | let signed = &[i128::from(i64::MIN), i128::from(u64::max_value())]; | ~~~ warning: usage of a legacy numeric method --> tests/test.rs:2280:66 | 2280 | let signed = &[i128::from(i64::min_value()), i128::from(u64::max_value())]; | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 2280 | let signed = &[i128::from(i64::min_value()), i128::from(u64::MAX)]; | ~~~ warning: usage of a legacy numeric method --> tests/test.rs:2281:41 | 2281 | let unsigned = &[0, u128::from(u64::max_value())]; | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 2281 | let unsigned = &[0, u128::from(u64::MAX)]; | ~~~ warning: usage of a legacy numeric method --> tests/test.rs:2294:44 | 2294 | let err = to_value(u128::from(u64::max_value()) + 1).unwrap_err(); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 2294 | let err = to_value(u128::from(u64::MAX) + 1).unwrap_err(); | ~~~
Configuration menu - View commit details
-
Copy full SHA for 0baba28 - Browse repository at this point
Copy the full SHA 0baba28View commit details
Commits on Apr 8, 2024
-
Revert "Temporarily disable miri on doctests"
This reverts commit 3a3f61b.
Configuration menu - View commit details
-
Copy full SHA for 2e15e3d - Browse repository at this point
Copy the full SHA 2e15e3dView commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 25dc750 - Browse repository at this point
Copy the full SHA 25dc750View commit details
Commits on Apr 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 051ce97 - Browse repository at this point
Copy the full SHA 051ce97View commit details -
Hide "non-exhaustive patterns" errors when crate fails to compile
Fixes #1125. error: expected item, found `"serde_json requires that either `std` (default) or `alloc` feature is enabled"` --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.115/src/features_check/error.rs:1:1 | 1 | "serde_json requires that either `std` (default) or `alloc` feature is enabled" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected item | = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html> error[E0004]: non-exhaustive patterns: `Value::String(_)` not covered --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.115/src/value/de.rs:216:15 | 216 | match self { | ^^^^ pattern `Value::String(_)` not covered | note: `Value` defined here --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.115/src/value/mod.rs:116:10 | 116 | pub enum Value { | ^^^^^ ... 151 | String(String), | ------ not covered = note: the matched value is of type `Value` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | 223 ~ Value::Object(v) => visit_object(v, visitor), 224 ~ Value::String(_) => todo!(), | error[E0004]: non-exhaustive patterns: `Cow::Owned(_)` not covered --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.115/src/value/de.rs:1338:15 | 1338 | match self.value { | ^^^^^^^^^^ pattern `Cow::Owned(_)` not covered | note: `Cow<'_, str>` defined here --> /rustc/98aa3624be70462d6a25ed5544333e3df62f4c66/library/alloc/src/borrow.rs:180:1 ::: /rustc/98aa3624be70462d6a25ed5544333e3df62f4c66/library/alloc/src/borrow.rs:190:5 | = note: not covered = note: the matched value is of type `Cow<'_, str>` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | 1339 ~ Cow::Borrowed(string) => visitor.visit_borrowed_str(string), 1340 ~ Cow::Owned(_) => todo!(), | error[E0004]: non-exhaustive patterns: `&Value::Object(_)` not covered --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.115/src/value/ser.rs:17:15 | 17 | match self { | ^^^^ pattern `&Value::Object(_)` not covered | note: `Value` defined here --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.115/src/value/mod.rs:116:10 | 116 | pub enum Value { | ^^^^^ ... 175 | Object(Map<String, Value>), | ------ not covered = note: the matched value is of type `&Value` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | 22 ~ Value::Array(v) => v.serialize(serializer), 23 ~ &Value::Object(_) => todo!(), |
Configuration menu - View commit details
-
Copy full SHA for 12c8ee0 - Browse repository at this point
Copy the full SHA 12c8ee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3f62bb - Browse repository at this point
Copy the full SHA a3f62bbView commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 16eb872 - Browse repository at this point
Copy the full SHA 16eb872View commit details
Commits on May 7, 2024
-
Resolve unexpected_cfgs warning
warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/mod.rs:31:7 | 31 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows` = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `limb_width_64` --> src/lexical/mod.rs:34:7 | 34 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/large_powers.rs:5:7 | 5 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> src/lexical/large_powers.rs:8:7 | 8 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/math.rs:40:7 | 40 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/math.rs:43:7 | 43 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/math.rs:46:7 | 46 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/math.rs:49:7 | 49 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> src/lexical/math.rs:53:7 | 53 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> src/lexical/math.rs:56:7 | 56 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> src/lexical/math.rs:59:7 | 59 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> src/lexical/math.rs:62:7 | 62 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/math.rs:82:7 | 82 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> src/lexical/math.rs:89:7 | 89 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/small_powers.rs:6:7 | 6 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> src/lexical/small_powers.rs:12:7 | 12 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> src/lexical/small_powers.rs:18:7 | 18 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/mod.rs:31:7 | 31 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows` = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `limb_width_64` --> tests/../src/lexical/mod.rs:34:7 | 34 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/large_powers.rs:5:7 | 5 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> tests/../src/lexical/large_powers.rs:8:7 | 8 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/math.rs:40:7 | 40 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/math.rs:43:7 | 43 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/math.rs:46:7 | 46 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/math.rs:49:7 | 49 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> tests/../src/lexical/math.rs:53:7 | 53 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> tests/../src/lexical/math.rs:56:7 | 56 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> tests/../src/lexical/math.rs:59:7 | 59 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> tests/../src/lexical/math.rs:62:7 | 62 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/math.rs:82:7 | 82 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> tests/../src/lexical/math.rs:89:7 | 89 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/small_powers.rs:6:7 | 6 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/../src/lexical/small_powers.rs:12:7 | 12 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> tests/../src/lexical/small_powers.rs:18:7 | 18 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_32` --> tests/lexical/math.rs:21:7 | 21 | #[cfg(limb_width_32)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_32)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration warning: unexpected `cfg` condition name: `limb_width_64` --> tests/lexical/math.rs:26:7 | 26 | #[cfg(limb_width_64)] | ^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(limb_width_64)");` to the top of the `build.rs` = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
Configuration menu - View commit details
-
Copy full SHA for 98f1a24 - Browse repository at this point
Copy the full SHA 98f1a24View commit details -
Merge pull request #1130 from serde-rs/checkcfg
Resolve unexpected_cfgs warning
Configuration menu - View commit details
-
Copy full SHA for b4fc245 - Browse repository at this point
Copy the full SHA b4fc245View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf99c7 - Browse repository at this point
Copy the full SHA fdf99c7View commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4517c7a - Browse repository at this point
Copy the full SHA 4517c7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ae247c - Browse repository at this point
Copy the full SHA 0ae247cView commit details
Commits on May 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8e475f1 - Browse repository at this point
Copy the full SHA 8e475f1View commit details -
Merge pull request #1136 from dtolnay/docsrs
Rely on docs.rs to define --cfg=docsrs by default
Configuration menu - View commit details
-
Copy full SHA for 62839b7 - Browse repository at this point
Copy the full SHA 62839b7View commit details
Commits on Jun 2, 2024
-
Resolve needless_raw_string_hashes pedantic clippy lint in test
warning: unnecessary hashes around raw string literal --> tests/test.rs:2313:16 | 2313 | assert_eq!(r#"42"#, array_from_str[1].get()); | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes = note: `-W clippy::needless-raw-string-hashes` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_raw_string_hashes)]` help: remove all the hashes around the string literal | 2313 - assert_eq!(r#"42"#, array_from_str[1].get()); 2313 + assert_eq!(r"42", array_from_str[1].get()); | warning: unnecessary hashes around raw string literal --> tests/test.rs:2315:16 | 2315 | assert_eq!(r#"null"#, array_from_str[3].get()); | ^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes help: remove all the hashes around the string literal | 2315 - assert_eq!(r#"null"#, array_from_str[3].get()); 2315 + assert_eq!(r"null", array_from_str[3].get()); | warning: unnecessary hashes around raw string literal --> tests/test.rs:2392:16 | 2392 | assert_eq!(r#"42"#, array_from_str[1].get()); | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes help: remove all the hashes around the string literal | 2392 - assert_eq!(r#"42"#, array_from_str[1].get()); 2392 + assert_eq!(r"42", array_from_str[1].get()); | warning: unnecessary hashes around raw string literal --> tests/test.rs:2394:16 | 2394 | assert_eq!(r#"null"#, array_from_str[3].get()); | ^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes help: remove all the hashes around the string literal | 2394 - assert_eq!(r#"null"#, array_from_str[3].get()); 2394 + assert_eq!(r"null", array_from_str[3].get()); | warning: unnecessary hashes around raw string literal --> tests/test.rs:2399:16 | 2399 | assert_eq!(r#"42"#, array_from_reader[1].get()); | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes help: remove all the hashes around the string literal | 2399 - assert_eq!(r#"42"#, array_from_reader[1].get()); 2399 + assert_eq!(r"42", array_from_reader[1].get()); | warning: unnecessary hashes around raw string literal --> tests/test.rs:2401:16 | 2401 | assert_eq!(r#"null"#, array_from_reader[3].get()); | ^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes help: remove all the hashes around the string literal | 2401 - assert_eq!(r#"null"#, array_from_reader[3].get()); 2401 + assert_eq!(r"null", array_from_reader[3].get()); |
Configuration menu - View commit details
-
Copy full SHA for 18e9b89 - Browse repository at this point
Copy the full SHA 18e9b89View commit details -
Ignore large_digit_groups pedantic clippy lint in test
warning: digit groups should be smaller --> tests/test.rs:962:9 | 962 | 51.24817837550540_4, // 51.2481783755054_1 | ^^^^^^^^^^^^^^^^^^^ help: consider: `51.248_178_375_505_404` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups = note: `-W clippy::large-digit-groups` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::large_digit_groups)]` warning: digit groups should be smaller --> tests/test.rs:963:10 | 963 | -93.3113703768803_3, // -93.3113703768803_2 | ^^^^^^^^^^^^^^^^^^ help: consider: `93.311_370_376_880_33` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups warning: digit groups should be smaller --> tests/test.rs:964:10 | 964 | -36.5739948427534_36, // -36.5739948427534_4 | ^^^^^^^^^^^^^^^^^^^ help: consider: `36.573_994_842_753_436` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups warning: digit groups should be smaller --> tests/test.rs:965:9 | 965 | 52.31400820410624_4, // 52.31400820410624_ | ^^^^^^^^^^^^^^^^^^^ help: consider: `52.314_008_204_106_244` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups warning: digit groups should be smaller --> tests/test.rs:966:9 | 966 | 97.4536532003468_5, // 97.4536532003468_4 | ^^^^^^^^^^^^^^^^^^ help: consider: `97.453_653_200_346_85` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups
Configuration menu - View commit details
-
Copy full SHA for b83d243 - Browse repository at this point
Copy the full SHA b83d243View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9b9f88 - Browse repository at this point
Copy the full SHA c9b9f88View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa8aa22 - Browse repository at this point
Copy the full SHA fa8aa22View commit details
Commits on Jun 8, 2024
-
Delete unused associated constant from lexical
warning: associated constant `NEGATIVE_INFINITY_BITS` is never used --> src/lexical/num.rs:223:11 | 175 | pub trait Float: Number { | ----- associated constant in this trait ... 223 | const NEGATIVE_INFINITY_BITS: Self::Unsigned; | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
Configuration menu - View commit details
-
Copy full SHA for 4c894ea - Browse repository at this point
Copy the full SHA 4c894eaView commit details -
Another lexical const that is unused, though not in test
warning: associated constant `SIGN_MASK` is never used --> src/lexical/num.rs:210:11 | 175 | pub trait Float: Number { | ----- associated constant in this trait ... 210 | const SIGN_MASK: Self::Unsigned; | ^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
Configuration menu - View commit details
-
Copy full SHA for 24d868f - Browse repository at this point
Copy the full SHA 24d868fView commit details
Commits on Jun 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eb0330a - Browse repository at this point
Copy the full SHA eb0330aView commit details -
Resolve semicolon_if_nothing_returned pedantic clippy lint from PR 1127
warning: consider adding a `;` to the last statement for consistent formatting --> src/map.rs:377:9 | 377 | self.map.hash(state) | ^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `self.map.hash(state);` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned = note: `-W clippy::semicolon-if-nothing-returned` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::semicolon_if_nothing_returned)]`
Configuration menu - View commit details
-
Copy full SHA for 0af2bda - Browse repository at this point
Copy the full SHA 0af2bdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e7bedc - Browse repository at this point
Copy the full SHA 5e7bedcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d94eb - Browse repository at this point
Copy the full SHA 51d94ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4f24f3 - Browse repository at this point
Copy the full SHA c4f24f3View commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a83fe96 - Browse repository at this point
Copy the full SHA a83fe96View commit details -
Merge pull request #1146 from haouvw/master
chore: remove repeat words
Configuration menu - View commit details
-
Copy full SHA for a9e089a - Browse repository at this point
Copy the full SHA a9e089aView commit details
Commits on Jun 30, 2024
-
This method inserts a key-value pair in the map at the given index. If the map did not have this key present, `None` is returned. If the map did have this key present, the key is moved to the new position, the value is updated, and the old value is returned. This is useful when you want to insert a key-value pair at a specific position in the map, and is a necessary method when writing a JSON editor that can mutate the keys in a JSON object.
Configuration menu - View commit details
-
Copy full SHA for 309ef6b - Browse repository at this point
Copy the full SHA 309ef6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c17e63f - Browse repository at this point
Copy the full SHA c17e63fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 352b7ab - Browse repository at this point
Copy the full SHA 352b7abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8878cd7 - Browse repository at this point
Copy the full SHA 8878cd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b48b9a3 - Browse repository at this point
Copy the full SHA b48b9a3View commit details
Commits on Jul 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3480fed - Browse repository at this point
Copy the full SHA 3480fedView commit details -
Merge pull request #1152 from cforycki/fix/index-map-minimal-version
fix: indexmap minimal version with Map::shift_insert()
Configuration menu - View commit details
-
Copy full SHA for 962c0fb - Browse repository at this point
Copy the full SHA 962c0fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcedc3d - Browse repository at this point
Copy the full SHA bcedc3dView commit details
Commits on Jul 2, 2024
-
Correct documentation URL for Value's Index impl.
The current id doesn't exist, so the link just goes to the top of the docs for Value, rather than to the intended section covering `impl<I> Index<I> for Value`.
Configuration menu - View commit details
-
Copy full SHA for fcb5e83 - Browse repository at this point
Copy the full SHA fcb5e83View commit details
Commits on Jul 3, 2024
-
Merge pull request #1153 from dpathakj/master
Correct documentation URL for Value's Index impl.
Configuration menu - View commit details
-
Copy full SHA for 3fd6f5f - Browse repository at this point
Copy the full SHA 3fd6f5fView commit details
Commits on Jul 12, 2024
-
Ignore byte_char_slices clippy lint in test
warning: can be more succinctly written as a byte str --> tests/test.rs:1108:13 | 1108 | &[b'"', b'\n', b'"'], | ^^^^^^^^^^^^^^^^^^^^ help: try: `b"\"\n\""` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices = note: `-W clippy::byte-char-slices` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::byte_char_slices)]` warning: can be more succinctly written as a byte str --> tests/test.rs:1112:13 | 1112 | &[b'"', b'\x1F', b'"'], | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `b"\"\x1F\""` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices
Configuration menu - View commit details
-
Copy full SHA for 3f1c6de - Browse repository at this point
Copy the full SHA 3f1c6deView commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a306e6 - Browse repository at this point
Copy the full SHA 6a306e6View commit details -
Merge pull request #1159 from iex-rs/fix-recursion
Move call to tri! out of check_recursion!
Configuration menu - View commit details
-
Copy full SHA for 40dd7f5 - Browse repository at this point
Copy the full SHA 40dd7f5View commit details -
Optimize position search in error path
Translating index into a line/column pair takes considerable time. Notably, the JSON benchmark modified to run on malformed data spends around 50% of the CPU time generating the error object. While it is generally assumed that the cold path is quite slow, such a drastic pessimization may be unexpected, especially when a faster implementation exists. Using vectorized routines provided by the memchr crate increases performance of the failure path by 2x on average. Old implementation: DOM STRUCT data/canada.json 122 MB/s 168 MB/s data/citm_catalog.json 135 MB/s 195 MB/s data/twitter.json 142 MB/s 226 MB/s New implementation: DOM STRUCT data/canada.json 216 MB/s 376 MB/s data/citm_catalog.json 238 MB/s 736 MB/s data/twitter.json 210 MB/s 492 MB/s In comparison, the performance of the happy path is: DOM STRUCT data/canada.json 283 MB/s 416 MB/s data/citm_catalog.json 429 MB/s 864 MB/s data/twitter.json 275 MB/s 541 MB/s While this introduces a new dependency, memchr is much faster to compile than serde, so compile time does not increase significantly. Additionally, memchr provides a more efficient SWAR-based implementation of both the memchr and count routines even without std, providing benefits for embedded uses as well.
Configuration menu - View commit details
-
Copy full SHA for b1edc7d - Browse repository at this point
Copy the full SHA b1edc7dView commit details
Commits on Jul 28, 2024
-
Merge pull request #1160 from iex-rs/efficient-position
Optimize position search in error path
Configuration menu - View commit details
-
Copy full SHA for b0d678c - Browse repository at this point
Copy the full SHA b0d678cView commit details -
Configuration menu - View commit details
-
Copy full SHA for eca2658 - Browse repository at this point
Copy the full SHA eca2658View commit details
Commits on Jul 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3faae03 - Browse repository at this point
Copy the full SHA 3faae03View commit details -
Replace ESCAPE array with is_escape fn
This is not backed by benchmarks, but it seems reasonable that we'd be more starved for cache than CPU in IO-bound tasks. It also simplifies code a bit and frees up some memory, which is probably a good thing.
Configuration menu - View commit details
-
Copy full SHA for 03ceee9 - Browse repository at this point
Copy the full SHA 03ceee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63cb04d - Browse repository at this point
Copy the full SHA 63cb04dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3063d69 - Browse repository at this point
Copy the full SHA 3063d69View commit details
Commits on Aug 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7633cb7 - Browse repository at this point
Copy the full SHA 7633cb7View commit details -
Merge pull request #1165 from serde-rs/jsonmac
Eliminate local_inner_macros in favor of non-ident macro paths
Configuration menu - View commit details
-
Copy full SHA for 611b2a4 - Browse repository at this point
Copy the full SHA 611b2a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6827c7b - Browse repository at this point
Copy the full SHA 6827c7bView commit details -
Merge pull request #1166 from dtolnay/allocvec
Fix `json!` invocations when std prelude is not in scope
Configuration menu - View commit details
-
Copy full SHA for 49d7d66 - Browse repository at this point
Copy the full SHA 49d7d66View commit details -
Work around buggy rust-analyzer behavior
As far as I can tell there is still no way to block it from autoimporting the private macros here.
Configuration menu - View commit details
-
Copy full SHA for 16fb6e0 - Browse repository at this point
Copy the full SHA 16fb6e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54381d6 - Browse repository at this point
Copy the full SHA 54381d6View commit details
Commits on Aug 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5496579 - Browse repository at this point
Copy the full SHA 5496579View commit details -
Configuration menu - View commit details
-
Copy full SHA for a95d6df - Browse repository at this point
Copy the full SHA a95d6dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f0dcf7 - Browse repository at this point
Copy the full SHA 1f0dcf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8389d8a - Browse repository at this point
Copy the full SHA 8389d8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e43da5e - Browse repository at this point
Copy the full SHA e43da5eView commit details -
Merge pull request #1161 from iex-rs/vectorized-string-parsing
Vectorize string parsing
Configuration menu - View commit details
-
Copy full SHA for 859ead8 - Browse repository at this point
Copy the full SHA 859ead8View commit details -
Fix needless_borrow clippy lint in new control character test
warning: this expression creates a reference which is immediately dereferenced by the compiler --> tests/test.rs:2515:9 | 2515 | &"\"\t\n\r\"", | ^^^^^^^^^^^^^ help: change this to: `"\"\t\n\r\""` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-W clippy::needless-borrow` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
Configuration menu - View commit details
-
Copy full SHA for 346189a - Browse repository at this point
Copy the full SHA 346189aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cab07e - Browse repository at this point
Copy the full SHA 2cab07eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eba786 - Browse repository at this point
Copy the full SHA 8eba786View commit details -
Merge pull request #1173 from iex-rs/fix-big-endian
Oops, fix skip_to_escape on BE architectures
Configuration menu - View commit details
-
Copy full SHA for 8b314a7 - Browse repository at this point
Copy the full SHA 8b314a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf771a0 - Browse repository at this point
Copy the full SHA cf771a0View commit details
Commits on Aug 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 81b1b61 - Browse repository at this point
Copy the full SHA 81b1b61View commit details -
When ignoring *War and Peace* (in Russian), this increases performance from 640 MB/s to 1080 MB/s (+70%). When parsing into String, the savings are moderate but still significant: 275 MB/s to 320 MB/s (+15%).
Configuration menu - View commit details
-
Copy full SHA for 86d0e11 - Browse repository at this point
Copy the full SHA 86d0e11View commit details -
This counterintuitively speeds up War and Peace 275 -> 290 MB/s (+5%) by enabling inlining of encode_utf8 and extend_from_slice.
Configuration menu - View commit details
-
Copy full SHA for a38dbf3 - Browse repository at this point
Copy the full SHA a38dbf3View commit details -
This speeds up War and Peace 290 MB/s -> 330 MB/s (+15%).
Configuration menu - View commit details
-
Copy full SHA for 0e90b61 - Browse repository at this point
Copy the full SHA 0e90b61View commit details -
Use the same UTF-8/WTF-8 impl for surrogates
This does not affect performance.
Configuration menu - View commit details
-
Copy full SHA for 2f28d10 - Browse repository at this point
Copy the full SHA 2f28d10View commit details -
Simplify unicode escape handling
This does not affect performance.
Configuration menu - View commit details
-
Copy full SHA for 236cc82 - Browse repository at this point
Copy the full SHA 236cc82View commit details -
Closes #877. This is a good time to make ByteBuf parsing more consistent as I'm rewriting it anyway. This commit integrates the changes from #877 and also handles a leading surrogate followed by a surrogate pair correctly. This does not affect performance significantly. Co-authored-by: Luca Casonato <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96ae604 - Browse repository at this point
Copy the full SHA 96ae604View commit details -
Merge pull request #1174 from iex-rs/miri-on-ci
Test on BE and 32-bit platforms on CI via Miri
Configuration menu - View commit details
-
Copy full SHA for 8073fc1 - Browse repository at this point
Copy the full SHA 8073fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94a2aad - Browse repository at this point
Copy the full SHA 94a2aadView commit details -
Merge pull request #1176 from dtolnay/miriname
Improve job names for miri jobs
Configuration menu - View commit details
-
Copy full SHA for b4bc643 - Browse repository at this point
Copy the full SHA b4bc643View commit details -
Merge pull request #1172 from iex-rs/faster-hex
Parse \uXXXX escapes faster
Configuration menu - View commit details
-
Copy full SHA for d8921cd - Browse repository at this point
Copy the full SHA d8921cdView commit details
Commits on Aug 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0f942e5 - Browse repository at this point
Copy the full SHA 0f942e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc7a160 - Browse repository at this point
Copy the full SHA cc7a160View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6130f9b - Browse repository at this point
Copy the full SHA 6130f9bView commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ffb43a - Browse repository at this point
Copy the full SHA 9ffb43aView commit details -
Merge pull request #1178 from iex-rs/tiny-bit-faster-hex
Optimize Unicode decoding by 1% 🤡
Configuration menu - View commit details
-
Copy full SHA for 50c4328 - Browse repository at this point
Copy the full SHA 50c4328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ceb9d8 - Browse repository at this point
Copy the full SHA 0ceb9d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11fc61c - Browse repository at this point
Copy the full SHA 11fc61cView commit details
Commits on Aug 23, 2024
-
Ensure the SWAR chunks are 64-bit in more cases
Various architectures have support for 64-bit integers, but there are Rust targets for those architectures where the pointer size is intentionally just 32-bit. For SWAR this smaller pointer size would negatively affect those targets, so this PR ensures the chunk size stays 64-bit on those targets.
Configuration menu - View commit details
-
Copy full SHA for 3d837e1 - Browse repository at this point
Copy the full SHA 3d837e1View commit details -
Merge pull request #1182 from CryZe/chunk-64bit
Ensure the SWAR chunks are 64-bit in more cases
Configuration menu - View commit details
-
Copy full SHA for fec0376 - Browse repository at this point
Copy the full SHA fec0376View commit details -
Configuration menu - View commit details
-
Copy full SHA for f268173 - Browse repository at this point
Copy the full SHA f268173View commit details -
Merge pull request #1183 from serde-rs/arithmetic
Unify chunk size choice between float and string parsing
Configuration menu - View commit details
-
Copy full SHA for 4b1048d - Browse repository at this point
Copy the full SHA 4b1048dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffc4a43 - Browse repository at this point
Copy the full SHA ffc4a43View commit details -
Merge pull request #1184 from serde-rs/fastarithmetic
Improve cfg names for fast arithmetic
Configuration menu - View commit details
-
Copy full SHA for e6282b0 - Browse repository at this point
Copy the full SHA e6282b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec980b0 - Browse repository at this point
Copy the full SHA ec980b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f287a3b - Browse repository at this point
Copy the full SHA f287a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ebf65c - Browse repository at this point
Copy the full SHA 5ebf65cView commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 27a4ca9 - Browse repository at this point
Copy the full SHA 27a4ca9View commit details
Commits on Sep 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5416cee - Browse repository at this point
Copy the full SHA 5416ceeView commit details -
Merge pull request #1188 from Mrreadiness/feat/add-hashmap-key-128-se…
…rializer Add support for 128 bit HashMap key serialization
Configuration menu - View commit details
-
Copy full SHA for 599228d - Browse repository at this point
Copy the full SHA 599228dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d96b1d9 - Browse repository at this point
Copy the full SHA d96b1d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59112ae - Browse repository at this point
Copy the full SHA 59112aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4921906 - Browse repository at this point
Copy the full SHA 4921906View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f4e30a - Browse repository at this point
Copy the full SHA 3f4e30aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d254281 - Browse repository at this point
Copy the full SHA d254281View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1faf3a1 - Browse repository at this point
Copy the full SHA 1faf3a1View commit details
Commits on Sep 27, 2024
-
Resolve empty_line_after_doc_comments clippy lint in lexical
warning: empty line after doc comment --> tests/../src/lexical/math.rs:277:5 | 277 | / /// ADDITION 278 | | | |_ ... 284 | pub fn iadd_impl(x: &mut Vec<Limb>, y: Limb, xstart: usize) { | ----------------------------------------------------------- the comment documents this function | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `-W clippy::empty-line-after-doc-comments` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::empty_line_after_doc_comments)]` = help: if the empty line is unintentional remove it help: if the documentation should include the empty line include it in the comment | 278 | /// |
Configuration menu - View commit details
-
Copy full SHA for 309cfc9 - Browse repository at this point
Copy the full SHA 309cfc9View commit details