Commit Graph

70 Commits

Author SHA1 Message Date
212b2d3bf2 Fix reading of database-path option if given 2021-07-08 16:10:08 +02:00
76bacdca08 Remove some whitespace
We definitely need a rustfmt config at some point
2021-07-08 15:29:43 +02:00
891f61f046 Add option for generating default config 2021-07-08 12:55:48 +02:00
ef1c124395 Fix kebab-case naming in config 2021-07-08 12:54:42 +02:00
fc2ae6cf0a Add option for usage without config 2021-07-08 12:53:02 +02:00
7764c5021e Clean up Options 2021-07-08 12:49:56 +02:00
a1df49555f Insert all other SQL templates 2021-06-28 21:46:19 +00:00
c42fbebe09 Add sqlite template insertion for users.sql 2021-06-28 15:54:52 +00:00
d6aee960fa Wrap sqlite connection in an Arc and tokios RwLock 2021-06-28 13:50:28 +00:00
34778ae928 create emty method for Elias 2021-06-28 13:43:26 +00:00
96c6d14c46 Add sqlite connection call
And make main() async
2021-06-28 13:27:53 +00:00
caf9bd299a Edit for readability 2021-06-20 17:39:47 +00:00
e68fc11e43 Fix a type typo in SQL
whoops
2021-06-20 17:29:51 +00:00
99918f1bb9 Add method for preparing sqlite connection
This is not being used yet

Co-authored-by: Erik Foris
2021-06-15 14:49:21 +00:00
e62f3ee2dc Add config reading 2021-06-15 14:45:38 +00:00
ce83c99420 Change data types according to sqlx
Co-authored-by: Elias Schriefer
2021-06-14 14:33:57 +00:00
36cc3d4de6 Move template files to src folder 2021-06-14 14:04:14 +00:00
b04b61adbd Add config deserialization
Co-authored-by: Elias Schriefer
2021-06-08 13:57:04 +00:00
9b4246a078 Add structopt
Co-authored-by: Elias Schriefer
2021-06-08 13:18:56 +00:00
a3e8a2ca14 Initial commit 2021-04-06 19:42:24 +02:00