cloudproof_fpe 0.2.2

Cosmian Cloudproof FPE library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use pyo3::{pymodule, types::PyModule, PyResult, Python};

use self::{py_alphabet::Alphabet, py_float::Float, py_integer::Integer};

mod py_alphabet;
mod py_float;
mod py_integer;

/// A Python module implemented in Rust.
#[pymodule]
fn cloudproof_fpe(_py: Python, m: &PyModule) -> PyResult<()> {
    m.add_class::<Alphabet>()?;
    m.add_class::<Integer>()?;
    m.add_class::<Float>()?;
    Ok(())
}