This is a partial backport of electrum#7926 and electrum#8310
and https://github.com/spesmilo/electrum/commit/d8abab34d81a1c67b23f9c408770690f538417ed
The rustc version in Debian Buster is not recent enough to compile cryptography, so drop the rustc and cargo apt dependencies and don't compile cryptography.
From https://cryptography.io/en/latest/installation/#rust
On most Linux distributions, the latest version of pip will be able to install a binary wheel, so you won’t need a Rust toolchain.
Note that cryptography is not directly used in Electrum ABC, it is pulled into the release by the dnspython dependency. See https://github.com/EchterAgo/Electron-Cash/commit/a8c55d21ef236d738b6e2a9fb12c5cbe9c9ac9c3
This commit was only partially backported (I kept dnspython[DNSSEC] rather than changing it to dnspython in requirements.txt), so specifying the dependency on cryptography was actually never needed before, but now it is.