diff options
| author | 2024-02-27 12:02:17 +0800 | |
|---|---|---|
| committer | 2024-02-27 12:02:17 +0800 | |
| commit | 8353aa8e757716cd7144baee56992bf23f89c5e8 (patch) | |
| tree | 53d8295caf0ba36e7d2294c127999529db535b38 /src | |
| parent | 679880c0bd8e6ad1d8c6e4f9ee92cf89ddbd3cdd (diff) | |
| download | HydroRoll-8353aa8e757716cd7144baee56992bf23f89c5e8.tar.gz HydroRoll-8353aa8e757716cd7144baee56992bf23f89c5e8.zip | |
feat: develop with pdm and maturin
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ fn sum_as_string(a: usize, b: usize) -> PyResult<String> { /// A Python module implemented in Rust. #[pymodule] -fn __force(_py: Python, m: &PyModule) -> PyResult<()> { +fn hydro_roll(_py: Python, m: &PyModule) -> PyResult<()> { m.add_function(wrap_pyfunction!(sum_as_string, m)?)?; Ok(()) } |
