-
-
Notifications
You must be signed in to change notification settings - Fork 842
Comparing changes
Open a pull request
base repository: serde-rs/serde
base: v1.0.215
head repository: serde-rs/serde
compare: v1.0.217
- 16 commits
- 17 files changed
- 4 contributors
Commits on Nov 16, 2024
-
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
Configuration menu - View commit details
-
Copy full SHA for 0307f60 - Browse repository at this point
Copy the full SHA 0307f60View commit details -
Configuration menu - View commit details
-
Copy full SHA for c270e27 - Browse repository at this point
Copy the full SHA c270e27View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9dbfcb - Browse repository at this point
Copy the full SHA b9dbfcbView commit details
Commits on Dec 5, 2024
-
Mark generated
impl de::Visitor
blocks as#[automatically_derived]
This hides the generated visitors and field visitors from code coverage.
Configuration menu - View commit details
-
Copy full SHA for e9c399c - Browse repository at this point
Copy the full SHA e9c399cView commit details
Commits on Dec 9, 2024
-
Merge pull request #2866 from tdittr/mark-visitors-as-generated
Mark generated `impl de::Visitor` blocks as `#[automatically_derived]`
Configuration menu - View commit details
-
Copy full SHA for 46e9ecf - Browse repository at this point
Copy the full SHA 46e9ecfView commit details
Commits on Dec 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9497463 - Browse repository at this point
Copy the full SHA 9497463View commit details -
Merge pull request #2868 from dtolnay/automaticallyderived
Mark all generated trait impls as #[automatically_derived]
Configuration menu - View commit details
-
Copy full SHA for f91d2ed - Browse repository at this point
Copy the full SHA f91d2edView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad8dd41 - Browse repository at this point
Copy the full SHA ad8dd41View commit details
Commits on Dec 20, 2024
-
1
Configuration menu - View commit details
-
Copy full SHA for dbb9091 - Browse repository at this point
Copy the full SHA dbb9091View commit details -
Merge pull request #2871 from dtolnay/nostdstart
Replace #[start] with extern fn main
Configuration menu - View commit details
-
Copy full SHA for 8478a3b - Browse repository at this point
Copy the full SHA 8478a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb5cd47 - Browse repository at this point
Copy the full SHA eb5cd47View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9f93f9 - Browse repository at this point
Copy the full SHA b9f93f9View commit details -
Merge pull request #2872 from dtolnay/ehpersonality
Drop #[lang = "eh_personality"] from no-std test
Configuration menu - View commit details
-
Copy full SHA for 2a5caea - Browse repository at this point
Copy the full SHA 2a5caeaView commit details
Commits on Dec 27, 2024
-
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
Configuration menu - View commit details
-
Copy full SHA for b6f339c - Browse repository at this point
Copy the full SHA b6f339cView commit details -
- deserialization of flatten unit variant is possible - serialization of such variant gives Err("can only flatten structs and maps (got an enum)")
Configuration menu - View commit details
-
Copy full SHA for cb6eaea - Browse repository at this point
Copy the full SHA cb6eaeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 930401b - Browse repository at this point
Copy the full SHA 930401bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.0.215...v1.0.217