proto_core 0.56.2

Core proto APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::merge_iter;
use crate::id::Id;
use rustc_hash::FxHashMap;
use schematic::Config;
use serde::Serialize;

// `[shell]`
#[derive(Clone, Config, Debug, Serialize)]
#[serde(rename_all = "kebab-case")]
pub struct ProtoShellConfig {
    #[serde(skip_serializing_if = "FxHashMap::is_empty")]
    #[setting(merge = merge_iter)]
    pub aliases: FxHashMap<Id, String>,
}