diff --git a/src/lib-cpp/include/Velopack.h b/src/lib-cpp/include/Velopack.h index 2c5e2ee2..7c0f1aa9 100644 --- a/src/lib-cpp/include/Velopack.h +++ b/src/lib-cpp/include/Velopack.h @@ -1,7 +1,7 @@ #ifndef VELOPACK_H #define VELOPACK_H -/* Generated with cbindgen:0.28.0 */ +/* Generated with cbindgen:0.29.0 */ /* THIS FILE IS AUTO-GENERATED - DO NOT EDIT */ diff --git a/src/lib-python/Cargo.toml b/src/lib-python/Cargo.toml index bf77a0bc..80f0c000 100644 --- a/src/lib-python/Cargo.toml +++ b/src/lib-python/Cargo.toml @@ -10,7 +10,6 @@ edition.workspace = true rust-version.workspace = true [lib] -name = "velopack" crate-type = ["cdylib"] [dependencies] diff --git a/src/lib-python/pyproject.toml b/src/lib-python/pyproject.toml index 83114f90..fe8c6671 100644 --- a/src/lib-python/pyproject.toml +++ b/src/lib-python/pyproject.toml @@ -8,6 +8,9 @@ version = "0.0.1" requires = ["maturin>=1.0,<2.0"] build-backend = "maturin" +[tool.maturin] +module-name = "velopack" + [dependency-groups] dev = [ "maturin>=1.8.6", diff --git a/src/lib-python/src/lib.rs b/src/lib-python/src/lib.rs index f9c09264..797d5dc4 100644 --- a/src/lib-python/src/lib.rs +++ b/src/lib-python/src/lib.rs @@ -11,6 +11,7 @@ mod manager; use manager::UpdateManagerWrapper; #[pymodule] +#[pyo3(name = "velopack")] fn velopack(m: &Bound<'_, PyModule>) -> PyResult<()> { pyo3_log::init();