Skip to content

Remove bincode dev-dependency from serde_bytes docs/examples - #61

Open
Uhm-why wants to merge 3 commits into
serde-rs:masterfrom
Uhm-why:master
Open

Remove bincode dev-dependency from serde_bytes docs/examples#61
Uhm-why wants to merge 3 commits into
serde-rs:masterfrom
Uhm-why:master

Conversation

@Uhm-why

@Uhm-why Uhm-why commented Aug 11, 2026

Copy link
Copy Markdown

This PR removes bincode from serde_bytes dev-dependencies and updates docs/examples to avoid depending on bincode.

Why

bincode is currently only used as a dev/doc dependency in this repository, but it is flagged by RustSec as unmaintained:

Downstream distributions are tracking and remediating this across Rust packages, including Fedora:

This change is intended to reduce downstream security-policy/audit friction without changing crate API or runtime behavior.

What changed

  • Removed bincode from [dev-dependencies] in Cargo.toml.
  • Updated serde_bytes docs/examples that previously used bincode::serde::* to serializer-agnostic examples (no specific format dependency).
  • Removed CI outdated ignore for bincode (--ignore bincode) since it is no longer a dependency.

Scope / impact

  • No changes to public API.
  • No changes to runtime behavior of serde_bytes.
  • Change is limited to development/docs/CI dependency surface.

Related discussions/issues

@Uhm-why
Uhm-why marked this pull request as draft August 11, 2026 03:13
@Uhm-why
Uhm-why marked this pull request as ready for review August 11, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant