dusk_bytes/lib.rs
1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4//
5// Copyright (c) DUSK NETWORK. All rights reserved.
6
7#![forbid(unsafe_code)]
8#![deny(missing_docs)]
9#![no_std]
10#![doc = include_str!("../README.md")]
11
12mod errors;
13mod parse;
14mod primitive;
15mod serialize;
16
17#[cfg(feature = "derive")]
18pub use derive_hex::{Hex, HexDebug};
19pub use errors::{BadLength, Error, InvalidChar};
20pub use parse::{ParseHexStr, hex};
21pub use serialize::{DeserializableSlice, Read, Serializable, Write};