Skip to main content

rift_types/
lib.rs

1//! Shared core types for the Rift workspace.
2//!
3//! Pure, serde-friendly data types with no behaviour, so they can be depended on by
4//! `rift-http-proxy`, `rift-lint`, and `rift-tui` without circular dependencies. The one
5//! exception is [`wire`], which carries the shared serde rules for how those types are spelled on
6//! the wire — it lives here for the same reason the types do: so no two crates can disagree.
7
8pub mod predicate;
9pub mod wire;
10
11pub use predicate::{Predicate, PredicateOperation, PredicateParameters, PredicateSelector};