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,5 +1,5 @@
[package]
name = "advotracker-framework"
name = "advotracker"
version = "0.1.0"
authors = ["Ralf Zerres <ralf.zerres@networkx.de>"]
description = "Supports lawyers to capture relevant data encountered during an online legal advice\n"
@@ -8,8 +8,13 @@ homepage = "https://gitea.networkx.de:50443/rzerres/advotracker"
documentation = "https://docs.rs/advotracker"
readme = "README.md"
license = "0BSD OR MIT"
keywords = [
"advotracker",
"lawyer",
]
edition = "2018"
publish = false
#default-run = "crates/advotracker_client"
[profile.release]
panic = "abort"
@@ -41,10 +46,22 @@ panic = 'unwind'
incremental = true
overflow-checks = true
[dependencies]
advotrackerdb = { version = "0.1.0-alpha1", path = "crates/advotrackerdb" }
advotrackerd = { version = "0.1.0-alpha1", path = "crates/advotrackerd", default-features = false }
advotracker_client = { version = "0.1.5-alpha1", path = "crates/advotracker_client", default-features = false }
[features]
default = ["sqlite"]
# enable optional db backends
sqlite = []
#sqlite = ["advotrackerdb_sqlite"]
#postgresql = ["advotrackerdb_pstgresql"]
[workspace]
members = [
"advotrackerd",
"advotracker-db",
"advotracker",
"advotracker_qml",
"crates/advotrackerd",
"crates/advotrackerdb",
"crates/advotracker_client",
]