bitcache-core 0.0.1

Bitcache is a distributed content-addressable storage (CAS) system.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// This is free and unencumbered software released into the public domain.

/// A string encoding for [`Id`](crate::Id) values.
#[derive(Clone, Copy, Debug, Default)]
#[cfg_attr(feature = "clap", derive(clap::ValueEnum))]
pub enum IdEncoding {
    /// Hexadecimal (aka Base16)
    #[default]
    Hex,

    /// Base58
    #[cfg(feature = "base58")]
    Base58,
}