Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: serde-rs/json
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.91
Choose a base ref
...
head repository: serde-rs/json
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.96
Choose a head ref

Commits on Dec 18, 2022

  1. Copy the full SHA
    9947ae6 View commit details
  2. Copy the full SHA
    9edf7fa View commit details
  3. Merge pull request #964 from dtolnay/docsrs

    Replace docs.serde.rs links
    dtolnay authored Dec 18, 2022
    Copy the full SHA
    557f45c View commit details

Commits on Dec 30, 2022

  1. Copy the full SHA
    74f510e View commit details

Commits on Jan 20, 2023

  1. Copy the full SHA
    8cebe89 View commit details

Commits on Jan 29, 2023

  1. Copy the full SHA
    e41ee42 View commit details

Commits on Feb 5, 2023

  1. RawValue -> repr(transparent)

    This code is from September 2018, at which point serde_json supported
    rustc back to 1.15. repr(transparent) stabilized in 1.28. Today the
    minimum required compiler is 1.36, so repr(transparent) is okay to use.
    dtolnay committed Feb 5, 2023
    Copy the full SHA
    7bc6c86 View commit details
  2. Copy the full SHA
    eaa287c View commit details
  3. Merge pull request #980 from serde-rs/docrepr

    Hide repr attribute from documentation
    dtolnay authored Feb 5, 2023
    Copy the full SHA
    c42b724 View commit details
  4. Release 1.0.92

    dtolnay committed Feb 5, 2023
    Copy the full SHA
    a9c984f View commit details

Commits on Feb 8, 2023

  1. Copy the full SHA
    f77ad47 View commit details
  2. Copy the full SHA
    e3d13cd View commit details
  3. Merge pull request #982 from serde-rs/integer128tovalue

    Support 128-bit integers in to_value
    dtolnay authored Feb 8, 2023
    Copy the full SHA
    4fd4850 View commit details
  4. Release 1.0.93

    dtolnay committed Feb 8, 2023
    Copy the full SHA
    0ebeede View commit details

