Registry / other / piet
library0.8.0rscratesunverified

An abstraction for 2D graphics, providing a cross-platform drawing API.

# Cargo.toml [dependencies] piet = "0.8.0"
INSTALL
IMPORT
SIG · PIET
P
piet
otherrustv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RenderContext
✓ use piet::RenderContext;

Use the RenderContext trait for drawing.

use piet::RenderContext; fn main() { println!("Piet 2D graphics abstraction"); }
Debug
Known issues
gotchaRequires a backend (e.g., 'cairo', 'direct2d') to actually render.
fix
Add a backend crate like piet-cairo and enable its feature.
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
piet — cargo add piet · libregistry