Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Rust 2021 edition, add no_std support #17

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

waywardmonkeys
Copy link
Collaborator

The update to 2021 stops the dev dependencies from interfering with the features enabled in log, breaking no_std builds within the repository.

The update to 2021 stops the dev dependencies from interfering
with the features enabled in `log`, breaking `no_std` builds
within the repository.
@@ -126,6 +130,7 @@ impl fmt::Display for Error {
}
}

#[cfg(feature = "std")]
impl std::error::Error for Error {}
Copy link
Member

Choose a reason for hiding this comment

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

:(

Only need to wait two more years for core::error::Error at this pace of MSRV growth

@@ -27,10 +27,14 @@ Since it's very simple we will start with limitations:
*/

#![doc(html_root_url = "https://docs.rs/simplecss/0.2.1")]
Copy link
Member

@DJMcNab DJMcNab Nov 13, 2024

Choose a reason for hiding this comment

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

This seems suspect, but isn't needed to be fixed in this PR.

@waywardmonkeys waywardmonkeys merged commit 1f71223 into linebender:main Nov 13, 2024
2 checks passed
@waywardmonkeys waywardmonkeys deleted the fix-no_std branch November 13, 2024 11:03
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