Skip to content

Commit

Permalink
Reduce more size?
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin committed May 9, 2024
1 parent 4d48933 commit 1e9c9bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

[package]
name = "resvg_py"
version = "0.1.4"
Expand All @@ -18,7 +17,9 @@ svgtypes = "0.15.0"


[profile.release.package."*"]
opt-level = 3
codegen-units = 1
opt-level ='z'
strip = true

[profile.release]
panic = "abort"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ features = ["pyo3/extension-module"]
[tool.poe.tasks]
test = "pytest . -rP"
"build:release" = "maturin build --release"
"develop" = "maturin build"
"dev" = "maturin build"

0 comments on commit 1e9c9bf

Please sign in to comment.