mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-22 07:20:57 +01:00
44 lines
1.0 KiB
Rust
44 lines
1.0 KiB
Rust
#![forbid(unsafe_code)]
|
|
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
|
|
|
|
mod cache;
|
|
mod cache_key;
|
|
mod cooked;
|
|
mod graph_execution;
|
|
mod graph_instance;
|
|
mod graph_output;
|
|
mod input_fingerprint;
|
|
mod node_execution;
|
|
mod node_output;
|
|
mod node_result;
|
|
mod node_size;
|
|
mod options;
|
|
mod parameter;
|
|
mod port;
|
|
mod ports;
|
|
mod prepared_graph;
|
|
mod resource_decoder;
|
|
mod time;
|
|
mod value_execution;
|
|
mod value_input_label;
|
|
|
|
pub use cache::Cache;
|
|
pub use cooked::Cooked;
|
|
pub use graph_execution::cook;
|
|
pub use graph_output::{output_usage, outputs};
|
|
pub use node_execution::error_image;
|
|
pub use node_output::NodeOutput;
|
|
pub use node_result::NodeResult;
|
|
pub use node_size::node_size;
|
|
pub use options::Options;
|
|
pub use port::Port;
|
|
pub use ports::{identifier, instance_graph, ports, ports_with_connections};
|
|
pub use resource_decoder::ResourceDecoder;
|
|
pub use time::now_ms;
|
|
pub use value_input_label::value_input_label;
|
|
|
|
pub const MAX_DEPTH: u32 = 8;
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|