rhai_fs/
lib.rs

1#![warn(missing_docs)]
2#![warn(clippy::missing_docs_in_private_items)]
3#![deny(rustdoc::broken_intra_doc_links)]
4#![doc = include_str!("../README.md")]
5//!
6//! ## API
7//!
8//! The following functions are defined in this package:
9//!
10#![doc = include_str!(concat!(env!("OUT_DIR"), "/rhai-fs-docs.md"))]
11#![doc = include_str!("../docs/highlight.html")]
12
13use rhai::def_package;
14use rhai::plugin::*;
15
16pub(crate) mod dir;
17pub(crate) mod file;
18pub(crate) mod path;
19
20def_package! {
21    /// Package for filesystem manipulation operations.
22    pub FilesystemPackage(lib) {
23        combine_with_exported_module!(lib, "rhai_fs_path", path::path_functions);
24        combine_with_exported_module!(lib, "rhai_fs_file", file::file_functions);
25        combine_with_exported_module!(lib, "rhai_fs_dir", dir::dir_functions);
26    }
27}