aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 445a370d29b2a0a6b31b1b9baea928bab1ff804c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#![cfg_attr(feature = "bench", feature(test))]
#![cfg_attr(feature = "gat", feature(generic_associated_types))]
#![cfg_attr(not(feature = "std"), no_std)]

extern crate alloc;

#[cfg(all(test, feature = "std", feature = "bench"))]
extern crate test;

pub mod byte_order;
mod chat;
mod deserialize;
pub mod nbt;
pub mod protocol;
mod serialize;
pub mod status;
pub mod types;
pub mod utils;
pub mod uuid;

#[cfg(feature = "v1_15_2")]
pub mod v1_15_2;
#[cfg(feature = "v1_16_3")]
pub mod v1_16_3;
#[cfg(feature = "v1_17_0")]
pub mod v1_17_0;
#[cfg(feature = "v1_17_1")]
pub mod v1_17_1;
#[cfg(feature = "v1_19")]
pub mod v1_19;
#[cfg(feature = "v1_19_3")]
pub mod v1_19_3;

pub use deserialize::*;
pub use serialize::*;

#[cfg(all(test, feature = "std"))]
mod test_macros;