1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

make some stuff publishable on crates.io

This commit is contained in:
mat 2022-08-30 21:42:40 -05:00
parent a6c5017e38
commit 0085f8a565
13 changed files with 45 additions and 26 deletions

20
Cargo.lock generated
View file

@ -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]]
@ -277,15 +286,6 @@ dependencies = [
"generic-array",
]
[[package]]
name = "block-macros"
version = "0.1.0"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "bot"
version = "0.1.0"

View file

@ -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"

3
azalea-auth/README.md Normal file
View file

@ -0,0 +1,3 @@
# Azalea Auth
A port of Mojang's Authlib, except authentication isn't actually implemented yet.

View file

@ -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"}

View file

@ -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]

View file

@ -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;

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -1,5 +1,7 @@
[package]
description = "Translate Minecraft strings from their id."
edition = "2021"
license = "MIT"
name = "azalea-language"
version = "0.1.0"

View file

@ -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"