spin_serde/
lib.rs

1//! Serde serialization helpers
2
3#![deny(missing_docs)]
4
5pub mod base64;
6pub mod dependencies;
7pub mod id;
8mod version;
9
10pub use version::{FixedStringVersion, FixedVersion, FixedVersionBackwardCompatible};
11
12pub use dependencies::{DependencyName, DependencyPackageName};
13
14/// A "kebab-case" identifier.
15pub type KebabId = id::Id<'-', false>;
16
17/// A "snake_case" identifier.
18pub type SnakeId = id::Id<'_', false>;
19
20/// A lower-case "snake_case" identifier.
21pub type LowerSnakeId = id::Id<'_', true>;