and putting them into the header via the functionality offered by `libimagentrylink`.
This patch removes unused crate imports reported by newer rust versions. Some crates were only required for tests, some only for tests with macro_import - these things were fixed with feature gates.