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/serde
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.215
Choose a base ref
...
head repository: serde-rs/serde
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.217
Choose a head ref
  • 16 commits
  • 17 files changed
  • 4 contributors

Commits on Nov 16, 2024

  1. Resolve question_mark clippy lint in build script

        warning: this `match` expression can be replaced with `?`
           --> serde/build.rs:111:17
            |
        111 |       let rustc = match env::var_os("RUSTC") {
            |  _________________^
        112 | |         Some(rustc) => rustc,
        113 | |         None => return None,
        114 | |     };
            | |_____^ help: try instead: `env::var_os("RUSTC")?`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
            = note: `-W clippy::question-mark` implied by `-W clippy::all`
            = help: to override `-W clippy::all` add `#[allow(clippy::question_mark)]`
    
        warning: this `match` expression can be replaced with `?`
           --> serde/build.rs:131:16
            |
        131 |       let next = match pieces.next() {
            |  ________________^
        132 | |         Some(next) => next,
        133 | |         None => return None,
        134 | |     };
            | |_____^ help: try instead: `pieces.next()?`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
    dtolnay committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    0307f60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c270e27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9dbfcb View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2024

  1. Mark generated impl de::Visitor blocks as #[automatically_derived]

    This hides the generated visitors and field visitors from code
    coverage.
    tdittr committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    e9c399c View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. Merge pull request #2866 from tdittr/mark-visitors-as-generated

    Mark generated `impl de::Visitor` blocks as `#[automatically_derived]`
    oli-obk authored Dec 9, 2024
    Configuration menu
    Copy the full SHA
    46e9ecf View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2024

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

    Mark all generated trait impls as #[automatically_derived]
    dtolnay authored Dec 11, 2024
    Configuration menu
    Copy the full SHA
    f91d2ed View commit details
    Browse the repository at this point in the history
  3. Release 1.0.216

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

Commits on Dec 20, 2024

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

    Replace #[start] with extern fn main
    dtolnay authored Dec 20, 2024
    Configuration menu
    Copy the full SHA
    8478a3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb5cd47 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9f93f9 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2872 from dtolnay/ehpersonality

    Drop #[lang = "eh_personality"] from no-std test
    dtolnay authored Dec 20, 2024
    Configuration menu
    Copy the full SHA
    2a5caea View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2024

  1. Resolve repr_packed_without_abi clippy lint in tests

        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:774:5
            |
        772 |       #[repr(packed)]
            |              ------ `packed` representation set here
        773 |       #[allow(dead_code)]
        774 | /     struct Packed {
        775 | |         x: u8,
        776 | |         y: u16,
        777 | |     }
            | |_____^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
        note: the lint level is defined here
           --> test_suite/tests/test_gen.rs:5:9
            |
        5   | #![deny(warnings)]
            |         ^^^^^^^^
            = note: `#[warn(clippy::repr_packed_without_abi)]` implied by `#[warn(warnings)]`
    
        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:919:1
            |
        918 |   #[repr(packed)]
            |          ------ `packed` representation set here
        919 | / pub struct RemotePacked {
        920 | |     pub a: u16,
        921 | |     pub b: u32,
        922 | | }
            | |_^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
    
        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:927:1
            |
        925 |   #[repr(packed)]
            |          ------ `packed` representation set here
        926 |   #[serde(remote = "RemotePacked")]
        927 | / pub struct RemotePackedDef {
        928 | |     a: u16,
        929 | |     b: u32,
        930 | | }
            | |_^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
    
        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:937:1
            |
        936 |   #[repr(packed)]
            |          ------ `packed` representation set here
        937 | / pub struct RemotePackedNonCopy {
        938 | |     pub a: u16,
        939 | |     pub b: String,
        940 | | }
            | |_^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
    
        warning: item uses `packed` representation without ABI-qualification
           --> test_suite/tests/test_gen.rs:945:1
            |
        943 |   #[repr(packed)]
            |          ------ `packed` representation set here
        944 |   #[serde(remote = "RemotePackedNonCopy")]
        945 | / pub struct RemotePackedNonCopyDef {
        946 | |     a: u16,
        947 | |     b: String,
        948 | | }
            | |_^
            |
            = warning: unqualified `#[repr(packed)]` defaults to `#[repr(Rust, packed)]`, which has no stable ABI
            = help: qualify the desired ABI explicity via `#[repr(C, packed)]` or `#[repr(Rust, packed)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#repr_packed_without_abi
    dtolnay committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    b6f339c View commit details
    Browse the repository at this point in the history
  2. Fix roundtrip inconsistency:

    - deserialization of flatten unit variant is possible
    - serialization of such variant gives Err("can only flatten structs and maps (got an enum)")
    Mingun authored and oli-obk committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    cb6eaea View commit details
    Browse the repository at this point in the history
  3. Release 1.0.217

    dtolnay committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    930401b View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy