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