aboutsummaryrefslogtreecommitdiff
path: root/src/db/backend.rs
diff options
context:
space:
mode:
authorMelody Horn / boringcactus <melody@boringcactus.com>2021-06-14 18:35:22 -0600
committerMelody Horn / boringcactus <melody@boringcactus.com>2021-06-14 18:35:22 -0600
commit6bcb3620d8be2f3bcfe72432d17955827894bb6e (patch)
treee2429d5791ab1cdb90dce7c76e9241e2c7405cd0 /src/db/backend.rs
parent19b851c71ee8c7499046936771446e6ae6e60c16 (diff)
downloadtosin-6bcb3620d8be2f3bcfe72432d17955827894bb6e.tar.gz
tosin-6bcb3620d8be2f3bcfe72432d17955827894bb6e.zip
make backend more explicit
Diffstat (limited to 'src/db/backend.rs')
-rw-r--r--src/db/backend.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/backend.rs b/src/db/backend.rs
new file mode 100644
index 0000000..5ae4de2
--- /dev/null
+++ b/src/db/backend.rs
@@ -0,0 +1,5 @@
+pub enum DbBackend {
+ Sqlite {
+ db_file: &'static str,
+ }
+}