Expand description
§cvx-core — Core types, traits, configuration, and error handling for ChronosVector.
This crate defines the foundational abstractions used across all other CVX crates. It has no dependencies on other workspace crates — all other crates depend on it.
§Modules
types— Core data types:TemporalPoint,DeltaEntry,EntityTimeline,ChangePoint,ScoredResulttraits— Trait definitions:DistanceMetric,VectorSpace,StorageBackend,IndexBackend,AnalyticsBackendconfig— Configuration:CvxConfig(deserializable from TOML)error— Error types:CvxError,CvxResult
§Design Principles
- Domain-agnostic: CVX knows about temporal vector trajectories, not about finance, NLP, or medicine. Domain-specific concepts are compositions of these primitives.
- Typed errors: Every subsystem has its own error type that converts into
CvxError. - Serializable: All core types implement
serde::Serialize+serde::Deserialize.
Re-exports§
pub use config::CvxConfig;pub use error::CvxError;pub use error::CvxResult;pub use traits::AnalyticsBackend;pub use traits::DistanceMetric;pub use traits::EmbedError;pub use traits::Embedder;pub use traits::IndexBackend;pub use traits::StorageBackend;pub use traits::TemporalIndexAccess;pub use traits::TemporalSearch;pub use traits::TrajectoryAccess;pub use traits::VectorSpace;pub use types::ChangePoint;pub use types::CpdMethod;pub use types::DeltaEntry;pub use types::DenseVector;pub use types::EntityTimeline;pub use types::MetadataFilter;pub use types::MetadataPredicate;pub use types::ScoredResult;pub use types::TemporalFilter;pub use types::TemporalPoint;