diff --git a/Cargo.toml b/Cargo.toml index 749708dcd..e8aaad0b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "valence" -version = "0.1.0" +version = "0.1.0+mc1.19.2" edition = "2021" description = "A framework for building Minecraft servers in Rust." repository = "https://github.com/rj00a/valence" +readme = "README.md" license = "MIT" +keywords = ["minecraft", "gamedev", "server"] +categories = ["game-engines"] build = "build/main.rs" +authors = ["Ryan Johnson "] [dependencies] aes = "0.7" @@ -32,12 +36,12 @@ rsa = "0.6" rsa-der = "0.3" serde = { version = "1", features = ["derive"] } serde_json = "1" +serde_nbt = "0.1.0" sha1 = "0.10" sha2 = "0.10" thiserror = "1" url = { version = "2.2.2", features = ["serde"] } uuid = "1" -serde_nbt = { path = "serde_nbt" } vek = "0.15" [dependencies.tokio] @@ -64,8 +68,5 @@ serde_json = "1" rayon = "1" num = "0.4" -[features] -protocol = [] - [workspace] members = ["serde_nbt", "packet_inspector"] diff --git a/packet_inspector/Cargo.toml b/packet_inspector/Cargo.toml index 5f2bdc7c3..48f1b8ad5 100644 --- a/packet_inspector/Cargo.toml +++ b/packet_inspector/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" description = "A simple Minecraft proxy for inspecting packets." [dependencies] -valence = { path = "..", features = ["protocol"] } +valence = { path = ".." } clap = { version = "3.2.8", features = ["derive"] } tokio = { version = "1", features = ["full"] } anyhow = "1" diff --git a/src/lib.rs b/src/lib.rs index 8a96c6f4a..5e2412355 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,7 @@ +//! +//! +//! --- +//! //! A Rust framework for building Minecraft servers. //! //! At a high level, a Valence [`Server`] is a collection of [`Clients`], @@ -57,6 +61,11 @@ //! [`Entity`]: crate::entity::Entity //! [`Client`]: crate::client::Client +#![doc( + html_logo_url = "https://raw.githubusercontent.com/rj00a/valence/main/assets/logo.svg", + html_favicon_url = "https://raw.githubusercontent.com/rj00a/valence/main/assets/logo.svg" +)] + #![forbid(unsafe_code)] #![warn( trivial_casts,