mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
make some stuff publishable on crates.io
This commit is contained in:
parent
a6c5017e38
commit
0085f8a565
13 changed files with 45 additions and 26 deletions
20
Cargo.lock
generated
20
Cargo.lock
generated
|
@ -101,7 +101,16 @@ dependencies = [
|
||||||
name = "azalea-block"
|
name = "azalea-block"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"block-macros",
|
"azalea-block-macros",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "azalea-block-macros"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -277,15 +286,6 @@ dependencies = [
|
||||||
"generic-array",
|
"generic-array",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "block-macros"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bot"
|
name = "bot"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
|
description = "A port of Mojang's Authlib, except authentication isn't actually implemented yet."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
name = "azalea-auth"
|
name = "azalea-auth"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf = {path = "../azalea-buf"}
|
azalea-buf = {path = "../azalea-buf", version = "^0.1.0"}
|
||||||
uuid = "1.1.2"
|
uuid = "^1.1.2"
|
||||||
|
|
3
azalea-auth/README.md
Normal file
3
azalea-auth/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Azalea Auth
|
||||||
|
|
||||||
|
A port of Mojang's Authlib, except authentication isn't actually implemented yet.
|
|
@ -1,5 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
|
description = "Representation of Minecraft block states."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
name = "azalea-block"
|
name = "azalea-block"
|
||||||
version = "0.1.0"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
block-macros = {path = "./block-macros"}
|
azalea-block-macros = {path = "./azalea-block-macros", version = "^0.1.0"}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
|
description = "Proc macros used by azalea-block."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
name = "block-macros"
|
license = "MIT"
|
||||||
|
name = "azalea-block-macros"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
|
@ -1,5 +1,5 @@
|
||||||
use crate::BlockBehavior;
|
use crate::BlockBehavior;
|
||||||
use block_macros::make_block_states;
|
use azalea_block_macros::make_block_states;
|
||||||
|
|
||||||
pub trait Block {
|
pub trait Block {
|
||||||
fn behavior(&self) -> BlockBehavior;
|
fn behavior(&self) -> BlockBehavior;
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
[package]
|
[package]
|
||||||
|
description = "Serialize and deserialize buffers from Minecraft."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
name = "azalea-buf"
|
name = "azalea-buf"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
[dependencies]
|
[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"
|
byteorder = "^1.4.3"
|
||||||
serde_json = {version = "^1.0", optional = true}
|
serde_json = {version = "^1.0", optional = true}
|
||||||
thiserror = "^1.0.31"
|
thiserror = "^1.0.31"
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
|
description = "Parse Minecraft chat messages."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
name = "azalea-chat"
|
name = "azalea-chat"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf = {path = "../azalea-buf", features = ["serde_json"]}
|
azalea-buf = {path = "../azalea-buf", features = ["serde_json"], version = "^0.1.0"}
|
||||||
azalea-language = {path = "../azalea-language"}
|
azalea-language = {path = "../azalea-language", version = "^0.1.0"}
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "^1.4.0"
|
||||||
serde = "^1.0.130"
|
serde = "^1.0.130"
|
||||||
serde_json = "^1.0.72"
|
serde_json = "^1.0.72"
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
[package]
|
[package]
|
||||||
|
description = "Miscellaneous things in Azalea."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
name = "azalea-core"
|
name = "azalea-core"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf = {path = "../azalea-buf"}
|
azalea-buf = {path = "../azalea-buf", version = "^0.1.0"}
|
||||||
azalea-chat = {path = "../azalea-chat"}
|
azalea-chat = {path = "../azalea-chat", version = "^0.1.0"}
|
||||||
azalea-nbt = {path = "../azalea-nbt"}
|
azalea-nbt = {path = "../azalea-nbt", version = "^0.1.0"}
|
||||||
uuid = "^1.1.2"
|
uuid = "^1.1.2"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
|
description = "Translate Minecraft strings from their id."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
name = "azalea-language"
|
name = "azalea-language"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
[package]
|
[package]
|
||||||
|
description = "A fast NBT serializer and deserializer."
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
name = "azalea-nbt"
|
name = "azalea-nbt"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ahash = "0.8.0"
|
ahash = "^0.8.0"
|
||||||
azalea-buf = {path = "../azalea-buf"}
|
azalea-buf = {path = "../azalea-buf", version = "^0.1.0"}
|
||||||
byteorder = "1.4.3"
|
byteorder = "^1.4.3"
|
||||||
flate2 = "1.0.23"
|
flate2 = "^1.0.23"
|
||||||
num-derive = "^0.3.3"
|
num-derive = "^0.3.3"
|
||||||
num-traits = "^0.2.14"
|
num-traits = "^0.2.14"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue