2940a737e0
Made the err-impl repository public. Workflow builds should now succeed.
2020-05-13 04:15:13 +01:00
8a87ab2bcc
Changed dependency err-impl to be a git dependency.
...
Re-enabled workflow for `clippy` and testing.
2020-05-13 04:03:04 +01:00
327c80df08
Removed clippy and test jobs, as they depend on local err-impl crate.
2020-05-13 03:28:13 +01:00
Zenithsiz
6ad7e49096
Added simple REAME.md for github
2020-05-13 03:24:27 +01:00
Zenithsiz
7c46cb5797
Added workflow for building and testing.
2020-05-13 03:23:06 +01:00
e02b410524
Added some more exports to the library.
...
Long item names are now imported in `Bytes`.
2020-05-13 03:15:53 +01:00
63d312e845
Added various rustfmt configurations.
...
Revised documentation of the library and lint opt-out reasons.
Moved some module documentation to it's own file due to overflowing the line limit.
Fixed several spelling errors.
2020-05-13 03:03:46 +01:00
968a89fc0b
Removed whitespace in lib.rs that caused cargo fmt to not work.
2020-05-13 01:11:14 +01:00
24b51f4051
Added exception to new lint due to a false positive.
2020-05-13 01:10:49 +01:00
ddfa0636af
Added a write_maybe_null_ascii_string to game::util.
...
Finished `Bytes` implementation for `game::deck::table::Table`.
2020-05-01 19:05:11 +01:00
a1c9867ccb
Added a read_maybe_null_ascii_string to game::util.
...
Added information to `Decks`.
All decks are now read with `game::deck::Table`.
2020-05-01 14:08:13 +01:00
8dffe82143
Replaced .chars().collect() with .to_ascii_string() for AsciiStr.
2020-05-01 12:20:30 +01:00
52b7312294
Added more errors to game::card::table.
...
Started work on `game::deck::table`.
2020-05-01 11:52:55 +01:00
280bdac119
All code is now formatted.
...
Started using `err_impl::Error` where possible.
2020-05-01 11:29:01 +01:00
c031d151a7
Removed EffectType card property.
2020-05-01 10:45:20 +01:00
28aece1323
Fixed some documentation.
...
Changed `Digivolve` to use `unknown_{location}` for unknown fields.
2020-05-01 09:55:01 +01:00
5d5548a54f
Refactored game::digivolve.
2020-05-01 07:57:22 +01:00
c10ea99f7c
Refactored game::item.
2020-05-01 07:45:02 +01:00
757fd2ed1e
Added a EffectType card property.
...
Improved card proprety macros.
2020-05-01 06:55:53 +01:00
2ae6711703
Added a Bytes implementation for EffectCondition and DigimonProperty.
2020-05-01 06:09:12 +01:00
ee7bcbea0f
Added back a Bytes implementation of Effect.
2020-05-01 05:48:40 +01:00
80e011dd82
Made game::util::read_null_ascii_string more generic.
...
Added some implementations of `Bytes` for `Option<...>` where relevant.
Started using `array_split` in `Move::from_bytes`.
2020-05-01 05:41:04 +01:00
596bf177d6
Finished Effect to_bytes implementation.
2020-04-30 05:59:33 +01:00
e52cc554ff
Updated names relating to support conditions / effects.
...
Added documentation to `EffectCondition`.
Changed `array_split` to behave like `array_split_mut`.
Instead of using `?` on `Result<T, !>` , we use `Result::into_ok`.
2020-04-26 08:54:40 +01:00
8b4b11113a
Refactored array_split(_mut) macro.
...
Now using `AsciiString` instead of `arrayvec::ArrayVec<[ascii::AsciiChar; _]>`.
2020-04-26 07:10:45 +01:00
f2c0218096
Added proper documentation to moves.rs, support_condition.rs and support_effect.rs
2020-04-23 04:00:36 +01:00
36b32bd568
Added rustfmt configuration for possibly the future.
2020-04-21 19:47:37 +01:00
888ace2017
Changed Bytes interface to provide more safety with arrays.
2020-04-21 19:13:05 +01:00
e426d229f9
Revised Digimon and most properties to the new interfaces.
2020-04-21 17:17:39 +01:00
5950ac8a06
Remove some indirections from Digimon.
...
Fixed docs in `digimon.rs`.
2020-04-21 15:35:48 +01:00
e943819853
Added bounds on the Bytes error types.
...
Started using `err-impl`, fork of `err-derive` that does not implement `Display` or `From`.
2020-04-20 21:56:35 +01:00
18e68dc0c6
Fixed documentation on digimon.rs.
2020-04-17 19:21:46 +01:00
269a98a517
Added some identity operations back now that lint identity_op is enabled.
2020-04-17 19:20:22 +01:00
28a481b552
Merged ToBytes, FromBytes into Bytes
2020-04-17 19:19:28 +01:00
f2ebaad3d8
Added various lints.
...
Removed `Structure` interface.
2020-04-12 18:29:23 +01:00
bfd4f4cf01
Brought files from previous implementation and adapted some to the new implementation.
2020-04-11 14:37:30 +01:00
25972c7881
Initial commit
2020-04-10 11:23:13 +01:00