Skip to content

Deprecate the "borsh" feature#386

Merged
cuviper merged 1 commit intoindexmap-rs:mainfrom
cuviper:de-borsh
Apr 4, 2025
Merged

Deprecate the "borsh" feature#386
cuviper merged 1 commit intoindexmap-rs:mainfrom
cuviper:de-borsh

Conversation

@cuviper
Copy link
Member

@cuviper cuviper commented Apr 4, 2025

The real #[deprecated] attribute doesn't work for trait implementations,
but we can get close by mimicking the message style for documentation.

Use the "indexmap" feature added in borsh v1.5.6 instead, solving the circular dependency.

Fixes #383.

@cuviper cuviper enabled auto-merge April 4, 2025 22:48
@cuviper cuviper added this pull request to the merge queue Apr 4, 2025
Merged via the queue into indexmap-rs:main with commit 582a90f Apr 4, 2025
15 checks passed
@cuviper cuviper deleted the de-borsh branch November 23, 2025 01:12
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.

Cannot use borsh feature in crates that depend on borsh-derive

1 participant