1
Fork 0

Renamed to oelf

This commit is contained in:
Jan-Erik Rediger 2023-12-09 00:50:05 +01:00
parent 04e514f00a
commit 387fc40053
4 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View file

@ -33,7 +33,7 @@ dependencies = [
[[package]] [[package]]
name = "goblin-pyo3" name = "goblin-pyo3"
version = "0.1.0" version = "0.0.1"
dependencies = [ dependencies = [
"goblin", "goblin",
"pyo3", "pyo3",

View file

@ -1,10 +1,10 @@
[package] [package]
name = "goblin-pyo3" name = "goblin-pyo3"
version = "0.1.0" version = "0.0.1"
edition = "2021" edition = "2021"
[lib] [lib]
name = "goblin" name = "oelf"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]

View file

@ -3,7 +3,7 @@ requires = ["maturin>=1,<2"]
build-backend = "maturin" build-backend = "maturin"
[project] [project]
name = "goblin" name = "oelf"
requires-python = ">=3.7" requires-python = ">=3.7"
classifiers = [ classifiers = [
"Programming Language :: Rust", "Programming Language :: Rust",

View file

@ -153,7 +153,7 @@ impl Drop for Object {
} }
} }
#[pymodule] #[pymodule]
#[pyo3(name = "goblin")] #[pyo3(name = "oelf")]
fn py_goblin(_py: Python<'_>, m: &PyModule) -> PyResult<()> { fn py_goblin(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
m.add_class::<Object>()?; m.add_class::<Object>()?;
Ok(()) Ok(())