Cargo Features
Resend has no features set by default.
[dependencies]
resend = { version = "0.1.4", features = ["little", "big", "unstable", "len_16", "len_vlq", "MAX_LEN_100M", "MAX_LEN_500M", "MAX_LEN_2G"] }
- little
-
little endian
- big
-
big endian
- unstable
-
unstable feature: min_specialization, which improve the performance on Vec<u8> etc.
- len_16
-
length for String, collections is u16
- len_vlq
-
length for String, collections is Variable-length quantity
- MAX_LEN_100M
-
max len is 100M
- MAX_LEN_500M
-
max len is 500M
- MAX_LEN_2G
-
max len is 2G