turtle 1.0.0-rc.3

Learn the Rust language by creating animated drawings!
Documentation
//! This module swaps between renderer backends based on the current build configuration.
//!
//! * desktop (default) - separate renderer process
//! * test - no-op query handling
//! * wasm - JavaScript FFI
//!
//! You can think of this module as being the dispatcher for the different "rendering backends".

#[cfg(all(not(target_arch = "wasm32"), not(any(feature = "test", test))))]
mod desktop;
#[cfg(all(not(target_arch = "wasm32"), not(any(feature = "test", test))))]
pub use desktop::*;

#[cfg(all(target_arch = "wasm32", not(any(feature = "test", test))))]
mod wasm;
#[cfg(all(target_arch = "wasm32", not(any(feature = "test", test))))]
pub use wasm::*;

#[cfg(any(feature = "test", test))]
mod test;
#[cfg(any(feature = "test", test))]
pub use test::*;