zenoh
zenoh copied to clipboard
fix: add the missing unstable feature
Closes #963. The change of feature flags only affects the dev-dependencies and is safe for the downstream dependencies/bindings.
@Mallets can you please review this? Thanks.
Self-reference in [dev-dependencies]
created some problems in the past for release.
@fuzzypixelz @OlivierHecart could you provide more insight on this?
Self-reference in
[dev-dependencies]
created some problems in the past for release. @fuzzypixelz @OlivierHecart could you provide more insight on this?
This has been extensively discussed in https://github.com/rust-lang/cargo/issues/2911. @YuanYuYuan's workaround is standard procedure at this point. But it does introduce a cyclic dependency in the zenoh
crate (to itself) which might break publishing: https://github.com/rust-lang/cargo/issues/4242. Apparently Cargo checks if dev dependencies are published upon publishing. I'll have to test this.
I believe https://github.com/eclipse-zenoh/zenoh/pull/1131 solved this issue and it can be hence closed. @YuanYuYuan ?
@Mallets, I've confirmed that the issue disappears after the fix. So let's close this PR.