Skip to content

0.3.0

Compare
Choose a tag to compare
@moreal moreal released this 02 Nov 10:53
· 51 commits to main since this release

Added APIs

  • All BencodexValue types and BencodexKey types become to implement From<T> trait.
    • From<&str> for BencodexKey.
    • From<String> for BencodexKey.
    • From<&[u8]> for BencodexKey.
    • From<Vec<u8>> for BencodexKey.
    • From<&str> for BencodexValue.
    • From<String> for BencodexValue.
    • From<u16> for BencodexValue.
    • From<u32> for BencodexValue.
    • From<u64> for BencodexValue.
    • From<i8> for BencodexValue.
    • From<i16> for BencodexValue.
    • From<i32> for BencodexValue.
    • From<i64> for BencodexValue.
    • From<bool> for BencodexValue.
    • From<BTreeMap<T: Into<BencodexKey>, U: Into<BencodexValue>>> for BencodexValue.
    • From<Vec<T: Into<BencodexValue>>> for BencodexValue.
    • From<()> for BencodexValue.
  • BencodexDictionary type alias was added.
  • BencodexList type alias was added.
  • BENCODEX_NULL constant was added.