Skip to content

BEAM Nif integration for Pasta Curves - #79

Open
mariari wants to merge 2 commits into
zcash:mainfrom
heliaxdev:taiga-nif
Open

BEAM Nif integration for Pasta Curves#79
mariari wants to merge 2 commits into
zcash:mainfrom
heliaxdev:taiga-nif

Conversation

@mariari

@mariari mariari commented Aug 23, 2023

Copy link
Copy Markdown

I've added Erlang/Elixir NIF integration into pasta curves using rustler. The feature is feature flagged so it has no effect on the codebase when it is not in use.

Tell me if there is anything I should change, or anything more that needs to be done for this to be considered.

The CI will fail as I have not merged #68 into the topic, I can setup an integration branch with these two topics, if you want to see if CI passes or fails.

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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant