phantasm provides tools for working with variance. See docs for more.
phantasm
toml [dependencies] phantasm = "0.1"
Compiler support: requires rustc 1.31+ (the first release with stable 2018 edition)
2018