diff --git a/Cargo.toml b/Cargo.toml index c4c5cf55..01097e08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,10 @@ edition = "2021" [lib] name = "cosmic" +[features] +default = [] +debug = ["iced/debug"] + [dependencies] freedesktop-icons = "0.2.1" diff --git a/examples/cosmic/Cargo.toml b/examples/cosmic/Cargo.toml index 38e2cff2..076e627b 100644 --- a/examples/cosmic/Cargo.toml +++ b/examples/cosmic/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" publish = false [dependencies] -libcosmic = { path = "../.." } +libcosmic = { path = "../..", features = ["debug"] }