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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Names that parse on construction: pack, tool, item, option, binary and environment names.
//!
//! A held name is always valid, so no other module re-checks the naming rules.
//!
//! # Responsibilities
//!
//! - [`PackName`], [`ToolName`], [`ItemName`]: `kebab-case` names of packs, tools and pack items.
//! - [`OptionName`]: a `snake_case` pack option name.
//! - [`BinaryName`]: the name of a binary a pack requires or a hook may run.
//! - [`EnvName`]: an environment variable name a hook may read.
//! - [`InvalidName`], [`InvalidEnvName`], [`InvalidOptionName`]: the refusal each constructor
//! returns, holding the refused value.
//!
//! # Non-responsibilities
//!
//! Whether a named pack, item or option exists belongs to the checks over a whole pack.
//!
//! This file is an export-only module with no executable logic, so it carries no inline tests.
pub use BinaryName;
pub use EnvName;
pub use InvalidEnvName;
pub use InvalidName;
pub use InvalidOptionName;
pub use ItemName;
pub use OptionName;
pub use PackName;
pub use ToolName;