Commits on Feb 27, 2023

  1. Ignore let_underscore_untyped pedantic clippy lint

        error: non-binding `let` without a type annotation
            --> src/de.rs:1712:9
             |
        1712 |         let _ = name;
             |         ^^^^^^^^^^^^^
             |
             = help: consider adding a type annotation or removing the `let` keyword
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
             = note: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic`
    
        error: non-binding `let` without a type annotation
            --> src/de.rs:2190:9
             |
        2190 |         let _ = name;
             |         ^^^^^^^^^^^^^
             |
             = help: consider adding a type annotation or removing the `let` keyword
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> src/map.rs:51:17
           |
        51 |                 let _ = capacity;
           |                 ^^^^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
           --> src/value/de.rs:312:9
            |
        312 |         let _ = name;
            |         ^^^^^^^^^^^^^
            |
            = help: consider adding a type annotation or removing the `let` keyword
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
           --> src/value/de.rs:803:9
            |
        803 |         let _ = name;
            |         ^^^^^^^^^^^^^
            |
            = help: consider adding a type annotation or removing the `let` keyword
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:26:5
           |
        26 |     let _ = x;
           |     ^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
           = note: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic`
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:31:5
           |
        31 |     let _ = y + x;
           |     ^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:48:5
           |
        48 |     let _ = x & T::ZERO;
           |     ^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:61:5
           |
        61 |     let _ = x.pow10(5);
           |     ^^^^^^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:62:5
           |
        62 |     let _ = x.to_bits();
           |     ^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:66:5
           |
        66 |     let _ = x.to_bits() & T::SIGN_MASK;
           |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:67:5
           |
        67 |     let _ = x.to_bits() & T::EXPONENT_MASK;
           |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:68:5
           |
        68 |     let _ = x.to_bits() & T::HIDDEN_BIT_MASK;
           |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
          --> tests/lexical/num.rs:69:5
           |
        69 |     let _ = x.to_bits() & T::MANTISSA_MASK;
           |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider adding a type annotation or removing the `let` keyword
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
            --> tests/test.rs:1977:5
             |
        1977 | /     let _ = json!([
        1978 | |         <Result<(), ()> as Clone>::clone(&Ok(())),
        1979 | |         <Result<(), ()> as Clone>::clone(&Err(()))
        1980 | |     ]);
             | |_______^
             |
             = help: consider adding a type annotation or removing the `let` keyword
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
             = note: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic`
    
        error: non-binding `let` without a type annotation
            --> tests/test.rs:1983:5
             |
        1983 | /     let _ = json!({
        1984 | |         "ok": <Result<(), ()> as Clone>::clone(&Ok(())),
        1985 | |         "err": <Result<(), ()> as Clone>::clone(&Err(()))
        1986 | |     });
             | |_______^
             |
             = help: consider adding a type annotation or removing the `let` keyword
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
            --> tests/test.rs:1989:5
             |
        1989 | /     let _ = json!({
        1990 | |         (<Result<&str, ()> as Clone>::clone(&Ok("")).unwrap()): "ok",
        1991 | |         (<Result<(), &str> as Clone>::clone(&Err("")).unwrap_err()): "err"
        1992 | |     });
             | |_______^
             |
             = help: consider adding a type annotation or removing the `let` keyword
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    
        error: non-binding `let` without a type annotation
            --> tests/test.rs:1995:5
             |
        1995 |     let _ = json!({ "architecture": [true, null] });
             |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
             |
             = help: consider adding a type annotation or removing the `let` keyword
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    dtolnay committed Feb 27, 2023
    1
    Copy the full SHA
    d9447c3 View commit details

Commits on Mar 5, 2023

  1. Copy the full SHA
    7eeb169 View commit details
  2. Merge pull request #992 from dtolnay/errorsource

    Fix message duplication between error Display and source()
    dtolnay authored Mar 5, 2023
    Copy the full SHA
    3e418b1 View commit details
  3. Release 1.0.94

    dtolnay committed Mar 5, 2023
    Copy the full SHA
    a15bd09 View commit details

Commits on Mar 18, 2023

  1. Copy the full SHA
    4b96996 View commit details

Commits on Mar 26, 2023

  1. Copy the full SHA
    02e5833 View commit details

Commits on Mar 27, 2023

  1. Copy the full SHA
    b0990a5 View commit details
  2. Copy the full SHA
    06f3443 View commit details
  3. Fix PartialEq between Value and f32

    Caught by test_partialeq_number:
    
        thread 'test_partialeq_number' panicked at 'assertion failed: `(left == right)`
          left: `-3.4028235e38`,
         right: `Number(-3.4028235e38)`', tests/test.rs:2033:5
    dtolnay committed Mar 27, 2023
    Copy the full SHA
    c9bff92 View commit details
  4. Merge pull request #1005 from dtolnay/f32cast

    Eliminate f32-to-f64 casting in arbitrary_precision mode
    dtolnay authored Mar 27, 2023
    Copy the full SHA
    731886c View commit details
  5. Release 1.0.95

    dtolnay committed Mar 27, 2023
    Copy the full SHA
    4ea38c4 View commit details
  6. Fix needless_borrow clippy lint in test

        error: the borrowed expression implements the required traits
         --> tests/regression/issue1004.rs:6:38
          |
        6 |     let value = serde_json::to_value(&float).unwrap();
          |                                      ^^^^^^ help: change this to: `float`
          |
          = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
          = note: `-D clippy::needless-borrow` implied by `-D clippy::all`
    dtolnay committed Mar 27, 2023
    Copy the full SHA
    ce53b86 View commit details

Commits on Apr 12, 2023

  1. Copy the full SHA
    cd5ed82 View commit details
  2. Merge pull request #1011 from stepancheg/utf-8

    Document to_writer only writes valid UTF-8 strings
    dtolnay authored Apr 12, 2023
    Copy the full SHA
    41199cc View commit details
  3. Release 1.0.96

    dtolnay committed Apr 12, 2023
    Copy the full SHA
    187f7da View commit details
Loading