diff --git a/Cargo.toml b/Cargo.toml index aa50c30..43e9262 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lasprs" -version = "0.4.2" +version = "0.5.0" edition = "2021" authors = ["J.A. de Jong "] description = "Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)" diff --git a/pyproject.toml b/pyproject.toml index dff3178..72c2cb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] - +dynamic = ["version"] dependencies = ["numpy"] [tool.maturin] diff --git a/src/daq/mod.rs b/src/daq/mod.rs index ad99305..5987c2e 100644 --- a/src/daq/mod.rs +++ b/src/daq/mod.rs @@ -71,7 +71,6 @@ pub fn add_py_classses(m: &Bound<'_, PyModule>) -> PyResult<()> { m.add_class::()?; m.add_class::()?; m.add_class::()?; - m.add_class::()?; m.add_class::()?; m.add_class::()?; m.add_class::()?; diff --git a/src/daq/streamerror.rs b/src/daq/streamerror.rs index 61de1d2..cae0d19 100644 --- a/src/daq/streamerror.rs +++ b/src/daq/streamerror.rs @@ -1,4 +1,5 @@ use strum_macros::Display; +use crate::config::*; /// Errors that happen in a stream #[derive(strum_macros::EnumMessage, Debug, Clone, Display, Copy)]