Skip to content

Commit 4aa3c98

Browse files
committed
Ensure profiles work without a workspace
1 parent 399f14c commit 4aa3c98

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ debug = false
3535
strip = true
3636
panic = "abort"
3737

38+
[profile.dev]
39+
panic = "abort"
40+
3841
[lib]
3942
doctest = false
4043

imagequant-sys/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ imagequant = { path = "..", version = "4.5.0", default-features = false, feature
4343
bitflags = "2.5"
4444
libc = "0.2.153"
4545

46+
[profile.release]
47+
debug = false
48+
strip = true
49+
panic = "abort"
50+
51+
[profile.dev]
52+
panic = "abort"
53+
4654
[package.metadata.capi.library]
4755
name = "imagequant"
4856
version = "0.4.1"

0 commit comments

Comments
 (0)