You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comment by shanemeagher Wednesday Sep 06, 2017 at 14:00 GMT
@plietar,
It seems I'm still having an issue when building with --no-default-features. As mdns is optional and not a dependency of an enabled feature (with-internal-mdns) in cargo.toml, cargo doesn't pass it to rustc.
In src/lib.rs, I've used cfg-if to reference mdns:
Issue by shanemeagher
Tuesday Sep 05, 2017 at 15:13 GMT
Originally opened as plietar/librespot#246
rust-mdns is still the default but can also be specified explicitly with
--feature "with-internal-mdns"
switch at build time.Added
--feature "with-external-mdns"
switch to build librespot to useavahi for discovery using dns-sd package.
This commit does not provide option for building without mdns.
This pull request replaces pull request plietar/librespot#201 started by @awiouy and has been rebased on the current master branch.
shanemeagher included the following code: https://github.com/plietar/librespot/pull/246/commits
The text was updated successfully, but these errors were encountered: