|
e346d3500a
|
Run reformat code
|
2022-08-04 18:53:49 +02:00 |
|
|
d2b8eb4398
|
Refactor data loading
|
2022-08-04 18:49:59 +02:00 |
|
|
dc3203388f
|
Make 'static lifetime implicit on TEST_DATA
|
2022-08-04 10:37:34 +02:00 |
|
|
d6dc2055e7
|
Create search module
|
2022-08-04 10:36:52 +02:00 |
|
|
fa49916767
|
Configure features for optional dependencies
|
2022-08-04 10:33:17 +02:00 |
|
|
15d02c00ba
|
Improve crate metadata
|
2022-08-04 10:22:52 +02:00 |
|
|
f34c7f152e
|
Create the load module, plus various fixes detected in tests
|
2022-08-04 10:16:30 +02:00 |
|
|
1ea725de02
|
Improve more docs
TODO: Fix super:: things
|
2022-08-03 16:30:15 +00:00 |
|
|
a7e0c8f1c5
|
Improve docs
|
2022-08-03 16:21:05 +00:00 |
|
|
6febd98f2a
|
Let's make this a lib instead of an app
|
2022-08-03 15:52:22 +00:00 |
|
|
d8bead0598
|
Fix all tests
|
2022-08-03 15:41:50 +00:00 |
|
|
5836d653a7
|
Start more or less clean
|
2022-08-03 15:13:44 +00:00 |
|
|
982b70cd71
|
Move the schema module outside data
|
2022-08-03 12:21:22 +02:00 |
|
|
881e2796a5
|
Finish up the schema module
|
2022-08-03 02:56:59 +02:00 |
|
|
83803be3e8
|
Write tests and fix things here and there
|
2022-08-02 15:45:09 +02:00 |
|
|
1135f5b09c
|
Rewrite the whole card schema in a better way
|
2022-08-02 14:13:31 +02:00 |
|
|
bbd01ffdc2
|
Wait no non_exaustive was correct there
|
2022-08-02 10:44:14 +02:00 |
|
|
4ea1dbc7d6
|
Make CardRarity exaustive
|
2022-08-02 10:43:06 +02:00 |
|
|
0c86a7f07c
|
Make CardType exaustive
|
2022-08-02 10:41:32 +02:00 |
|
|
a67856e668
|
Remove more localized things
|
2022-08-02 10:40:05 +02:00 |
|
|
6697e45143
|
Make docstring in CardRegion singular
|
2022-08-02 10:37:16 +02:00 |
|
|
01cbe169fd
|
Remove the external /data folder
|
2022-08-02 10:36:43 +02:00 |
|
|
cc4b548b4a
|
Improve CardRegion with comments and a other variant
|
2022-08-02 10:36:26 +02:00 |
|
|
6f79c08662
|
Rename card_code into code
|
2022-08-02 10:26:31 +02:00 |
|
|
33f7cf02db
|
Make attack , cost , and health into u64 s
|
2022-08-02 10:22:14 +02:00 |
|
|
7597e073bd
|
Refactor region_refs so that only the CardRegion enum is kept
|
2022-08-02 10:20:40 +02:00 |
|
|
4a8a5e36bb
|
Rename associated_card_refs to associated_card_codes
|
2022-08-02 10:12:55 +02:00 |
|
|
0f25aaebc4
|
Refactor associated_cards so that only codes are kept
|
2022-08-02 10:07:50 +02:00 |
|
|
1e7230994a
|
Get the bot to working shape, even if with a few bugs
|
2022-08-01 04:22:05 +02:00 |
|
|
b14f85022b
|
Keep building the skeleton of the bot
|
2022-08-01 00:49:44 +02:00 |
|
|
6810e1acc7
|
Continue building the skeleton of the bot
|
2022-07-31 20:32:58 +02:00 |
|
|
e17c2b446f
|
Miscellaneous data::load improvements
|
2022-07-31 13:08:38 +02:00 |
|
|
782c3259a8
|
Correct data::schema with data from globals.json
|
2022-07-31 12:51:09 +02:00 |
|
|
fe701c6aed
|
Mark /data as resources root
Does that actually do something?
|
2022-07-31 12:40:51 +02:00 |
|
|
04bf76f3d3
|
Add tantivy dependency
|
2022-07-31 12:39:47 +02:00 |
|
|
db09f3c0cf
|
Improve docstring of load_files
|
2022-07-31 12:36:51 +02:00 |
|
|
2e9e63ed9f
|
Create functions to load data files into a single Vec
|
2022-07-31 10:22:34 +02:00 |
|
|
72e75a795f
|
Use String instead of a char array for card_code
|
2022-07-31 10:21:54 +02:00 |
|
|
6ce4ba12b1
|
Add glob dependency
|
2022-07-31 09:13:34 +02:00 |
|
|
068f79e2e4
|
Make data::schema pub
|
2022-07-31 08:47:22 +02:00 |
|
|
d33d777b86
|
Make everything in data::schema pub
|
2022-07-31 08:47:01 +02:00 |
|
|
2c2a7ffc07
|
Create inline bot skeleton
|
2022-07-31 08:41:42 +02:00 |
|
|
47de75f702
|
Add log and pretty_env_logger dependencies
|
2022-07-31 08:31:13 +02:00 |
|
|
e25a641f08
|
Add tokio dependency
|
2022-07-31 08:29:34 +02:00 |
|
|
aa8564eab6
|
Define the Data Dragon card schema
|
2022-07-31 08:24:39 +02:00 |
|
|
8e112e50d1
|
Add serde and serde_json dependencies
|
2022-07-31 07:18:09 +02:00 |
|
|
a417787651
|
Ignore the /data directory
It contains the [Data Dragon](https://developer.riotgames.com/docs/lor) files.
|
2022-07-31 07:15:27 +02:00 |
|
|
f37096cba6
|
Run cargo init
|
2022-07-31 07:12:50 +02:00 |
|
|
dcb3cdc212
|
Create IntelliJ Rust project
|
2022-07-31 07:12:40 +02:00 |
|
|
b260420334
|
Initial commit
|
2022-07-31 07:11:05 +02:00 |
|