This is causing a cargo-deny failure due to duplicate syn deps in cosmic-text.
This thread (mcarton/rust-derivative#117) recommends https://github.com/ModProg/derive-where as a maintained alternative to derivative.
Alternatively, there is a PR updating derivative to syn 2.x mcarton/rust-derivative#118 which could be published as a fork of derivative.