Benedikt
94d174c33d
Discovery: Refactor and add Avahi DBus backend ( #1347 )
...
* discovery: use opaque error type for DnsSdError
This helps to decouple discovery and core by not leaking implementation
details of the zeroconf backend into Error conversion impls in core.
* discovery: map all MDNS/DNS-SD errors to DiscoveryError::DnsSdError
previously, libmdns errors would use a generic conversion
from std::io::Error to core::Error
* discovery: use an opaque type for the handle to the DNS-SD service
* discovery: make features additive
i.e. add with-libmdns instead of using not(with-dns-sd).
The logic is such that enabling with-dns-sd in addition to the default
with-libmdns will still end up using dns-sd, as before.
If only with-libmdns is enabled, that will be the default.
If none of the features is enabled, attempting to build a `Discovery`
will yield an error.
* discovery: add --zeroconf-backend CLI flag
* discovery: Add minimal Avahi zeroconf backend
* bump MSRV to 1.75
required by zbus >= 4
* discovery: ensure that server and dns-sd backend shutdown gracefully
Previously, on drop the the shutdown_tx/close_tx, it wasn't guaranteed
the corresponding tasks would continue to be polled until they actually
completed their shutdown.
Since dns_sd::Service is not Send and non-async, and because libmdns is
non-async, put them on their own threads.
* discovery: use a shared channel for server and zeroconf status messages
* discovery: add Avahi reconnection logic
This deals gracefully with the case where the Avahi daemon is restarted
or not running initially.
* discovery: allow running when compiled without zeroconf backend...
...but exit with an error if there's no way to authenticate
* better error messages for invalid options with no short flag
2024-10-26 16:45:02 +02:00
dependabot[bot]
d2324ddd1b
Bump actions/cache from 4.1.1 to 4.1.2 ( #1383 )
2024-10-26 16:35:32 +02:00
dependabot[bot]
082141e6a5
Bump actions/checkout from 4.2.1 to 4.2.2 ( #1384 )
2024-10-26 16:35:10 +02:00
dependabot[bot]
f43ed29970
Bump actions/checkout from 4.2.0 to 4.2.1 ( #1369 )
2024-10-12 18:45:41 +02:00
dependabot[bot]
8ed5fef624
Bump actions/cache from 4.1.0 to 4.1.1 ( #1370 )
2024-10-12 18:45:30 +02:00
dependabot[bot]
8dce30a169
Bump actions/cache from 4.0.2 to 4.1.0 ( #1364 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4.0.2...v4.1.0 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-06 22:09:10 +02:00
dependabot[bot]
2b2eb22846
Bump actions/checkout from 4.1.7 to 4.2.0 ( #1354 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.7...v4.2.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 21:31:02 +02:00
Christoph Gysin
fb5c0efdd6
Freeze dependencies used in CI ( #1338 )
test / cargo fmt (push) Failing after 35s
test / cargo +${{ matrix.toolchain }} clippy (${{ matrix.os }}) (ubuntu-latest, stable) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (false, ubuntu-latest, 1.74) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (false, ubuntu-latest, stable) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (true, ubuntu-latest, beta) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (windows-latest, 1.74) (push) Has been skipped
test / cargo +${{ matrix.toolchain }} check (${{ matrix.os }}) (windows-latest, stable) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, aarch64-unknown-linux-gnu, 1.74) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, aarch64-unknown-linux-gnu, stable) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, armv7-unknown-linux-gnueabihf, 1.74) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, armv7-unknown-linux-gnueabihf, stable) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, riscv64gc-unknown-linux-gnu, 1.74) (push) Has been skipped
test / cross +${{ matrix.toolchain }} build ${{ matrix.target }} (ubuntu-latest, riscv64gc-unknown-linux-gnu, stable) (push) Has been skipped
2024-09-17 16:37:20 +02:00
yubiuser
22a8850fe9
Revert lint exception by setting minor version of protobuf ( #1339 )
2024-09-16 19:42:55 +02:00
yubiuser
0be490f58d
Add aarch64 and riscv64 cross compilation targets ( #1334 )
2024-09-14 18:46:14 +02:00
yubiuser
b85bab5095
Remove .cargo/config.toml and set link compiler on CI with CARGO_TARGET_<triple>_LINKER ( #1333 )
...
* Remove .cargo/config.toml and set link compiler on CI with CARGO_TARGET_<triple>_LINKER
* Run windows and cross builds parallel to linux tests
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-13 07:40:22 +02:00
yubiuser
ebd4f1cdc2
Allow renamed-and-removed-lints
...
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-07 21:56:02 +02:00
Roderick van Domburg
e9234d3d15
Merge pull request #1318 from yubiuser/hyper
...
Update hyper-rustls to 0.27 and adjust CI workflow
2024-09-05 22:12:21 +02:00
yubiuser
78a8c61f85
Don't use 'cross' for cross-compilation
...
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 15:46:03 +02:00
yubiuser
8f0c7b2b0d
Install NASM on Windows CI job
...
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-29 15:33:40 +02:00
yubiuser
dcd592bafb
Update MSRV to 1.74.0 and sysinfo to 0.31.3
...
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-27 23:16:48 +02:00
dependabot[bot]
0b3c3b6107
Bump actions/checkout from 4.1.6 to 4.1.7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15 10:02:55 +00:00
Christian König
b0170d142b
Bump MSRV to 1.73
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-10 18:50:38 +00:00
dependabot[bot]
a58dfcc083
Bump actions/checkout from 4.1.5 to 4.1.6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.5...v4.1.6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-18 10:43:27 +00:00
dependabot[bot]
103044cbd3
Bump actions/cache from 4.0.0 to 4.0.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4.0.0...v4.0.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-11 10:35:35 +00:00
dependabot[bot]
7e3ed6f4f2
Bump actions/checkout from 4.1.4 to 4.1.5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.4...v4.1.5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-11 10:29:42 +00:00
dependabot[bot]
e34f521196
Bump actions/checkout from 4.1.3 to 4.1.4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.3...v4.1.4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-27 10:19:49 +00:00
dependabot[bot]
b2c87597e3
Bump actions/checkout from 4.1.2 to 4.1.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.2...v4.1.3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-20 10:37:49 +00:00
Roderick van Domburg
27b8a6d81b
Merge pull request #1265 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.2
...
Bump actions/checkout from 4.1.1 to 4.1.2
2024-03-31 11:37:13 +02:00
dependabot[bot]
f8b4d26400
Bump actions/checkout from 4.1.1 to 4.1.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 10:57:53 +00:00
Christian König
d8e7f4f618
Update MSRV to 1.71.0
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 13:23:17 +01:00
dependabot[bot]
a2b6a9f418
Bump actions/cache from 3.3.2 to 4.0.0
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.2 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.3.2...v4.0.0 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 10:34:50 +00:00
Roderick van Domburg
f1ba913a64
Merge pull request #1212 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.1
...
Bump actions/checkout from 3.5.3 to 4.1.1
2023-11-14 20:47:40 +01:00
Roderick van Domburg
ea756b09ef
Merge pull request #1200 from librespot-org/dependabot/github_actions/dev/actions/cache-3.3.2
...
Bump actions/cache from 3.3.1 to 3.3.2
2023-11-14 20:46:56 +01:00
dependabot[bot]
357072a0d7
Bump actions/checkout from 3.5.3 to 4.1.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3.5.3...v4.1.1 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 10:06:22 +00:00
dependabot[bot]
6521c70db0
Bump actions/cache from 3.3.1 to 3.3.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.3.1...v3.3.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 10:53:51 +00:00
Christian König
dd28667178
Update MSRV to 1.70
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-08-23 21:54:17 +02:00
Christian König
1c214f7f0e
Update MSRV to 1.67
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-08-23 21:54:17 +02:00
dependabot[bot]
1ac9818a00
Bump actions/checkout from 3.5.2 to 3.5.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...v3.5.3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-10 11:02:28 +00:00
Roderick van Domburg
310725d2fb
Merge pull request #1150 from yubiuser/tweak/workflow_order
...
Check formatting and linting first on workflow
2023-06-01 20:51:29 +02:00
yubiuser
c964102a34
Update dependencies sysinfo and RSA ( #1164 )
2023-05-14 21:27:17 +02:00
Christian König
b8eed83d38
Check formatting and linting first on workflow
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-05-04 12:52:21 +02:00
dependabot[bot]
83139f8d07
Bump actions/checkout from 3.5.0 to 3.5.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3.5.0...v3.5.2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 10:57:24 +00:00
Christian König
cd56225935
Remove actions-rs/toolchain
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-11 23:10:04 +02:00
Roderick van Domburg
c5a1d331db
Merge pull request #1146 from librespot-org/dependabot/github_actions/dev/actions-rs/toolchain-1.0.7
...
Bump actions-rs/toolchain from 1.0.6 to 1.0.7
2023-04-11 21:19:55 +02:00
Roderick van Domburg
1063f5e4ff
Merge pull request #1147 from yubiuser/update/cache
...
Update actions/cache
2023-04-11 21:19:35 +02:00
yubiuser
e14dac3ff3
Remove and update dependencies ( #1140 )
2023-04-11 20:33:45 +02:00
Christian König
0a62d8a90e
Update actions/cache
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-11 20:29:14 +02:00
dependabot[bot]
c3df881152
Bump actions-rs/toolchain from 1.0.6 to 1.0.7
...
Bumps [actions-rs/toolchain](https://github.com/actions-rs/toolchain ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/actions-rs/toolchain/releases )
- [Changelog](https://github.com/actions-rs/toolchain/blob/master/CHANGELOG.md )
- [Commits](https://github.com/actions-rs/toolchain/compare/v1.0.6...v1.0.7 )
---
updated-dependencies:
- dependency-name: actions-rs/toolchain
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 18:20:35 +00:00
yubiuser
a7fb7ee673
Update github actions and add Dependabot ( #1141 )
...
Update GitHub actions and add Dependabot
2023-04-11 20:20:09 +02:00
ealasu
7d00881dcd
Fix build error due to GitHub Actions updating to Ubuntu 22.04
...
https://github.com/actions/runner-images/issues/6399#issuecomment-1286050292
2022-12-02 17:38:39 -07:00
Michael Herger
65b9289c4d
Fix #1031 - Remove new-api
branch from test matrix
2022-08-01 11:14:14 +02:00
Roderick van Domburg
9e06b11609
Update MSRV to 1.61 and fix test
2022-07-28 19:32:11 +02:00
Roderick van Domburg
6b11fb5cee
Update MSRV to 1.60
2022-07-28 19:11:29 +02:00
Roderick van Domburg
05b9b13cf8
Merge branch 'dev' into new-api and update crates
2022-07-27 23:31:11 +02:00