libcosmic/README.md
2023-03-02 11:46:25 -07:00

919 B

LIBCOSMIC

Building blocks for COSMIC applications.

Building

Libcosmic is written in pure Rust, so cargo is all you need.

cargo build

Usage

There's examples in the examples directory.

Widget library

cargo run --release --example cosmic

On Pop!_OS

sudo apt install cargo libexpat1-dev libfontconfig-dev libfreetype-dev pkg-config cmake
git clone https://github.com/pop-os/libcosmic
cd libcosmic
git submodule update --init
cargo run --release -p cosmic

Text rendering

cargo run --release --example text

Documentation

The documentation can be found here.

Licence

Libcosmic is licenced under the MPL-2.0

Contact