Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BEAM Nif integration for Pasta Curves #79

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 23, 2023

  1. Added Rustler for BEAM NIF integration

    Here we add rustler as a dependency and create serialization
    derivations for the various types found within pasta_curves.
    
    Some extra arguments are given to the new_curve_impl as I could not
    figure out how to splice strings in rust's macro system
    mariari committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    35d753e View commit details
    Browse the repository at this point in the history
  2. Add a feature flag for NIF derivation

    This makes it so that all the changes included have no effect upon the
    code, if the desired changes are wanted, then add:
    
    --features=repr-erlang
    
    when using cargo to successuflly have the feature enabled
    mariari committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    bb6340f View commit details
    Browse the repository at this point in the history