Skip to content

chore(deps): bump serde-saphyr from 0.0.26 to 0.0.29#111

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/serde-saphyr-0.0.28
Open

chore(deps): bump serde-saphyr from 0.0.26 to 0.0.29#111
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/serde-saphyr-0.0.28

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 25, 2026

Copy link
Copy Markdown
Contributor

Bumps serde-saphyr from 0.0.26 to 0.0.29.

Release notes

Sourced from serde-saphyr's releases.

0.0.28 Property interpolation extensions and even faster builds

Significant extension of property interpolation ( @​CommanderStorm)

  • Added support for default property interpolation in plain scalars: ${NAME:-default} now resolves to default when NAME is unset or explicitly empty.
  • ${VAR}: Values that must be configured (DB URLs, API keys). An unset var is a misconfiguration, not something to paper over -> a loud error at parse time
  • ${VAR-fallback}: Empty value is meaningful and distinct from "not configured". F.ex. PREFIX="" -> "no prefix".
  • ${VAR:-fallback}: The "regular" default, so f.ex. ${PORT:-8080}
  • ${VAR+text}: F.ex. ${DEBUG+--verbose} emits the flag whenever DEBUG exists in the environment, regardless of value.
  • ${VAR:+text}: Same as above, but differentiating empty <-> null

Also

  • Fix #120 LastWins not honored when deserializing struct. This was implemented and well tested, but only with maps.
  • Reduced owning of comment strings (parsing very heavily commented YAML while discarding comments should be lighter on resources).
  • Fixed indentation enforcement (@​CommanderStorm), making sure it also works for multiline scalars.
  • Fixed tuple serialization (@​CommanderStorm)
  • New SingleQuoted<..> and DoubleQuoted<..> wrappers to emit quoted strings. SingleQuoted may provide additional safety, as control characters will be rejected (with error), rather than written as YAML escape sequences. NullableTilde<T> is like Option and emits tilde ( ~ ) rather than null.

Faster compilation times with serde_core

serde-saphyr now avoids compiling serde_derive by default. The crate core uses serde_core instead that allows building serde-saphyr in parallel with serde_derive. However this also means that we needed to drop the previously built-in (de)serialization support for some serde-saphyr own configuration and reporting types like Options. (De)serialization support for these types can be re-enabled with the new feature serde_derived_types:

serde-saphyr = { version = "...", features = ["serde_derived_types"] }

This does not affect normal use of serde-saphyr for user data, you can still serialize and deserialize your own structs as before.

0.0.27 Comments

The major extension of this release is comments support.

The long existed wrapper Commented<..> was usable for serialization only until now. Since this release, Commented also captures a comment of the wrapped data structure:

struct DeploymentConfig {
    name: Commented<String>,
    image: Commented<String>,
    ports: Commented<Vec<Commented<u16>>>,
    labels: Commented<BTreeMap<String, Commented<String>>>,
}

would capture all comments for the elements of the structure, like

# deployment manifest
name: checkout
image: registry.example.com/checkout:v1 # container image to deploy
ports: # sequence of exposed ports
  - 80 # public HTTP
  - 443 # public HTTPS
labels: # mapping of Kubernetes labels
  app: checkout # stable app label
  tier: frontend # routing tier
"#;
</tr></table> 

... (truncated)

Commits
  • f23c28c Advance version number
  • fc36c3f Removed benchmarking section from README.md - this needs to be re-benchmarked...
  • 9a727e3 Fix Clippy warning.
  • 3bd9fde Rearrange and reasonably name the test suites
  • 436edfe Two divergent hand-rolled escape tables in the serializer
  • 6a30736 Remove over-engineered Divisible(0) macro handling
  • 87afba3 Dead code removals
  • c656d3f Remove unnecessary #[path ..] constructs
  • 27c3959 Remove unnecessary #[path ..] constructs
  • 6f74db4 Improve code quality of budget.rs
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Rust implementation work. labels Jun 25, 2026
@dependabot dependabot Bot requested a review from jeremi as a code owner June 25, 2026 12:00
@dependabot dependabot Bot added rust Rust implementation work. dependencies Pull requests that update a dependency file labels Jun 25, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/serde-saphyr-0.0.28 branch 6 times, most recently from 5324dc8 to c86709a Compare June 26, 2026 12:49
@dependabot dependabot Bot changed the title Bump serde-saphyr from 0.0.26 to 0.0.28 chore(deps): bump serde-saphyr from 0.0.26 to 0.0.28 Jun 27, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/serde-saphyr-0.0.28 branch 5 times, most recently from 951e3ab to 8556be8 Compare July 2, 2026 13:38
Bumps [serde-saphyr](https://github.com/bourumir-wyngs/serde-saphyr) from 0.0.26 to 0.0.29.
- [Release notes](https://github.com/bourumir-wyngs/serde-saphyr/releases)
- [Commits](bourumir-wyngs/serde-saphyr@0.0.26...0.0.29)

---
updated-dependencies:
- dependency-name: serde-saphyr
  dependency-version: 0.0.28
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump serde-saphyr from 0.0.26 to 0.0.28 chore(deps): bump serde-saphyr from 0.0.26 to 0.0.29 Jul 4, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/serde-saphyr-0.0.28 branch from 8556be8 to 593dce6 Compare July 4, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Rust implementation work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants