Cargo Features

volo-thrift has no features set by default.

[dependencies]
volo-thrift = { version = "0.10.4", features = ["multiplex", "unsafe-codec"] }
multiplex

multiplex is unstable and we don't provide backward compatibility

Affects transport::multiplex

unsafe-codec

unsafe-codec can achieve better performance for thrift binary protocol, but may cause undefined behavior if the thrift message is malformed.