-
Notifications
You must be signed in to change notification settings - Fork 2
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
unresolved import treemux::static_files
#61
Comments
have you tried adding the |
Yes, its been there. |
It starts to work when I declare the treemux dependency like this:
but given you included all the optional dependencies, you can just add the full features
|
thank you for helping me! it is working with your declarations. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use the example:
cargo run --example staticfile --features="hyper-staticfile"
The example compiles and runs fine from within the treemux project.
When I hover the red line'd static_files in vscode I get:
I see that static_files is defined in mux.rs:264 which is annotated #[cfg(feature = "hyper-staticfile")]. I've pulled all the cargo feature stuff into my Cargo.toml and still can't understand why I can't get static_files in treemap.
I've tried doing a cargo clean and that did not resolve the no static_files in the root error.
any suggestions?
The text was updated successfully, but these errors were encountered: