Skip to content

Commit

Permalink
Update pyo3
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuele Giaquinta <[email protected]>
  • Loading branch information
exg committed Dec 9, 2024
1 parent c73d0ab commit d06d177
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ 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"] }
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
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ 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,
},
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,
Expand Down

0 comments on commit d06d177

Please sign in to comment.