Skip to content

@torkleyy torkleyy released this Feb 14, 2018 · 114 commits to master since this release

Crates.io Docs

New features and changes of the last 30 days

  • Add extensions which enable small syntax changes like leaving out newtypes (#72, #75)
  • Add a grammar specification (#73)
  • Fix a mistake in the README (#74)
  • Add support for hex, oct and binary numbers (#78)
  • Fixed bug where f32s where serialized with too many decimals (#81)
  • Add option to write element index behind array elements (#86, #88)
  • Allow limiting the indentation to a certain nesting level (#93)
  • Fix unicode support as mentioned in #49, fix and improve escape sequences (#80, #84)

New contributors

Thank you both for contributing!

Example showing extensions

Without extension

{
    (7): Bool(true),
    (9): Char('x'),
    (6): Bool(false),
    (5): Unit,
    (1): Option(Some(5)),
}

With extensions

#![enable(implicit_some, unwrap_newtypes)]

{
    7: Bool(true),
    9: Char('x'),
    6: Bool(false),
    5: Unit,
    1: Option(5),
}
Assets 2
You can’t perform that action at this time.