Fix module name

This commit is contained in:
Erik Johnston
2021-09-28 16:42:29 +01:00
parent 90afa17075
commit 47875bbf5d
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -1104,7 +1104,7 @@ dependencies = [
[[package]]
name = "synapse_auto_compressor"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"anyhow",
"clap",

View File

@@ -1,7 +1,7 @@
[package]
name = "synapse_auto_compressor"
authors = ["William Ashton"]
version = "0.1.0"
version = "0.1.1"
edition = "2018"
[package.metadata.maturin]

View File

@@ -57,7 +57,7 @@ impl FromStr for LevelInfo {
// PyO3 INTERFACE STARTS HERE
#[pymodule]
fn auto_compressor(_py: Python, m: &PyModule) -> PyResult<()> {
fn synapse_auto_compressor(_py: Python, m: &PyModule) -> PyResult<()> {
let _ = pyo3_log::Logger::default()
// don't send out anything lower than a warning from other crates
.filter(LevelFilter::Warn)