RRule

RRule is a wrapper around the Rust based library rrule.

To consume it in your projects, you'll need to have a Rust compiler installed.

Installation

If available in Hex, the package can be installed by adding rrule to your list of dependencies in mix.exs:

def deps do
  [
    {:rrule, "~> 0.1.0"}
  ]
end

Release Process

  1. Make the sure correct version of rust_rrule is being referenced. See native/rrule/Cargo.toml for more details. Set the rev=

  2. Update the mix version

  mix.exs
  # this will update the cargo.lock
  FORCE_COMPILE=1 mix rustler_precompiled.download RRule --only-local
  1. Commit change and tag version

     git commit -m "updated version"
     git tag 0.15.4
     git push --tags
    
  2. Get updated checksums

    Wait for github build action to complete

     mix compile # seems to be needed to update the version number ??
     mix rustler_precompiled.download RRule --all --no-config
    
     # verify test, add any to verify the update
     mix test
    
  3. Publish to hex

mix hex.publish