Skip to content

Releases: kaj/rust-pdf

Release 0.7.0

07 Feb 20:16
@kaj kaj
Compare
Choose a tag to compare

2022-02-07 21:14:40 +02:00

  • Merge PR #7 from @hummingly:
    • Updates dependencies.
    • Fixes a bug where adding keywords would just overwrite/add the Subject
      entry.
    • Changes create_X functions to constructors that are only visible in the
      crate.
    • Improves allocations: removed a few clones, allocate space before
      inserting elements etc.
    • Puts graphicsstates tests into test module which removes dead code
      warning.
    • Overall made more use of the standard library.
  • Add keyword "pdf" to crate, PR #6 from @adiba
  • Update to Rust edition 2021.
  • Update lazy_static dependency.
  • Use chrono 0.4.19 instead of time 0.1.
  • Update travis build to use more up to date rust versions and stable
    rustfmt.
  • Update clippy directive.
  • Some rustfmt updates.

Thanks to @hummingly and @adiba!

Release 0.6.0

15 Jul 09:21
@kaj kaj
Compare
Choose a tag to compare
  • PR #5 from @hummingly: Adds ZapfDingbats encoding
  • Fix Encoding::encode_string. The encoded bytes b'\', b'(', and b')' must be escaped properly, not the unencoded characters '\', '(', and ')'.
  • Some documentation improvements.
  • Remove some explict lifetimes.
  • Avoid some cloning. Or at least delay it slightly, cloning in caller rather than callee.
  • Code-style changes. Mainly use x? instead of try!(x) and follow rustfmt updates.
  • Testing now also done on windows, by appveyour.