rune/workspace/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//! Types for dealing with workspaces of rune code.

/// The name of the toplevel manifest `Rune.toml`.
pub const MANIFEST_FILE: &str = "Rune.toml";

mod glob;

mod spanned_value;

mod build;
pub use self::build::{prepare, Build, BuildError};

#[cfg(feature = "emit")]
#[cfg_attr(rune_docsrs, doc(cfg(feature = "emit")))]
mod emit;
#[cfg(feature = "emit")]
#[cfg_attr(rune_docsrs, doc(cfg(feature = "emit")))]
#[doc(inline)]
pub use self::emit::EmitError;

mod error;
pub use self::error::WorkspaceError;
pub(crate) use self::error::WorkspaceErrorKind;

mod manifest;
pub use self::manifest::{Found, FoundKind, FoundPackage, Manifest, Package, WorkspaceFilter};

mod diagnostics;
pub use self::diagnostics::{Diagnostic, Diagnostics, FatalDiagnostic};

mod source_loader;
pub use self::source_loader::{FileSourceLoader, SourceLoader};