Skip to content

Vendor paste crate to eliminate unmaintained dependency#42

Closed
qinqon wants to merge 1 commit intorust-netlink:mainfrom
qinqon:vendor-paste-crate
Closed

Vendor paste crate to eliminate unmaintained dependency#42
qinqon wants to merge 1 commit intorust-netlink:mainfrom
qinqon:vendor-paste-crate

Conversation

@qinqon
Copy link
Copy Markdown
Contributor

@qinqon qinqon commented Oct 7, 2025

Replace external paste dependency with vendored netlink-packet-core-paste subcrate. This addresses RUSTSEC-2024-0436 by vendoring paste v1.0.15 (by David Tolnay) directly into the project, avoiding reliance on the unmaintained upstream crate while preserving stable macro functionality for token pasting.

The vendored implementation includes all original paste crate functionality (attr.rs, error.rs, lib.rs, segment.rs) under MIT/Apache-2.0 dual licensing.

Fixes: #41

@qinqon qinqon force-pushed the vendor-paste-crate branch from 7d3ae77 to 4d97b49 Compare October 9, 2025 08:53
Replace external paste dependency with vendored netlink-packet-core-paste
subcrate. This addresses RUSTSEC-2024-0436 by vendoring paste v1.0.15 (by
David Tolnay) directly into the project, avoiding reliance on the
unmaintained upstream crate while preserving stable macro functionality
for token pasting.

The vendored implementation includes all original paste crate functionality
(attr.rs, error.rs, lib.rs, segment.rs) under MIT/Apache-2.0 dual
licensing.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
@qinqon qinqon force-pushed the vendor-paste-crate branch from 4d97b49 to a906684 Compare October 9, 2025 08:55
@qinqon qinqon closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop the dependency of paste

1 participant