Skip to content
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

Open
wants to merge 575 commits into
base: master
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 4, 2023

  1. Configuration menu
    Copy the full SHA
    f482ed3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f8a2b1 View commit details
    Browse the repository at this point in the history
  3. No pre_ci in this repo

    dtolnay committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    897f913 View commit details
    Browse the repository at this point in the history
  4. Release 1.0.100

    dtolnay committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    d2fce19 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Update to 2021 edition

    dtolnay committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    5def336 View commit details
    Browse the repository at this point in the history
  2. 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>> {
           |                                            +++
    dtolnay committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    4514365 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2023

  1. Return error on non-finite float keys

    This handles NaN and both positive and negative infinity.
    overdrivenpotato committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    f74b422 View commit details
    Browse the repository at this point in the history
  2. Print map float keys with CompactFormatter

    This ensures consistency with the default `Formatter::write_f32` output
    format used elsewhere.
    overdrivenpotato committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    9963405 View commit details
    Browse the repository at this point in the history
  3. 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.
    overdrivenpotato committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    22a5e9b View commit details
    Browse the repository at this point in the history
  4. Fix formatting

    overdrivenpotato committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    324c5b5 View commit details
    Browse the repository at this point in the history
  5. Fix builds without std feature

    An `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.
    overdrivenpotato committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    18e1b59 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5762701 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7760a1a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b0dbac7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    468a94a View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Configuration menu
    Copy the full SHA
    a4e2719 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Merge pull request #1027 from overdrivenpotato/float-key

    Allow `f32` and `f64` map keys
    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    b8d8d10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76555ac View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1035 from dtolnay/numkey

    Improve error message on invalid numeric key
    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    d796aaa View commit details
    Browse the repository at this point in the history
  4. 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(()),
             |
    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    bb60990 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    666b9cd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    66d28a8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f80ce0f View commit details
    Browse the repository at this point in the history
  8. 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
    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    f899904 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #1036 from dtolnay/nll

    Remove pre-NLL borrow checker workarounds
    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    6c8523f View commit details
    Browse the repository at this point in the history
  10. Delete dedicated whitespace-in-key error message

    I don't feel this carries its weight after PR 1035.
    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    7933880 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    de897a0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e8e5342 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9604317 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d816a2e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    af242a1 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    51b1bd0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    468547f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    98c4db1 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f1a28a3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0770869 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    defa896 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9f4c4af View commit details
    Browse the repository at this point in the history
  23. Merge pull request #1037 from dtolnay/numkey

    Insert check for whitespace surrounding numeric map key deserializing from Value
    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    0c4a7f8 View commit details
    Browse the repository at this point in the history
  24. Release 1.0.101

    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    1e1bfa8 View commit details
    Browse the repository at this point in the history
  25. Format PR 1037 with rustfmt

    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    3ddda75 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    55a7f5c View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    1b72f2b View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    0e2c949 View commit details
    Browse the repository at this point in the history
  29. Simplify serialize_bytes

    dtolnay committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    44b4a6c View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    6ad5495 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    857b010 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    a1ca32a View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Merge pull request #1039 from dtolnay/writebytearray

    Add Formatter::write_byte_array
    dtolnay committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    42dbd00 View commit details
    Browse the repository at this point in the history
  2. Release 1.0.102

    dtolnay committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    658689d View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2023

  1. 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
    dtolnay committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    d1a07e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c2879a View commit details
    Browse the repository at this point in the history
  3. Release 1.0.103

    dtolnay committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    54bcb4d View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Configuration menu
    Copy the full SHA
    8f90eac View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Configuration menu
    Copy the full SHA
    8e8db8c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1045 from ZetaNumbers/value-ref-into-deserializer

    Implement IntoDeserializer for &Value
    dtolnay committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    f6cc4f3 View commit details
    Browse the repository at this point in the history
  3. Release 1.0.104

    dtolnay committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    ab08483 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. 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`
    dtolnay committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    8652bf2 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Configuration menu
    Copy the full SHA
    58dd8d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    283a68b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68a5582 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b69f16 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1055 from dtolnay/boolkey

    Support bool in map keys
    dtolnay committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    59d9f96 View commit details
    Browse the repository at this point in the history
  6. Release 1.0.105

    dtolnay committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    0daacdd View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. chore: Remove no_btreemap_retain feature from build.rs

    osiewicz authored and Piotr Osiewicz committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    d0c979a View commit details
    Browse the repository at this point in the history
  2. chore: Remove no_btreemap_get_key_value and no_btreemap_remove_entry.

    osiewicz authored and Piotr Osiewicz committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    716cb8f View commit details
    Browse the repository at this point in the history
  3. Remove limb_width32 and limb_width64 features

    Moved dispatch directly into the type system.
    osiewicz authored and Piotr Osiewicz committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    c754f03 View commit details
    Browse the repository at this point in the history
  4. fixup! Remove limb_width32 and limb_width64 features

    Piotr Osiewicz committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    16e04ce View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    6525ffa View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    4cc9ea7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99bc2df View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    029fda0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1786de2 View commit details
    Browse the repository at this point in the history
  3. adds as_number to Value

    chanced committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    b438004 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2cd5d59 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf433e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    c308779 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de39b2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a5fef9 View commit details
    Browse the repository at this point in the history
  4. Reorder Value::as_number after is_number

    The other as_* methods all come after the corresponding is_* method.
    dtolnay committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    5a39516 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    95c5d6c View commit details
    Browse the repository at this point in the history
  6. 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
            |     ~~~~~~~~~~~~~~~
    dtolnay committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    11b603c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    db75c22 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1067 from chanced/add-as_str-to-number

    adds `as_str` to `Number` if `arbitrary_precision` is enabled
    dtolnay committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    028b643 View commit details
    Browse the repository at this point in the history
  9. Touch up PR 1067

    dtolnay committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    fc8dd13 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f16cad6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f346308 View commit details
    Browse the repository at this point in the history
  12. Release 1.0.106

    dtolnay committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    45f10ec View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Revert "Remove limb_width32 and limb_width64 features"

    This reverts commit c754f03.
    osiewicz committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    89a2741 View commit details
    Browse the repository at this point in the history
  2. Omit return keyword in remove_entry

    Co-authored-by: David Tolnay <[email protected]>
    osiewicz and dtolnay committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    83bdc5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04f7758 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1062 from osiewicz/remove_build_rs

    Simplify/remove build.rs following the bump to 2021 edition
    dtolnay committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    2c22077 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    fe30766 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1072 from dtolnay/rawvalue

    Support deserializing from &RawValue
    dtolnay committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    4ea34a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9d296f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1073 from dtolnay/rawvalue

    IntoDeserializer for &RawValue
    dtolnay committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    00626a0 View commit details
    Browse the repository at this point in the history
  5. Release 1.0.107

    dtolnay committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    b6e113f View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. Configuration menu
    Copy the full SHA
    57d529b View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Configuration menu
    Copy the full SHA
    9d86391 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1075 from dimo414/master

    Remove a few unnecessary lifetimes
    dtolnay committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    5bb6960 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    39f5ad1 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Fix unused imports

        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};
           |                   ^^^  ^^^^  ^^^  ^^^
    dtolnay committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    421a70d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e091d5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1080 from serde-rs/negativenan

    Add test of negative NaN and negative infinity
    dtolnay committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    f56053d View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. fixed typos

    fritzrehde committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    ebaf617 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1081 from fritzrehde/master

    Fixed some typos
    dtolnay committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    a8e6f75 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f072fa View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1082 from dtolnay/fromdoc

    Improve Value From and FromIterator docs
    dtolnay committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    1454eac View commit details
    Browse the repository at this point in the history
  5. Release 1.0.108

    dtolnay committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    4bc1eaa View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2023

  1. Configuration menu
    Copy the full SHA
    05196ca View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Configuration menu
    Copy the full SHA
    fe031cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ff6c9e View commit details
    Browse the repository at this point in the history
  3. Use BuildHasher::hash_one

    dtolnay committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    b9bcbad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b328ee7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1095 from dtolnay/hashtest

    Resolve manual_hash_one lint in test
    dtolnay committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    c367091 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. Configuration menu
    Copy the full SHA
    df36d10 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1097 from serde-rs/doccfg

    Restore doc cfg on re-exports
    dtolnay committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    bb62c73 View commit details
    Browse the repository at this point in the history
  3. Release 1.0.109

    dtolnay committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    f88bf1f View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    c35856a View commit details
    Browse the repository at this point in the history
  2. Release 1.0.110

    dtolnay committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    df5cf21 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    c80dbaf View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1100 from heiher/limb-64-la64

    Set limb width to 64 for loongarch64
    dtolnay committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    96ecfad View commit details
    Browse the repository at this point in the history
  3. Release 1.0.111

    dtolnay committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    0131ac6 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. 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)]`
    dtolnay committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    6d44b9f View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. fix: Correct spelling error

    Fixed a spelling error in the second paragraph of the README file.
    
    - Changed "exponet" to "exponent"
    keienWang committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    2909b0b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1105 from keienWang/master

    fix: Correct spelling error
    dtolnay committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    e56cc69 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    296fafb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    62ca3e4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1106 from serde-rs/invalidvalue

    Handle Unexpected::Unit in Error::invalid_value
    dtolnay committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    107c2d1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    83d7bad View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1107 from serde-rs/unexpectedfloat

    Format f64 in error messages using ryu
    dtolnay committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    6a6d2bb View commit details
    Browse the repository at this point in the history
  8. Release 1.0.112

    dtolnay committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    7fece96 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Configuration menu
    Copy the full SHA
    ca3c2ca View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1109 from serde-rs/remove

    Add swap_remove and shift_remove methods on Map
    dtolnay committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    5aeab4e View commit details
    Browse the repository at this point in the history
  3. Release 1.0.113

    dtolnay committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    09d865b View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. 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
    dtolnay committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    ca05f69 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. 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
    dtolnay committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    34a04c5 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. 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
    dtolnay committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    6fb7026 View commit details
    Browse the repository at this point in the history
  2. Release 1.0.114

    dtolnay committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    e1b3a6d View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. 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
    dtolnay committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    fedf834 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    a25f6c6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1118 from serde-rs/transparent

    Remove conditional on repr(transparent)
    dtolnay committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    8e7b37b View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. 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
    dtolnay committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    d2dbbf7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a0be88 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    3a3f61b View commit details
    Browse the repository at this point in the history
  2. Fix missing backticks in doc comments

    This was leading to rustdocs markdown parser to interpret slices like &[u8] as
    & and a link to u8
    titaniumtraveler committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    840da8e View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. 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.
    dtolnay committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    218770b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1119 from titaniumtraveler/pr

    Fix missing backtick in doc comments letting markdown think &[u8] is a link to u8
    dtolnay committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    c3dc153 View commit details
    Browse the repository at this point in the history
  3. Release 1.0.115

    dtolnay committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    b1ebf38 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. 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();
             |                                            ~~~
    dtolnay committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    0baba28 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Revert "Temporarily disable miri on doctests"

    This reverts commit 3a3f61b.
    dtolnay committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    2e15e3d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Configuration menu
    Copy the full SHA
    25dc750 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    051ce97 View commit details
    Browse the repository at this point in the history
  2. 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!(),
            |
    dtolnay committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    12c8ee0 View commit details
    Browse the repository at this point in the history
  3. Release 1.0.116

    dtolnay committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a3f62bb View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. impl Hash for Value

    edwardycl committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    16eb872 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. 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
    dtolnay committed May 7, 2024
    Configuration menu
    Copy the full SHA
    98f1a24 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1130 from serde-rs/checkcfg

    Resolve unexpected_cfgs warning
    dtolnay committed May 7, 2024
    Configuration menu
    Copy the full SHA
    b4fc245 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdf99c7 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    4517c7a View commit details
    Browse the repository at this point in the history
  2. Release 1.0.117

    dtolnay committed May 8, 2024
    Configuration menu
    Copy the full SHA
    0ae247c View commit details
    Browse the repository at this point in the history

Commits on May 19, 2024

  1. Configuration menu
    Copy the full SHA
    8e475f1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1136 from dtolnay/docsrs

    Rely on docs.rs to define --cfg=docsrs by default
    dtolnay committed May 19, 2024
    Configuration menu
    Copy the full SHA
    62839b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

  1. 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());
             |
    dtolnay committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    18e9b89 View commit details
    Browse the repository at this point in the history
  2. 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
    dtolnay committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    b83d243 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9b9f88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa8aa22 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. 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
    dtolnay committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    4c894ea View commit details
    Browse the repository at this point in the history
  2. 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
    dtolnay committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    24d868f View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Merge pull request #1127 from edwardycl/hash

    impl `Hash` for `Value`
    dtolnay committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    eb0330a View commit details
    Browse the repository at this point in the history
  2. 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)]`
    dtolnay committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    0af2bda View commit details
    Browse the repository at this point in the history
  3. Touch up PR 1127

    dtolnay committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    5e7bedc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51d94eb View commit details
    Browse the repository at this point in the history
  5. Release 1.0.118

    dtolnay committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    c4f24f3 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. chore: remove repeat words

    Signed-off-by: haouvw <[email protected]>
    haouvw committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a83fe96 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1146 from haouvw/master

    chore: remove repeat words
    dtolnay committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a9e089a View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Add Map::shift_insert()

    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.
    joshka committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    309ef6b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1149 from joshka/master

    Add Map::shift_insert()
    dtolnay committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    c17e63f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    352b7ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8878cd7 View commit details
    Browse the repository at this point in the history
  5. Release 1.0.119

    dtolnay committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    b48b9a3 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    3480fed View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1152 from cforycki/fix/index-map-minimal-version

    fix: indexmap minimal version with Map::shift_insert()
    dtolnay committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    962c0fb View commit details
    Browse the repository at this point in the history
  3. Release 1.0.120

    dtolnay committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    bcedc3d View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. 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`.
    dpathakj committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    fcb5e83 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Merge pull request #1153 from dpathakj/master

    Correct documentation URL for Value's Index impl.
    dtolnay committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    3fd6f5f View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. 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
    dtolnay committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3f1c6de View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    6a306e6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1159 from iex-rs/fix-recursion

    Move call to tri! out of check_recursion!
    dtolnay committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    40dd7f5 View commit details
    Browse the repository at this point in the history
  3. 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.
    purplesyringa committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    b1edc7d View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Merge pull request #1160 from iex-rs/efficient-position

    Optimize position search in error path
    dtolnay committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    b0d678c View commit details
    Browse the repository at this point in the history
  2. Release 1.0.121

    dtolnay committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    eca2658 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    3faae03 View commit details
    Browse the repository at this point in the history
  2. 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.
    purplesyringa committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    03ceee9 View commit details
    Browse the repository at this point in the history
  3. Bring MSRV down

    purplesyringa committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    63cb04d View commit details
    Browse the repository at this point in the history
  4. Add better tests

    purplesyringa committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    3063d69 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    7633cb7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1165 from serde-rs/jsonmac

    Eliminate local_inner_macros in favor of non-ident macro paths
    dtolnay committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    611b2a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6827c7b View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1166 from dtolnay/allocvec

    Fix `json!` invocations when std prelude is not in scope
    dtolnay committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    49d7d66 View commit details
    Browse the repository at this point in the history
  5. 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.
    dtolnay committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    16fb6e0 View commit details
    Browse the repository at this point in the history
  6. Release 1.0.122

    dtolnay committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    54381d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Configuration menu
    Copy the full SHA
    5496579 View commit details
    Browse the repository at this point in the history
  2. Big endian support

    purplesyringa committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    a95d6df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f0dcf7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8389d8a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e43da5e View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1161 from iex-rs/vectorized-string-parsing

    Vectorize string parsing
    dtolnay committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    859ead8 View commit details
    Browse the repository at this point in the history
  7. 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)]`
    dtolnay committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    346189a View commit details
    Browse the repository at this point in the history
  8. Release 1.0.123

    dtolnay committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    2cab07e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8eba786 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #1173 from iex-rs/fix-big-endian

    Oops, fix skip_to_escape on BE architectures
    dtolnay committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    8b314a7 View commit details
    Browse the repository at this point in the history
  11. Release 1.0.124

    dtolnay committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    cf771a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    81b1b61 View commit details
    Browse the repository at this point in the history
  2. Parse \uXXXX escapes faster

    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%).
    purplesyringa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    86d0e11 View commit details
    Browse the repository at this point in the history
  3. Mark \u parsing as cold

    This counterintuitively speeds up War and Peace 275 -> 290 MB/s (+5%) by
    enabling inlining of encode_utf8 and extend_from_slice.
    purplesyringa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    a38dbf3 View commit details
    Browse the repository at this point in the history
  4. Format UTF-8 strings manually

    This speeds up War and Peace 290 MB/s -> 330 MB/s (+15%).
    purplesyringa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    0e90b61 View commit details
    Browse the repository at this point in the history
  5. Use the same UTF-8/WTF-8 impl for surrogates

    This does not affect performance.
    purplesyringa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    2f28d10 View commit details
    Browse the repository at this point in the history
  6. Simplify unicode escape handling

    This does not affect performance.
    purplesyringa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    236cc82 View commit details
    Browse the repository at this point in the history
  7. Correct WTF-8 parsing

    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]>
    purplesyringa and lucacasonato committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    96ae604 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1174 from iex-rs/miri-on-ci

    Test on BE and 32-bit platforms on CI via Miri
    dtolnay committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    8073fc1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    94a2aad View commit details
    Browse the repository at this point in the history
  10. Merge pull request #1176 from dtolnay/miriname

    Improve job names for miri jobs
    dtolnay committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    b4bc643 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #1172 from iex-rs/faster-hex

    Parse \uXXXX escapes faster
    dtolnay committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    d8921cd View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    0f942e5 View commit details
    Browse the repository at this point in the history
  2. Touch up PR 1175

    dtolnay committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    cc7a160 View commit details
    Browse the repository at this point in the history
  3. Release 1.0.125

    dtolnay committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    6130f9b View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    9ffb43a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1178 from iex-rs/tiny-bit-faster-hex

    Optimize Unicode decoding by 1% 🤡
    dtolnay committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    50c4328 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0ceb9d8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    11fc61c View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. 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.
    CryZe committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    3d837e1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1182 from CryZe/chunk-64bit

    Ensure the SWAR chunks are 64-bit in more cases
    dtolnay committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    fec0376 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f268173 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1183 from serde-rs/arithmetic

    Unify chunk size choice between float and string parsing
    dtolnay committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    4b1048d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ffc4a43 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1184 from serde-rs/fastarithmetic

    Improve cfg names for fast arithmetic
    dtolnay committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    e6282b0 View commit details
    Browse the repository at this point in the history
  7. Release 1.0.126

    dtolnay committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    ec980b0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f287a3b View commit details
    Browse the repository at this point in the history
  9. Release 1.0.127

    dtolnay committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    5ebf65c View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. Configuration menu
    Copy the full SHA
    27a4ca9 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    5416cee View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1188 from Mrreadiness/feat/add-hashmap-key-128-se…

    …rializer
    
    Add support for 128 bit HashMap key serialization
    dtolnay committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    599228d View commit details
    Browse the repository at this point in the history
  3. Release 1.0.128

    dtolnay committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    d96b1d9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59112ae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4921906 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f4e30a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d254281 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1faf3a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. 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 |     ///
            |
    dtolnay committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    309cfc9 View commit details
    Browse the repository at this point in the history