fj_host/lib.rs
1//! # Fornjot Model Host
2//!
3//! This library is part of the [Fornjot] ecosystem. Fornjot is an open-source,
4//! code-first CAD application; and collection of libraries that make up the CAD
5//! application, but can be used independently.
6//!
7//! This library is an internal component of Fornjot. It is not relevant to end
8//! users that just want to create CAD models.
9//!
10//! The purpose of this library is to load Fornjot models and watch them for
11//! changes. Fornjot models are basically plugins that can be loaded into a CAD
12//! application. This library is the host for these model plugins.
13//!
14//! [Fornjot]: https://www.fornjot.app/
15
16#![warn(missing_docs)]
17
18mod host;
19mod host_thread;
20mod model;
21mod parameters;
22mod platform;
23mod watcher;
24
25pub(crate) use self::host_thread::{EventLoopClosed, HostThread};
26
27pub use self::{
28 host::{Host, HostCommand},
29 host_thread::ModelEvent,
30 model::{Error, Evaluation, Model},
31 parameters::Parameters,
32 watcher::Watcher,
33};