-
Notifications
You must be signed in to change notification settings - Fork 53
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
Version 0.4.0 fails to build #21
Comments
Hmm I'll take a look. Off the top of my head I can't think why missing crate features would allow async-tar to build, but fail compilation when it's included as a dependency |
this is confusing. the standard library re-exports that your build is complaining can't be found are behind the if i remove the looking at the Any ideas on how we can get the CI to fail with the current setup? |
though it looks like the |
See also rust-lang/cargo#7916 Which introduces a nightly feature that addresses this behaviour |
I switched to |
good shout. i'm glad to see a concrete use-case for the new resolver! as for the original problem, it doesn't look like async-std provides much granularity in selecting features. There may be good technical reasons for this. Or there may be bad technical reasons for this. compare this to tokio-
|
Thanks for the quick turnaround! |
The changes in #10 probably need to be reverted. Attempting to update the library here: swift-nav/esthri#188 results in a compilation error:
I attempted to add a build scenario that checks for this error here: silverjam#3 -- which shows similar results. FWIW I tried enabling more features in async_std to get it to compile, but it seems too many things async-tar needs are behind the "default" feature, which also enables the runtime (which is the bit the original PR was trying to avoid). For example see: https://github.com/async-rs/async-std/blob/master/src/lib.rs#L316 which enables the
fs
andpath
module.cc @danieleades
The text was updated successfully, but these errors were encountered: