advotracker: reorganize the project using a crate based structure

* advotracker: the framework project
* crate/advotrackerdb: implementation of the database backend
* crate/advotrackerd: implementation of the backend (daemon)
* crate/adovtracker: implementaton of the application (CLI and GUI)

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2021-03-07 18:52:14 +01:00
parent 4c88167bef
commit 5a9965751a
252 changed files with 131 additions and 2537479 deletions

View File

@@ -1,8 +1,10 @@
[package]
name = "advotracker_db"
version = "0.1.0"
name = "advotrackerdb"
version = "0.1.0-alpha1"
authors = ["Ralf Zerres <ralf.zerres@networkx.de>"]
description = "Advotracker crate implementing Database handling.\n"
repository = "https://gitea.networkx.de:50443/rzerres/advotrackerdb"
homepage = "https://gitea.networkx.de:50443/rzerres/advotrackerdb"
readme = "README.md"
license = "(0BSD OR MIT)"
edition = "2018"
@@ -15,39 +17,39 @@ panic = "abort"
rpath = true
[lib]
name = "advotracker_db"
name = "advotrackerdb"
path = "src/lib.rs"
crate-type = ["dylib"]
[[bin]]
name = "get-harms"
path = "src/bin/get-harms.rs"
advotracker_db = { Path="." }
advotrackerdb = { Path="." }
[[bin]]
name = "get-roles"
path = "src/bin/get-roles.rs"
advotracker_db = { Path="." }
advotrackerdb = { Path="." }
[[bin]]
name = "get-users"
path = "src/bin/get-users.rs"
advotracker_db = { Path="." }
advotrackerdb = { Path="." }
[[bin]]
name = "new-role"
path = "src/bin/new-role.rs"
advotracker_db = { Path="." }
advotrackerdb = { Path="." }
[[bin]]
name = "new-harm"
path = "src/bin/new-harm.rs"
advotracker_db = { Path="." }
advotrackerdb = { Path="." }
[[bin]]
name = "new-user"
path = "src/bin/new-user.rs"
advotracker_db = { Path="." }
advotrackerdb = { Path="." }
[dependencies]
lazy_static = "1.0"