Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::path::PathBuf;

use crate::sandbox::DirectoryMapping;

pub mod cache;
pub mod call;
pub mod compile;
pub mod configure;
pub mod epoch;

#[derive(Clone, Debug)]
pub struct ModuleConfig {
    pub cache: Option<PathBuf>,
    pub max_memory: usize,
    pub directory_mappings: Vec<DirectoryMapping>,
    pub env: Vec<(String, String)>,
    pub prelude: Option<String>,
}