libmcl-sys 0.1.2-rc1

This system crate provides Rust language bindings to the Minos Compute Library (MCL)
Documentation
1
2
3
4
5
6
7
8
9
10
use libmcl_sys::*;

#[test]
fn init() {
    unsafe {
        assert_eq!(mcl_init(1, MCL_NULL.into()), 0);

        assert_eq!(mcl_finit(), 0);
    }
}