Skip to main content

Crate tupa_core

Crate tupa_core 

Source
Expand description

Tupã core library — types, traits, and pipeline macro re-export.

Re-exports§

pub use serde_json;

Modules§

constraints
Built-in constraint marker types.

Macros§

pipeline
Re-export the procedural macro so users can write use tupa_core::pipeline; Procedural macro defining a Tupã policy pipeline.
safe
Re-export the safe! macro for compile-time-proven constrained values.

Structs§

ConstraintError
Error returned by Safe::try_new when a value violates its Constraint.
Safe
A value with a compile-time proven constraint marker C.
Tensor
Tensor placeholder with shape information.
TestPipeline
Test-only pipeline for compile-time trait bound verification.

Traits§

Constraint
A constraint that a Safe<T, C> value must satisfy.
Pipeline
Trait implemented by all pipelines (generated by the pipeline! macro).