Sebastian Moser
40d10ae826
...
2023-01-08 00:01:06 +01:00
Sebastian Moser
04076ce8da
removed the need for the folder field in the mize.toml files.
2023-01-06 06:46:55 +01:00
Sebastian Moser
f27c80d127
switched to axum as the web-framework, and got module and render loading
...
from the mize folder working.
2023-01-06 03:30:11 +01:00
Sebastian Moser
3cae3664c3
major server rewrite now all working
2023-01-05 11:19:43 +01:00
Sebastian Moser
134318c13b
some error handling
2022-11-04 11:16:03 +01:00
Sebastian Moser
626f9eda58
_commit was not incremented when updating. forgott an .await. typicall
2022-11-02 20:12:18 +01:00
Sebastian Moser
e4ce4cfc37
handling a create message now uses the Message Struct
2022-11-01 23:26:12 +01:00
Sebastian Moser
2a0a4867f9
update on the server works now
2022-10-24 22:29:38 +02:00
Sebastian Moser
202f493eba
added apply_update function
2022-10-23 22:56:58 +02:00
Sebastian Moser
4c566c6622
handling of update_request message implemented, but not tested
2022-10-14 12:47:37 +02:00
Sebastian Moser
b37250ce43
creating new items now works
2022-10-13 19:10:07 +02:00
Sebastian Moser
f18667b5b3
fixed some weired panic when accessing an element of a vec in an async
...
function.
- also cargo update
2022-10-09 12:55:14 +02:00
Sebastian Moser
0d81d6d4f6
added get cmd to handle_mize_message function
...
- and _commit field, that automatically imcrements
2022-10-05 14:58:04 +02:00
Sebastian Moser
e9d93442df
Changed all functions in itemstore to use Vec<u8> instead of String
...
- so that keys/values can be binary files (with invalid utf-8)
- compiler says it works, but not tested at all
2022-09-27 07:21:55 +02:00
Sebastian Moser
15f63c1195
implemented function to delete items
2022-09-23 15:33:03 +02:00
Sebastian Moser
ad20ddb580
Have everything in one binary again.
2022-09-23 15:25:58 +02:00
Sebastian Moser
ccb53f8abb
Function to get an item implemented
2022-09-21 12:31:17 +02:00
Sebastian Moser
5630e7ec8e
Implemented function to update an item
2022-09-21 08:14:53 +02:00
Sebastian Moser
ec990fd370
Added Function to create an Item
2022-09-20 23:53:13 +02:00
Sebastian Moser
87ebad4bce
started with using surealdb
2022-09-18 21:02:42 +02:00
Sebastian Moser
2f6ce1d5aa
started with using rocksdb to store the data.
...
- debug binary is no 274MB.... lol
- added encoding and decoding function
2022-09-14 23:08:43 +02:00
Sebastian Moser
a92cd8c22c
Aparently I haven't commited all those changes. I really should/want to do a lot
...
more and smaller commits.
2022-09-12 08:44:20 +02:00
Sebastian Moser
aac4700243
Finished the argument parsing in the main function.
2022-08-02 23:50:13 +02:00
Sebastian Moser
69ad8ec683
OK, forgot to add Cargo.lock and src/server.rs to the previous commit.
2022-08-01 17:37:52 +02:00
Sebastian Moser
c1a536b96d
Commit so i can redownload it bcs I am changing the name of the repo to
...
mize-server
- also changed cargo package name to mize-server
- Cargo.lock added bcs I ran it the first time
- some (unfinished) cli argument logik added in src/main.rs and src/server.rs
2022-08-01 17:34:26 +02:00
Sebastian Moser
2131c7a4be
Create a new cargo crate.
2022-07-22 15:48:29 +02:00