MCPcopy Create free account
hub / github.com/pyca/cryptography / create_module

Function create_module

src/rust/src/backend/poly1305.rs:121–127  ·  view source on GitHub ↗
(py: pyo3::Python<'_>)

Source from the content-addressed store, hash-verified

119}
120
121pub(crate) fn create_module(py: pyo3::Python<'_>) -> pyo3::PyResult<&pyo3::prelude::PyModule> {
122 let m = pyo3::prelude::PyModule::new(py, "poly1305")?;
123
124 m.add_class::<Poly1305>()?;
125
126 Ok(m)
127}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected