Can read config files now

- Now reads config from `$XDG_CONFIG_HOME/.config/snake/snake.yaml`
- Added error enum from config and try to remove all usages of unwrap
- Bumped version to 0.2.3
This commit is contained in:
Uttarayan Mondal
2021-03-15 22:27:35 +05:30
parent 2a4c4889af
commit 3ddcb84265
6 changed files with 118 additions and 40 deletions
+3 -4
View File
@@ -1,6 +1,6 @@
[package]
name = "snake"
version = "0.2.2"
version = "0.2.3"
authors = ["Uttarayan Mondal <uttarayan21@gmail.com>"]
edition = "2018"
@@ -9,8 +9,7 @@ edition = "2018"
[dependencies]
ncurses = "5.100.0"
serde = { version = "1.0.121", features = ["derive"] }
# serde = "1.0.121"
# serde_derive = "1.0.121"
toml = "0.5.8"
serde_yaml = "0.8.17"
rand = "0.8.0"
dirs = "3.0.1"
derive-error = "0.0.5"