-
Notifications
You must be signed in to change notification settings - Fork 173
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
Zenoh with default-features=false in the workspace #686
Comments
I compile and run examples quite often and I've never experienced this behaviour. |
@Mallets I recently reproduced it with the following command: the output was: |
Can you retry without passing |
@Mallets hmm, that worked :) unbelievable... |
Great that it worked. |
Yes, it is really unclear, because workspace=true must take the workspace's zenoh package without any default features..... Anyway that is quite strange to disable default features by default, isn't it? |
It is strange but it's the good way to go to avoid having all features enabled by default in any dependency. Otherwise it would be impossible to disable certain features in transitive dependencies in Zenoh. |
Ah, ok, I've got the point! Thank you for the explanation |
Describe the bug
Currently, I see that zenoh is added into our root workspace like this:
(root Cargo.toml)
zenoh = { version = "0.11.0-dev", path = "zenoh", default-features = false }
By disabling any default features, we exclude literally ANY link implementations. That affects the default zenoh build and makes the example set not working without customizing it's build.
In order to offer a proper solution, I think we need to discuss why we disabled the default features by default (sounds really weird, right?)
To reproduce
run any examples with default build
cargo run --release --package zenoh-examples --example z_pub_shm_thr --features shared-memory -- 8 -e tcp/127.0.0.1:7447 --no-multicast-scouting
System info
dosn't really matter
The text was updated successfully, but these errors were encountered: