diff options
| author | mat <github@matdoes.dev> | 2022-08-30 21:42:40 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-08-30 21:42:40 -0500 |
| commit | 0085f8a565563ecb6a9f4f87be8b336157aa1e55 (patch) | |
| tree | 4007e0dc98a4c3ad71656724c0263dfeccc76035 | |
| parent | a6c5017e387954342a65358347cf89deead68944 (diff) | |
| download | azalea-drasl-0085f8a565563ecb6a9f4f87be8b336157aa1e55.tar.xz | |
make some stuff publishable on crates.io
| -rwxr-xr-x | Cargo.lock | 20 | ||||
| -rwxr-xr-x | azalea-auth/Cargo.toml | 6 | ||||
| -rw-r--r-- | azalea-auth/README.md | 3 | ||||
| -rw-r--r-- | azalea-block/Cargo.toml | 4 | ||||
| -rw-r--r-- | azalea-block/azalea-block-macros/Cargo.toml (renamed from azalea-block/block-macros/Cargo.toml) | 4 | ||||
| -rw-r--r-- | azalea-block/azalea-block-macros/src/lib.rs (renamed from azalea-block/block-macros/src/lib.rs) | 0 | ||||
| -rw-r--r-- | azalea-block/azalea-block-macros/src/utils.rs (renamed from azalea-block/block-macros/src/utils.rs) | 0 | ||||
| -rw-r--r-- | azalea-block/src/blocks.rs | 2 | ||||
| -rw-r--r-- | azalea-buf/Cargo.toml | 4 | ||||
| -rwxr-xr-x | azalea-chat/Cargo.toml | 8 | ||||
| -rwxr-xr-x | azalea-core/Cargo.toml | 8 | ||||
| -rw-r--r-- | azalea-language/Cargo.toml | 2 | ||||
| -rwxr-xr-x | azalea-nbt/Cargo.toml | 10 |
13 files changed, 45 insertions, 26 deletions
@@ -101,7 +101,16 @@ dependencies = [ name = "azalea-block" version = "0.1.0" dependencies = [ - "block-macros", + "azalea-block-macros", +] + +[[package]] +name = "azalea-block-macros" +version = "0.1.0" +dependencies = [ + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -278,15 +287,6 @@ dependencies = [ ] [[package]] -name = "block-macros" -version = "0.1.0" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] name = "bot" version = "0.1.0" dependencies = [ diff --git a/azalea-auth/Cargo.toml b/azalea-auth/Cargo.toml index 1bef8c57..2f817354 100755 --- a/azalea-auth/Cargo.toml +++ b/azalea-auth/Cargo.toml @@ -1,10 +1,12 @@ [package] +description = "A port of Mojang's Authlib, except authentication isn't actually implemented yet." edition = "2021" +license = "MIT" name = "azalea-auth" version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -azalea-buf = {path = "../azalea-buf"} -uuid = "1.1.2" +azalea-buf = {path = "../azalea-buf", version = "^0.1.0"} +uuid = "^1.1.2" diff --git a/azalea-auth/README.md b/azalea-auth/README.md new file mode 100644 index 00000000..fa87afca --- /dev/null +++ b/azalea-auth/README.md @@ -0,0 +1,3 @@ +# Azalea Auth + +A port of Mojang's Authlib, except authentication isn't actually implemented yet. diff --git a/azalea-block/Cargo.toml b/azalea-block/Cargo.toml index edeba385..e23eea4d 100644 --- a/azalea-block/Cargo.toml +++ b/azalea-block/Cargo.toml @@ -1,5 +1,7 @@ [package] +description = "Representation of Minecraft block states." edition = "2021" +license = "MIT" name = "azalea-block" version = "0.1.0" @@ -8,4 +10,4 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -block-macros = {path = "./block-macros"} +azalea-block-macros = {path = "./azalea-block-macros", version = "^0.1.0"} diff --git a/azalea-block/block-macros/Cargo.toml b/azalea-block/azalea-block-macros/Cargo.toml index 03b19e1d..ecac98d2 100644 --- a/azalea-block/block-macros/Cargo.toml +++ b/azalea-block/azalea-block-macros/Cargo.toml @@ -1,6 +1,8 @@ [package] +description = "Proc macros used by azalea-block." edition = "2021" -name = "block-macros" +license = "MIT" +name = "azalea-block-macros" version = "0.1.0" [lib] diff --git a/azalea-block/block-macros/src/lib.rs b/azalea-block/azalea-block-macros/src/lib.rs index ac61912f..ac61912f 100644 --- a/azalea-block/block-macros/src/lib.rs +++ b/azalea-block/azalea-block-macros/src/lib.rs diff --git a/azalea-block/block-macros/src/utils.rs b/azalea-block/azalea-block-macros/src/utils.rs index 82095d86..82095d86 100644 --- a/azalea-block/block-macros/src/utils.rs +++ b/azalea-block/azalea-block-macros/src/utils.rs diff --git a/azalea-block/src/blocks.rs b/azalea-block/src/blocks.rs index 05973797..f9130f30 100644 --- a/azalea-block/src/blocks.rs +++ b/azalea-block/src/blocks.rs @@ -1,5 +1,5 @@ use crate::BlockBehavior; -use block_macros::make_block_states; +use azalea_block_macros::make_block_states; pub trait Block { fn behavior(&self) -> BlockBehavior; diff --git a/azalea-buf/Cargo.toml b/azalea-buf/Cargo.toml index 51b9c2fe..6f21e697 100644 --- a/azalea-buf/Cargo.toml +++ b/azalea-buf/Cargo.toml @@ -1,12 +1,14 @@ [package] +description = "Serialize and deserialize buffers from Minecraft." edition = "2021" +license = "MIT" name = "azalea-buf" version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -azalea-buf-macros = {path = "./azalea-buf-macros", version = "0.1.0"} +azalea-buf-macros = {path = "./azalea-buf-macros", version = "^0.1.0"} byteorder = "^1.4.3" serde_json = {version = "^1.0", optional = true} thiserror = "^1.0.31" diff --git a/azalea-chat/Cargo.toml b/azalea-chat/Cargo.toml index 2da86829..9894b49d 100755 --- a/azalea-chat/Cargo.toml +++ b/azalea-chat/Cargo.toml @@ -1,13 +1,15 @@ [package] +description = "Parse Minecraft chat messages." edition = "2021" +license = "MIT" name = "azalea-chat" version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -azalea-buf = {path = "../azalea-buf", features = ["serde_json"]} -azalea-language = {path = "../azalea-language"} -lazy_static = "1.4.0" +azalea-buf = {path = "../azalea-buf", features = ["serde_json"], version = "^0.1.0"} +azalea-language = {path = "../azalea-language", version = "^0.1.0"} +lazy_static = "^1.4.0" serde = "^1.0.130" serde_json = "^1.0.72" diff --git a/azalea-core/Cargo.toml b/azalea-core/Cargo.toml index 470bc998..52669af5 100755 --- a/azalea-core/Cargo.toml +++ b/azalea-core/Cargo.toml @@ -1,12 +1,14 @@ [package] +description = "Miscellaneous things in Azalea." edition = "2021" +license = "MIT" name = "azalea-core" version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -azalea-buf = {path = "../azalea-buf"} -azalea-chat = {path = "../azalea-chat"} -azalea-nbt = {path = "../azalea-nbt"} +azalea-buf = {path = "../azalea-buf", version = "^0.1.0"} +azalea-chat = {path = "../azalea-chat", version = "^0.1.0"} +azalea-nbt = {path = "../azalea-nbt", version = "^0.1.0"} uuid = "^1.1.2" diff --git a/azalea-language/Cargo.toml b/azalea-language/Cargo.toml index dea9aa27..ac190311 100644 --- a/azalea-language/Cargo.toml +++ b/azalea-language/Cargo.toml @@ -1,5 +1,7 @@ [package] +description = "Translate Minecraft strings from their id." edition = "2021" +license = "MIT" name = "azalea-language" version = "0.1.0" diff --git a/azalea-nbt/Cargo.toml b/azalea-nbt/Cargo.toml index 4a03880c..2179c11d 100755 --- a/azalea-nbt/Cargo.toml +++ b/azalea-nbt/Cargo.toml @@ -1,15 +1,17 @@ [package] +description = "A fast NBT serializer and deserializer." edition = "2021" +license = "MIT" name = "azalea-nbt" version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ahash = "0.8.0" -azalea-buf = {path = "../azalea-buf"} -byteorder = "1.4.3" -flate2 = "1.0.23" +ahash = "^0.8.0" +azalea-buf = {path = "../azalea-buf", version = "^0.1.0"} +byteorder = "^1.4.3" +flate2 = "^1.0.23" num-derive = "^0.3.3" num-traits = "^0.2.14" |
