Split Fitnesstrax into two crates

This commit is contained in:
Savanni D'Gerinel 2023-12-06 23:39:27 -05:00
parent e5fb605816
commit 0e0d67a9ac
8 changed files with 28 additions and 20 deletions

14
Cargo.lock generated
View File

@ -978,15 +978,11 @@ version = "0.1.0"
dependencies = [
"chrono",
"chrono-tz",
"dimensioned 0.8.0",
"emseries",
"gio",
"glib",
"glib-build-tools 0.18.0",
"gtk4",
"libadwaita",
"serde 1.0.188",
"tempfile",
"tokio",
]
@ -1134,6 +1130,16 @@ dependencies = [
"syn 2.0.37",
]
[[package]]
name = "ft-core"
version = "0.1.0"
dependencies = [
"dimensioned 0.8.0",
"emseries",
"serde 1.0.188",
"tempfile",
]
[[package]]
name = "fuchsia-cprng"
version = "0.1.1"

View File

@ -10,7 +10,8 @@ members = [
"dashboard",
"emseries",
"file-service",
"fitnesstrax",
"fitnesstrax/core",
"fitnesstrax/app",
"fluent-ergonomics",
"geo-types",
"gm-control-panel",

View File

@ -5,30 +5,15 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "fitnesstrax"
path = "src/lib.rs"
[[bin]]
name = "fitnesstrax"
path = "src/main.rs"
[dependencies]
adw = { version = "0.5", package = "libadwaita", features = [ "v1_2" ] }
chrono = { version = "0.4" }
chrono-tz = { version = "0.8" }
dimensioned = { version = "0.8", features = [ "serde" ] }
emseries = { path = "../emseries" }
gio = { version = "0.18" }
glib = { version = "0.18" }
gtk = { version = "0.7", package = "gtk4", features = [ "v4_8" ] }
serde = { version = "1", features = [ "derive" ] }
tokio = { version = "1.34", features = [ "full" ] }
[dev-dependencies]
tempfile = "*"
[build-dependencies]
glib-build-tools = "0.18"

View File

@ -0,0 +1,16 @@
[package]
name = "ft-core"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dimensioned = { version = "0.8", features = [ "serde" ] }
emseries = { path = "../../emseries" }
serde = { version = "1", features = [ "derive" ] }
[dev-dependencies]
tempfile = "*"