diff --git a/pyproject.toml b/pyproject.toml index 71ae2a2..f34b258 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,3 +74,9 @@ default-groups = ["dev", "docs"] [build-system] requires = ["maturin>=1.7,<2.0"] build-backend = "maturin" + +[tool.maturin] +strip = true +opt-level = "z" # TODO compare with "s" +lto = true +codegen-units = 1