63 Commits

Author SHA1 Message Date
timvisee
4a4f2e2a1c
Bump named-binary-tag to 0.6 2021-11-12 15:08:48 +01:00
Tim Visée
31041b8fe2
The server status response sample field is optional (#18) 2021-11-09 22:06:51 +03:00
Tim Visée
f19f598abe
Add Handshake (#19)
Co-authored-by: mibac138 <5672750+mibac138@users.noreply.github.com>
2021-11-09 21:57:44 +03:00
Tim Visée
6a069edaff
Derive Copy/Clone on data types (#20) 2021-11-09 21:53:55 +03:00
vagola
09f95625ef
Add bitfield derive (#16) 2021-10-21 02:36:12 +03:00
vagola
05cf9c6e6b
Add VarInt discriminant type (#15) 2021-09-22 23:29:00 +03:00
vagola
024786e618
Add unit variant derive (#13) 2021-09-20 01:34:53 +03:00
vagola
22bdb26a9c
Add struct variant derive (#12) 2021-09-17 18:13:07 +03:00
vagola
70bfd01848
Refactor protocol derive module (#11) 2021-09-16 03:09:10 +03:00
Vladislavs Golubs
f733fabedc Fix tests 2021-09-12 19:43:40 +03:00
Vladislavs Golubs
b70968bd84 Fix travis link 2021-09-12 19:31:02 +03:00
Vladislavs Golubs
7b6b7e4921 Change project layout 2021-09-12 17:08:04 +03:00
vagola
b4a6f81e11
Merge pull request #10 from btg99/master
Depend directly on proc_macro2 for Span
2021-05-03 19:37:24 +03:00
Benjamin Givens
41c185fcb1 Depend directly on proc_macro2 for Span
The latest version of syn no longer exports the Span type in the
way protocol-derive expected. This means that new users will get
a compile error saying "could not find `export` in `syn`". By
depending on proc_macro2 for the definition of Span, this is
easily resolved.
2021-05-01 15:39:45 -04:00
Vladislav Golub
ff7edbb575
Merge pull request #8 from Cldfire/support-hex-color
[chat] Support text hex colors in 1.16
2020-06-22 15:07:12 +03:00
Jarek Samic
541aa3342e Custom Serialize / Deserialize impls for Color 2020-06-21 20:42:23 -04:00
Jarek Samic
51ceac1e2c [chat] Support text hex colors in 1.16 2020-06-19 20:00:07 -04:00
Vladislavs Golubs
c77fb449dc Take README from root 2020-04-15 04:06:49 +03:00
Vladislavs Golubs
cd5f4bfa5b Add info for publish 2020-04-15 04:01:52 +03:00
Vladislavs Golubs
898363306e Allow publish protocol derive 2020-04-15 04:00:27 +03:00
Vladislavs Golubs
e6a4cc6679 Add own varint/varlong support 2020-04-15 03:59:03 +03:00
Vladislav Golub
3e86e216c9
Merge pull request #6 from eihwaz/game-disconnect
Add game disconnect packet
2020-01-09 22:23:33 +03:00
Vladislav Golub
c71a3716ba Add README with badges 2020-01-09 22:23:18 +03:00
Vladislav Golub
dc3cf19ecb Add game disconnect packet 2020-01-09 22:17:09 +03:00
Vladislav Golub
908a52df73
Merge pull request #5 from eihwaz/derive
Proc macro to generate packet encoder and decoder
2020-01-04 12:49:25 +03:00
vagola
d7c35639c9 Validate string max length 2020-01-04 12:39:31 +03:00
vagola
0287fadb1e Replace with auto generation impl 2020-01-04 11:14:48 +03:00
vagola
73528233eb Add in proc macro decoder generation 2020-01-04 11:12:05 +03:00
vagola
61fff6fcf7 Add field custom encoder decoder support 2020-01-03 18:31:44 +03:00
vagola
0a0500239b Improve error handling 2020-01-03 18:02:08 +03:00
vagola
6d50407670 Add attributes parsing 2020-01-03 15:28:45 +03:00
vagola
a4b7f100a8 Add macros to impl concentrate enum and json 2020-01-02 15:25:22 +03:00
vagola
f43592c01f Save some progress towards derive macro 2020-01-02 04:52:46 +03:00
vagola
d384ed2814 Add chunk data packet test 2019-12-31 14:22:35 +03:00
vagola
4bb68bb22d Add tests for chat message, keep alive and join game 2019-12-31 04:07:45 +03:00
vagola
1d524405aa Fix test 2019-12-31 03:07:07 +03:00
vagola
1d61f198f2 Add tests for status packets 2019-12-31 00:45:32 +03:00
vagola
133ebf8888 Finished with tests for client bound login packets 2019-12-30 22:38:43 +03:00
vagola
1fca9c3666 Finished with tests for server bound login packets 2019-12-30 21:54:48 +03:00
vagola
f1a817d447 Rename trait packet to packet parser 2019-12-30 20:42:06 +03:00
vagola
9e1d934049 Fix derive macro 2019-12-30 15:21:54 +03:00
vagola
73c18de13c Add some login packet tests 2019-12-30 15:19:12 +03:00
vagola
d78175d685 WIP: procmacro for automatic packet generation 2019-12-30 03:16:38 +03:00
vagola
5c4721a2bc Add chunk data packet 2019-12-28 02:28:02 +03:00
vagola
8675361bef Add serverbound and clientbound keep alive packet 2019-12-28 00:04:01 +03:00
vagola
0838c3688d Add join game packet 2019-12-27 01:08:17 +03:00
vagola
61d3c950b3 Optimize imports 2019-12-26 23:37:38 +03:00
vagola
06eec06800 Add game chat messages 2019-12-26 23:35:19 +03:00
vagola
bc9e6a921f Reformat imports 2019-12-26 23:34:52 +03:00
Vladislav Golub
f07e068713 Add missing pub modifiers 2019-12-24 21:47:02 +03:00