Commit graph

5 commits

Author SHA1 Message Date
Hugo Osvaldo Barrera
6ce9f4fc7a Make example runnable as example
Trying to run examples as usual (and as described in the README) fails:

    > cargo run --release --example cosmic
    error: no example target named `cosmic`.

The examples themselves are written as separate crates, and are
therefore not usable as examples (they also won't build via `cargo build
--examples`).

This commit makes the example fit the style that cargo can understand.
That is:

- Don't declare the example as a separate crate.
- Remove the nested `src` inside the example directory.
- Put example-only dependencies in dev-dependencies

No rust code was modified, files were only moved.
2023-03-12 11:24:49 +01:00
Victoria Brekenfeld
75687acf2f chore: apply cargo fmt 2023-01-04 05:46:24 +01:00
Michael Aaron Murphy
0cea2023f8 refactor(cosmic): Separate states across views 2023-01-03 00:12:28 -05:00
Jeremy Soller
4ba38dc25d
Use cosmic toggler instead of iced 2022-12-21 13:14:42 -07:00
Jeremy Soller
3f113016c5
Refactor pages into separate files 2022-12-21 13:11:32 -07:00