constantine/bindings
Mamy Ratsimbazafy 3e27f1e831
Rust bindings (#287)
* first jab at Rust bindings

* stash C library and header generation

* Create a single big library with multiple headers

* remove ctt_pure, people will not call crypto proc twice with unchanged parameter and extra noise when reading header

* fix MacOS and Windows builds

* fix cross-lang ThinLTO, require LLD

* Remove NimMain need, cleanup CPU features and detect them on library load
2023-10-24 10:56:28 +02:00
..
README.md Rust bindings (#287) 2023-10-24 10:56:28 +02:00
c_curve_decls.nim Rust bindings (#287) 2023-10-24 10:56:28 +02:00
c_typedefs.nim Rust bindings (#287) 2023-10-24 10:56:28 +02:00
lib_constantine.nim Rust bindings (#287) 2023-10-24 10:56:28 +02:00
lib_curves.nim Rust bindings (#287) 2023-10-24 10:56:28 +02:00
lib_hashes.nim Rust bindings (#287) 2023-10-24 10:56:28 +02:00
lib_headers.nim Rust bindings (#287) 2023-10-24 10:56:28 +02:00

README.md

Bindings generator

This folder holds the bindings generators for Constantine.

To create a new build, download install the Nim programming language, navigate to Constantine's root folder and call nimble bindings.

Headers will be placed in "include" folder and static and dynamic libraries in "lib"