Skip to main content

tpt_math_optimize/
lib.rs

1//! Umbrella crate re-exporting the `tpt-math-optimize-*` family behind Cargo
2//! features.
3//!
4//! # Feature matrix
5//!
6//! | Feature                      | Re-exported as | Source crate                 |
7//! |------------------------------|---------------|-----------------------------|
8//! | `tpt-math-optimize-general`  | `general`     | `tpt-math-optimize-general` |
9//! | `tpt-math-optimize-convex`   | `convex`      | `tpt-math-optimize-convex`  |
10//!
11//! Both features are enabled by default.
12
13#[cfg(feature = "tpt-math-optimize-general")]
14pub use tpt_math_optimize_general as general;
15
16#[cfg(feature = "tpt-math-optimize-convex")]
17pub use tpt_math_optimize_convex as convex;