Skip to content

🚢 0.3.0 / 2022-01-10

Latest
Compare
Choose a tag to compare
@LinusU LinusU released this 10 Jan 22:50
v0.3.0
6f7b7fb

💥 Breaking Changes

  • Fix max packet size calculations

    Migration Guide:

    This change brings the minimum supported version of the Rust compiler up to 1.57.0.

    Instead of using the MAX_ESCAPE_HEADER_BYTES constant to manually calculate the required output buffer size, this is now exposed as a function on the FormatDescription struct. Simply call max_packet_size() on your output format description struct.

    This functions is a const fn, so it can be used in const contexts. In addition, the FormatDescription::alac constructor was also made const, so that the minimum output buffer size can be calculated at compile time.

🎉 Enhancements

  • Use log crate instead of println
  • Drop dependency on std library
  • Simplify AlacEncoder::encode implementation

🌹 Internal Changes

  • Remove Docker files
  • Switch CI from Travis to GitHub Actions
  • Add more realistic benchmark
  • Fix all Clippy lints
  • Rework debug vs. release assertions
  • Use usize for num_bits
  • Use usize for bytes_shifted
  • Use usize for chan_bits
  • Use usize for num_channels