Skip to main content

pixelactions_core/
lib.rs

1//! Platform-free core for pixelactions.
2//!
3//! Everything here is arithmetic and data: parsing a flow file, resolving
4//! its steps against a pixelcoords session, and converting a physical
5//! pixel into the coordinate space a platform's input API expects. No
6//! window system, no OS calls, no capture — those live in the binary.
7//!
8//! The split exists for the same reason it does in pixelcoords: the part
9//! that decides *where to click* must be testable without a screen.
10//!
11//! The crate README is included below, which makes every example on the
12//! crates.io page a compiled doctest — documentation that cannot rot
13//! without failing CI.
14#![doc = include_str!("../README.md")]
15#![forbid(unsafe_code)]
16
17pub mod chord;
18pub mod convert;
19pub mod display;
20pub mod flow;
21pub mod plan;
22pub mod protocol;
23pub mod report;
24pub mod stream;
25pub mod verb;