kkharji / xbase

Develop Apple software products within your favorite editor.
MIT License
537 stars 17 forks source link

chore(deps): bump serde from 1.0.148 to 1.0.162 #208

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps serde from 1.0.148 to 1.0.162.

Release notes

Sourced from serde's releases.

1.0.162

  • Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the csv crate (#2377, thanks @​mfro)

    #[derive(Deserialize)]
    pub struct Record {
        common: u64,
        #[serde(flatten)]
        kind: Kind,
    }
    

    #[derive(Deserialize)] #[serde(tag = "kind", content = "parameter", rename_all = "lowercase")] enum Kind { Foo(u64), Bar(bool), }

    common,kind,parameter
    1,foo,42
    2,bar,true
    

v1.0.161

  • Improve error messages produced by serde_test on test failure (#2435, thanks @​Mingun)

v1.0.160

v1.0.159

  • Accept empty #[serde()] attribute (#2422)

v1.0.158

  • Fix "expected serde crate attribute to be a string" error when using macro_rules metavariable inside of serde attribute: #[serde(crate = $serde_path)] (#2409)

v1.0.157

  • Update syn dependency to 2.x

v1.0.156

  • Documentation improvements

v1.0.155

  • Support Serialize and Deserialize impls for core::ffi::CStr and alloc::ffi::CString without "std" feature (#2374, thanks @​safarir)

v1.0.154

  • Fix "undeclared lifetime" error in generated code when deriving Deserialize for an enum with both flatten and 'static fields (#2383, thanks @​Mingun)

v1.0.153

... (truncated)

Commits
  • 99f165b Release 1.0.162
  • 2fb5560 Attempt to generate just one copy of TagContentOtherFieldVisitor's field matc...
  • bd653ab Format PR 2377 with rustfmt
  • b5d68ae Merge pull request #2377 from mfro/master
  • 624879c Merge pull request #2441 from dtolnay/test
  • bd9e9ab Reimplement tests that touched serde_test internal API
  • 3e4a23c Release 1.0.161
  • 6326cee Don't panic in serde_test on running out of tokens
  • 8f4d37c Convert serde_test's assert_next_token from macro to function
  • 1b8290b Convert serde_test's unexpected from macro to function
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)