devwckd / rust-craft

A collection of crates to make minecraft development (client, server) with rust possible.
MIT License
18 stars 0 forks source link
minecraft minecraft-packet-parser minecraft-protocol rust rust-lang

rust-craft

rust-craft is a collection of crates to make minecraft development (client, server) with rust possible.

Motivation

There's no better way of learning proc-macros and feature-flags by implementing them for a game you like (and also learning more about its packets on the way).

Crates

Name Description
protocol-core Packet related abstraction traits and implementations for common types
protocol-derive Proc-macros responsible for implementing Readable, Writeable and Packet traits for structs automatically via #[derive(Packet, Readable, Writeable)]
protocol-packets Packet structs and documentation

Examples

Examples can be found on the folder /examples, more examples will come when possible.

Desired Features

Not in order.

Inspiration

License

This project is licensed under the MIT license.

Contributions

PRs are welcome :D