Crates.io | fireplace_lib |
lib.rs | fireplace_lib |
version | |
source | src |
created_at | 2017-02-09 23:31:04.614792 |
updated_at | 2017-03-02 19:04:47.777135 |
description | Modular wayland window manager library |
homepage | |
repository | https://github.com/Drakulix/fireplace/blob/master/fireplace_lib |
max_upload_size | |
id | 8446 |
Cargo.toml error: | TOML parse error at line 12, column 1 | 12 | workspace = ".." | ^^^^^^^^^ unknown field `workspace`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
He who wants to warm himself in old age must build a fireplace in his youth.
This folder is about the modular fireplace_lib library for creating your own window manager / wayland compositor based the functionality provided by this library.
For information on the actual reference window manager "Fireplace" please go here.
Documentation is hosted on GitHub pages, because special build parameters are required - see "Usage" - which makes it unable to build on docs.rs
In your Cargo.toml
fireplace_lib = "^1.0.0"
fireplace_lib offers multiple features, which are all enabled by default:
static
- Compile wlc
and link staticallyrender
- Enable rendering at allgl
- Implies render
, provides functionality for OpenGL ES renderinggraphics
- Implies render
and gl
, provides functionality for rendering with piston2d-graphics
conrod_ui
- Implies render
, gl
and graphics
, provides functionality for rendering with conrod
E.g. to use only gl
:
fireplace_lib = { version = "^1.0.0", default-features = false, features = ["gl"] }
Runtime and Build dependencies:
static
)ui
)ui
)And optionally:
Build-only Dependencies:
ui
)If you have libclang
in another path then /usr/lib
you have to provide it when building your binary:
LIBCLANG_PATH=/usr/lib64 cargo build --release
See https://github.com/KyleMayes/clang-sys#environment-variables
The most basic examples initializing all fireplace_lib
features is keeped in fireplace_flavors/code
I will happily accept new features or bug fixes, given that they are:
Deserialize
via serde
feature
if it increases compile time substancially and/or will most likely not be used by a large amount of userscargo clippy
except for well explained exceptionsrustfmt
and the config in the repository's rootIf you are not sure, if your contribution does match these rules, open an issue or a pull request and lets discuss the subject.
Also note you can easily keep your personal changes out-of-tree by creating another rust library crate, that can be included in other forks, if you still want to make it available to the public or if you just add your code directly into your personal binary.
Like this you will never need to modify fireplace_lib
in the first place,
you can easier maintain your fork and still be up to date with new functionality.