Skip to main content

wallr_core/
lib.rs

1//! # wallr-core
2//!
3//! Core library for Wallr - a native, GPU-accelerated Wayland wallpaper engine.
4
5// `wgpu-core`'s internal types (`Hub`/`Registry`/…) are deep enough to trip
6// rustc's `recursion_depth_exceeding_limit` future-compat lint whenever a
7// closure captures renderer state (e.g. `Arc<Mutex<RenderState>>` in
8// `spawn_blocking`). That depth comes from wgpu, not from our code, and the
9// types were accepted under the old limit, so allow the lint here until a
10// wgpu upgrade shallows those internals. See rust-lang/rust#159228.
11// `unknown_lints` is also allowed so stable (which doesn't know this lint
12// yet) doesn't error under `-D warnings`.
13#![allow(unknown_lints)]
14#![allow(recursion_depth_exceeding_limit)]
15
16pub mod animated;
17pub mod animation;
18pub mod config;
19pub mod daemon;
20pub mod ipc;
21pub mod renderer;
22pub mod shader;
23pub mod theme;
24pub mod video;
25pub mod wallpaper;