Skip to content

Commit

Permalink
Update pyo3 and deps (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
bisho authored Nov 25, 2024
1 parent de19bf3 commit fbead39
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 160 deletions.
195 changes: 39 additions & 156 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 @@ -10,8 +10,8 @@ crate-type = ["cdylib"]

[dependencies]
atoi = "2.0.0"
base64 = "0.21.5"
base64 = "0.22.1"

[dependencies.pyo3]
version = "0.20.3"
version = "0.23.1"
features = ["extension-module"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "meta-memcache-socket"
requires-python = ">=3.7"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub fn build_meta_arithmetic(
}

#[pymodule]
fn meta_memcache_socket(_py: Python, module: &PyModule) -> PyResult<()> {
fn meta_memcache_socket(module: &Bound<'_, PyModule>) -> PyResult<()> {
module.add_class::<ResponseFlags>()?;
module.add_class::<RequestFlags>()?;
module.add_function(wrap_pyfunction!(parse_header, module)?)?;
Expand Down

0 comments on commit fbead39

Please sign in to comment.