1#![cfg_attr(not(feature = "cli"), no_std)]
2extern crate alloc;
3
4#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Hash)]
5pub struct Version<'a> {
6 pub pkg: &'a str,
7 pub rev: &'a str,
8}
9pub const VERSION: Version = Version {
10 pkg: env!("CARGO_PKG_VERSION"),
11 rev: env!("GIT_REVISION"),
12};
13
14mod convert;
15mod crc;
16pub mod ed25519;
17mod error;
18mod strkey;
19mod typ;
20mod version;
21
22pub use error::*;
23pub use strkey::*;
24
25#[cfg(feature = "serde-decoded")]
26pub mod decoded_json_format;
27#[cfg(feature = "serde-decoded")]
28pub use decoded_json_format::Decoded;
29
30#[cfg(feature = "cli")]
31pub mod cli;