加文档,加文档,还是加文档
This commit is contained in:
parent
e8e33b9878
commit
e85a9267b8
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "shen-nbt5"
|
name = "shen-nbt5"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Just A FASSST NBT parser/writer"
|
description = "Just A FASSST NBT parser/writer"
|
||||||
homepage = "https://github.com/shenjackyuanjie/nbt-rust"
|
homepage = "https://github.com/shenjackyuanjie/nbt-rust"
|
||||||
@ -8,7 +8,7 @@ repository = "https://github.com/shenjackyuanjie/nbt-rust"
|
|||||||
read = "README.md"
|
read = "README.md"
|
||||||
license-file = "../LICENSE"
|
license-file = "../LICENSE"
|
||||||
keywords = ["nbt", "minecraft", "parser", "writer", "fast"]
|
keywords = ["nbt", "minecraft", "parser", "writer", "fast"]
|
||||||
categories = ["game", "parsing", "serialization"]
|
categories = ["games", "parsing"]
|
||||||
authors = ["shenjackyuanjie <3695888@qq.com>", "InfyniteHeap"]
|
authors = ["shenjackyuanjie <3695888@qq.com>", "InfyniteHeap"]
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
@ -1,7 +1,23 @@
|
|||||||
|
//! shen-nbt5
|
||||||
|
//!
|
||||||
|
//! NBT 格式解析库 v5 by shenjack and InfyniteHeap
|
||||||
|
//!
|
||||||
|
//! 支持格式
|
||||||
|
//!
|
||||||
|
//! - Java 版 NBT
|
||||||
|
//!
|
||||||
|
//! - Java 1.20.2+(协议号 >= 764) 及以后 的网路传输 NBT 格式
|
||||||
|
//!
|
||||||
|
//! - 基岩版 实际用于存储的 NBT 格式
|
||||||
|
//!
|
||||||
|
//! - 基岩版 网络 NBT 格式
|
||||||
|
|
||||||
|
|
||||||
pub mod reader;
|
pub mod reader;
|
||||||
|
pub mod writer;
|
||||||
|
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
pub mod ser;
|
pub mod ser;
|
||||||
pub mod writer;
|
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
use serde;
|
use serde;
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
@ -12,8 +28,6 @@ use reader::NbtReader;
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
/// 后面也许会实现的
|
|
||||||
///
|
|
||||||
/// 不同版本的 Nbt 数据细节不同
|
/// 不同版本的 Nbt 数据细节不同
|
||||||
/// 老要命了
|
/// 老要命了
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user