wick-config 0.28.0

Wick manifest configuration format.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::collections::HashMap;
use std::path::PathBuf;

/// The set of validated privileges and permissions for a component.
#[derive(Debug, Default, Clone, derive_builder::Builder, property::Property, PartialEq)]
#[property(get(public), set(public), mut(public, suffix = "_mut"))]
#[builder(setter(into))]

pub struct Permissions {
  /// A map of directories (TO -> FROM) to expose to the component.
  #[builder(default)]
  pub(crate) dirs: HashMap<String, PathBuf>,
}