Automatic backend selection for Piet
Automatically chooses the appropriate implementation of the Piet 2D graphics API for the current platform.
On Windows, the backend will be piet-direct2d, on macOS piet-coregraphics, and on Linux, OpenBSD, FreeBSD, and NetBSD piet-cairo.
The piet-web backend will be selected when targeting wasm32
.
Minimum supported Rust Version (MSRV)
This version of Piet has been verified to compile with Rust 1.85 and later.
Future versions of Piet might increase the Rust version requirement. It will not be treated as a breaking change and as such can even happen with small patch releases.
As time has passed, some of Piet's dependencies could have released versions with a higher Rust requirement. If you encounter a compilation issue due to a dependency and don't want to upgrade your Rust toolchain, then you could downgrade the dependency.
# Use the problematic dependency's name and version
Community
Discussion of Piet development happens in the Linebender Zulip, specifically the #piet stream. All public content can be read without logging in.
Contributions are welcome by pull request. The Rust code of conduct applies.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache 2.0 license, shall be licensed as noted in the License section, without any additional terms or conditions.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.