Skip to content

v0.4.1

Compare
Choose a tag to compare
@Davoodeh Davoodeh released this 23 Aug 23:08
· 4 commits to master since this release

Add

  • Support for deprecated in codegen.
  • Experimental support for a custom codegen replacement for cbindgen (namely
    cffi, use make cffi to test) to generate the C headers.
  • tm (time.h struct) and to_jtm for easier creation of Jalali correct tm
    structs from Date
  • MonthDay::NON_LEAP_LAST_MAX_DAY and deprecate what it replaces
    MonthDay::NON_LEAP_LAST_MONTH_DAY_MAX to be more aligned with other
    *MAX_DAY constants
  • MonthDay::LEAP_LAST_MAX_DAY and deprecate what it replaces
    MonthDay::LEAP_LAST_MONTH_DAY_MAX to be more aligned with other *MAX_DAY
    constants

Change

  • MonthDay::LEAP_LAST_MONTH_DAY_MAX and
    MonthDay::NON_LEAP_LAST_MONTH_DAY_MAX to deprecated. Use the added
    alternatives.
  • codegen:
    • ImplConst items are now visited beforetheir duplicate global were
      produced.
    • codegen the crate now holds multiple binaries and the previous main.rs
      is renamed as codegen.rs.
    • to collapse documents (just a visual change for now)
    • sift to whitelist cfg and cfg_attr attributes
    • to pass cfg attributes to pymodule (prevents cfg misbehavior)
    • allow unused_imports
    • use crate::ffi::* automatically

Full Changelog: 0.4.0...0.4.1