diff --git a/Cargo.toml b/Cargo.toml index b7e5a97..a0c8db7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,3 +11,9 @@ crate-type = ["cdylib"] anyhow = "*" pyo3 = { version = "*", features = ["anyhow"] } quick-xml = "*" + +[profile.release] +opt-level = 3 +strip = "symbols" +codegen-units = 1 +lto = "fat"