libcosmic/examples/image-button/Cargo.toml
Michael Mc Donnell 289549fbeb Fix image-button example
The image-button example did not work with `just run image-button`.
The first problem was that the package name was `cosmic-image-button`
and not `image-button`. It was defined as `image-button` in the
justfile.

The second problem was that the `wayland` feature defines the
`set_window_title` as taking an `Id`. The easiest solution was to just
use the `winit` feature instead. We can alternatively pass
`window::Id::MAIN` if needed.
2024-09-12 19:53:22 -10:00

13 lines
238 B
TOML

[package]
name = "image-button"
version = "0.1.0"
edition = "2021"
[dependencies]
tracing = "0.1.37"
tracing-subscriber = "0.3.17"
[dependencies.libcosmic]
path = "../../"
default-features = false
features = ["debug", "winit", "tokio"]