diff --git a/Cargo.lock b/Cargo.lock index e10177f..055feb4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -142,9 +142,9 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.22.6" +version = "0.23.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f402062616ab18202ae8319da13fa4279883a2b8a9d9f83f20dbade813ce1884" +checksum = "e484fd2c8b4cb67ab05a318f1fd6fa8f199fcc30819f08f07d200809dba26c15" dependencies = [ "cfg-if", "libc", @@ -157,9 +157,9 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.22.6" +version = "0.23.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b14b5775b5ff446dd1056212d778012cbe8a0fbffd368029fd9e25b514479c38" +checksum = "dc0e0469a84f208e20044b98965e1561028180219e35352a2afaf2b942beff3b" dependencies = [ "once_cell", "target-lexicon", @@ -167,9 +167,9 @@ dependencies = [ [[package]] name = "pyo3-ffi" -version = "0.22.6" +version = "0.23.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ab5bcf04a2cdcbb50c7d6105de943f543f9ed92af55818fd17b660390fc8636" +checksum = "eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae372d" dependencies = [ "libc", "pyo3-build-config", diff --git a/Cargo.toml b/Cargo.toml index 3263e44..c4a9e09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ chrono = { version = "0.4.38", default-features = false } half = { version = "2.4.1", default-features = false } itoa = { version = "1", default-features = false } once_cell = { version = "1", default-features = false, features = ["race"] } -pyo3 = { version = "^0.22.6", default-features = false, features = ["extension-module"] } +pyo3 = { version = "^0.23.3", default-features = false, features = ["extension-module"] } rmp = { version = "^0.8.14", default-features = false, features = ["std"] } serde = { version = "1", default-features = false } serde_bytes = { version = "0.11.15", default-features = false, features = ["std"] } @@ -52,7 +52,7 @@ simdutf8 = { version = "0.1.5", default-features = false, features = ["std"] } smallvec = { version = "^1.13", default-features = false, features = ["union", "write"] } [build-dependencies] -pyo3-build-config = { version = "^0.22.0" } +pyo3-build-config = { version = "^0.23.3" } [profile.release] codegen-units = 1 diff --git a/src/lib.rs b/src/lib.rs index 469dc43..2ee2994 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,7 +53,7 @@ pub unsafe extern "C" fn PyInit_ormsgpack() -> *mut PyModuleDef { PyMethodDef { ml_name: "packb\0".as_ptr() as *const c_char, ml_meth: PyMethodDefPointer { - _PyCFunctionFastWithKeywords: packb, + PyCFunctionFastWithKeywords: packb, }, ml_flags: METH_FASTCALL | METH_KEYWORDS, ml_doc: PACKB_DOC.as_ptr() as *const c_char, @@ -61,7 +61,7 @@ pub unsafe extern "C" fn PyInit_ormsgpack() -> *mut PyModuleDef { PyMethodDef { ml_name: "unpackb\0".as_ptr() as *const c_char, ml_meth: PyMethodDefPointer { - _PyCFunctionFastWithKeywords: unpackb, + PyCFunctionFastWithKeywords: unpackb, }, ml_flags: METH_FASTCALL | METH_KEYWORDS, ml_doc: UNPACKB_DOC.as_ptr() as *const c_char,