Skip to content

block-padding+inout: remove std feature - #1117

Merged
tarcieri merged 2 commits into
masterfrom
error_in_core
Sep 28, 2024
Merged

tarcieri merged 2 commits into
masterfrom
error_in_core

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Leverages the error_in_core feature stabilized in Rust 1.81 to allow Error trait impls in no_std contexts.

This was the only dependency on std, so this also removes the std feature, which is no longer necessary.

Leverages the `error_in_core` feature stabilized in Rust 1.81 to allow
`Error` trait impls in `no_std` contexts.

This was the only dependency on `std`, so this also removes the `std`
feature, which is no longer necessary.
@tarcieri tarcieri changed the title block_padding+inout: remove std feature block-padding+inout: remove std feature Sep 28, 2024
@tarcieri
tarcieri requested a review from newpavlov September 28, 2024 17:30

@newpavlov newpavlov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also probably can remove the [package.metadata.docs.rs] section as well.

@tarcieri
tarcieri merged commit ab0c802 into master Sep 28, 2024
@tarcieri
tarcieri deleted the error_in_core branch September 28, 2024 18:20
Comment thread inout/Cargo.toml
Comment on lines -21 to -22
[package.metadata.docs.rs]
all-features = true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we still need the all-features = true here because of the block-padding feature.

I think --cfg docsrs might be set automatically now though?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think --cfg docsrs might be set automatically now though?

It would be great, if true. We should eventually remove it from other crates then.

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.

2 participants