nandi/jolt-nativepublic Fork 0
5ba95e0164dfaf9110357b5e041001f98d4f13a9
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Cargo.toml · 41 lines · 1.7 KBTOML Blame HistoryRaw
glimmer-cosmic: a libcosmic backend for glimmer (spike) 6a3304d nandi 8d ago1[package]
2name = "jolt-cosmic"
3version.workspace = true
4edition.workspace = true
5license.workspace = true
6description = "glimmer's libcosmic backend behind a C ABI"
7publish = false
8
9# Produces `libjoltcosmic.so`. The retained-tree ABI `libvidya` and
10# `libjolttui` export, painted by libcosmic — so the jolt side picks a backend
11# by naming a different shared object.
12#
13# Its own crate for the reason the workspace gives: libcosmic brings iced,
14# wgpu, cosmic-text and zbus with it, and nobody who asked for a terminal
15# should link any of that. It is also MPL-2.0 where the rest of this repo is
16# MIT; linking it dynamically, as a separate object, keeps that boundary clean.
17[lib]
18name = "joltcosmic"
19crate-type = ["cdylib", "rlib"]
20
21[dependencies]
22jolt-abi.workspace = true
23log.workspace = true
24
Paint the rest of frq's tags in glimmer-cosmic 7703c75 nandi 8d ago25# Decoders for `:image` and `:avatar`. libcosmic builds iced with
26# `image-without-codecs`, so a picture loaded by path decodes to nothing unless
27# something turns the formats on; this is the same `image` crate iced links, so
28# naming the features here is enough.
29image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp"] }
30
Report the window size, open the portal chooser, and colour emoji 71cdc87 nandi 8d ago31# The desktop's own file chooser, through the XDG portal — the version
32# libcosmic's optional `rfd` feature is locked to, on the tokio runtime its
33# executor already runs.
34rfd = { version = "0.16", default-features = false, features = ["xdg-portal", "tokio"] }
35
glimmer-cosmic: a libcosmic backend for glimmer (spike) 6a3304d nandi 8d ago36# Pinned to the rev the COSMIC applet in wayland-bar already builds against.
37[dependencies.libcosmic]
38git = "https://github.com/pop-os/libcosmic"
39rev = "a401af8b1c54a8abd393b8c5b7c8809402f83850"
40default-features = false
41features = ["winit", "tokio", "wgpu", "x11", "wayland"]