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

Cargo.toml add backtrace to features #311

Closed
wants to merge 2 commits into from
Closed

Cargo.toml add backtrace to features #311

wants to merge 2 commits into from

Conversation

RoDmitry
Copy link

@RoDmitry RoDmitry commented Jun 18, 2023

backtrace was added to features (so it's visible on Crates.io, in versions). And also added all feature dependencies. So backtrace will automatically enable std, and std will enable backtrace/std feature (just in case if someday backtrace crate will remove std from the default features).

Also cargo check --no-default-features --features backtrace is working now. Maybe remove message:

#[cfg(all(feature = "backtrace", not(feature = "std")))]
compile_error! {
    "`backtrace` feature without `std` feature is not supported"
}

from build.rs?

@RoDmitry
Copy link
Author

RoDmitry commented Jun 18, 2023

I have tried to make a backtrace feature visible on Crates.io, in versions. But now I understand. Just a wild guess) Never mind

@RoDmitry RoDmitry closed this Jun 18, 2023
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.

1 participant