Debian Patches

Status for rust-kanata/1.9.0+ds-1~exp1

Patch Description Author Forwarded Bugs Origin Last update
replace-instant-dep-with-web-time.patch [PATCH] refactor: replace instant dep with web-time
The instant crate is no longer maintained since a year. Its upstream
author recommends [1] to switch to the web-time crate [2], which this
commit does.

[1] https://github.com/sebcrozet/instant/commit/d94bebae9fa470869dda4c1c916ac3686c7bc9bd
[2] https://crates.io/crates/web-time
Agathe Porte <gagath@debian.org> yes
disable-gui.patch [PATCH] disable gui feature
Due to the very sensitive nature of kanata we want to reduce the attack surface
to a minimum. Disable the gui feature.
Agathe Porte <gagath@debian.org> not-needed
disable-tcp-server.patch [PATCH] disable tcp_server feature
Due to the very sensitive nature of kanata we want to reduce the attack surface
to a minimum. Disable the tcp_server feature.
Agathe Porte <gagath@debian.org> no
migrate-to-evdev-0.13.0.patch [PATCH] chore: migrate to evdev 0.13.0 Agathe Porte <989521+gagath@users.noreply.github.com> yes 2025-07-09
relax-dependencies.patch [PATCH] relax dependencies Agathe Porte <gagath@debian.org> not-needed
rm-non-linux-dependencies.patch remove non-linux dependencies
The debcargo tooling seems unable to detect that the macos and windows-specific
dependencies are not needed. Manually remove them from Cargo.toml so that
d/control does not depend on these unlikely to be packaged crates.
Agathe Porte <gagath@debian.org> not-needed
fix-tests-zippychord-feature.patch Only test zippychord when feature is enabled
One can activate a specific set of features so that the zippychord_sim_tests
test is run without the zippychord feature being enabled. This leads to a
runtime error saying that the zippychord feature was not enabled when trying to
run the tests with this specific feature set.

Add an additional cfg feature gate in front of the zippychord_sim_tests module
to prevent this failure.
Agathe Porte <gagath@debian.org> yes

All known versions for source package 'rust-kanata'

Links