diff --git a/Cargo.lock b/Cargo.lock index 5492820..7d23698 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,7 +73,7 @@ dependencies = [ ] [[package]] -name = "meta-socket" +name = "meta-memcache-socket" version = "0.1.0" dependencies = [ "atoi", diff --git a/Cargo.toml b/Cargo.toml index 6fa3f18..6f4a4ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "meta-socket" +name = "meta-memcache-socket" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] -name = "meta_socket" +name = "meta_memcache_socket" crate-type = ["cdylib"] [dependencies] diff --git a/meta_socket.pyi b/meta_memcache_socket.pyi similarity index 100% rename from meta_socket.pyi rename to meta_memcache_socket.pyi diff --git a/pyproject.toml b/pyproject.toml index 2d1c54b..6f4bd7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["maturin>=1.3,<2.0"] build-backend = "maturin" [project] -name = "meta-socket" +name = "meta-memcache-socket" requires-python = ">=3.7" classifiers = [ "Programming Language :: Rust", diff --git a/src/lib.rs b/src/lib.rs index 841185f..201e4e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -146,7 +146,7 @@ pub fn build_meta_arithmetic( } #[pymodule] -fn meta_socket(_py: Python, module: &PyModule) -> PyResult<()> { +fn meta_memcache_socket(_py: Python, module: &PyModule) -> PyResult<()> { module.add_class::()?; module.add_class::()?; module.add_function(wrap_pyfunction!(parse_header, module)?)?;