From 4f725a05c908db50edc8ce8ced21b0b07af5d971 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 22 Feb 2025 15:40:09 +0100 Subject: [PATCH] Move all dependencies to workspace --- Cargo.toml | 15 +++++++++++++ showbits-assets/Cargo.toml | 4 ++-- showbits-common/Cargo.toml | 28 ++++++++++++------------ showbits-thermal-printer/Cargo.toml | 34 ++++++++++++++--------------- 4 files changed, 48 insertions(+), 33 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9f5801f..fc63d3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,11 +8,26 @@ edition = "2021" [workspace.dependencies] anyhow = "1.0.83" +axum = "0.7.5" +clap = { version = "4.5.4", features = ["derive", "deprecated"] } +comemo = "0.4.0" cosmic-text = "0.11.2" +escpos = "0.12.2" image = "0.25.1" +mark.git = "https://github.com/Garmelon/mark.git" +mime_guess = "2.0.4" palette = "0.7.6" +paste = "1.0.15" +rand = "0.8.5" +rust-embed = "8.4.0" +serde = { version = "1.0.201", features = ["derive"] } showbits-assets.path = "./showbits-assets" showbits-common.path = "./showbits-common" +time = "0.3.36" +tokio = "1.37.0" +typst = "0.11.0" +typst-assets = { version = "0.11.0", features = ["fonts"] } +typst-render = "0.11.0" [workspace.dependencies.taffy] version = "0.4.3" diff --git a/showbits-assets/Cargo.toml b/showbits-assets/Cargo.toml index 71a1d7e..407fbff 100644 --- a/showbits-assets/Cargo.toml +++ b/showbits-assets/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "showbits-assets" -version.workspace = true -edition.workspace = true +version = { workspace = true } +edition = { workspace = true } [lints] workspace = true diff --git a/showbits-common/Cargo.toml b/showbits-common/Cargo.toml index 9275902..19256d1 100644 --- a/showbits-common/Cargo.toml +++ b/showbits-common/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "showbits-common" -version.workspace = true -edition.workspace = true +version = { workspace = true } +edition = { workspace = true } [dependencies] -anyhow.workspace = true -comemo = "0.4.0" -cosmic-text.workspace = true -image.workspace = true -mark.git = "https://github.com/Garmelon/mark.git" -palette.workspace = true -paste = "1.0.15" -showbits-assets.workspace = true -taffy.workspace = true -typst = "0.11.0" -typst-assets = { version = "0.11.0", features = ["fonts"] } -typst-render = "0.11.0" +anyhow = { workspace = true } +comemo = { workspace = true } +cosmic-text = { workspace = true } +image = { workspace = true } +mark = { workspace = true } +palette = { workspace = true } +paste = { workspace = true } +showbits-assets = { workspace = true } +taffy = { workspace = true } +typst = { workspace = true } +typst-assets = { workspace = true } +typst-render = { workspace = true } [lints] workspace = true diff --git a/showbits-thermal-printer/Cargo.toml b/showbits-thermal-printer/Cargo.toml index cdb6ba2..7988cf5 100644 --- a/showbits-thermal-printer/Cargo.toml +++ b/showbits-thermal-printer/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "showbits-thermal-printer" -version.workspace = true -edition.workspace = true +version = { workspace = true } +edition = { workspace = true } [dependencies] -anyhow.workspace = true -axum = { version = "0.7.5", features = ["multipart"] } -clap = { version = "4.5.4", features = ["derive", "deprecated"] } -escpos = { version = "0.12.2" } -image.workspace = true -mime_guess = "2.0.4" -palette.workspace = true -rand = "0.8.5" -rust-embed = "8.4.0" -serde = { version = "1.0.201", features = ["derive"] } -showbits-assets.workspace = true -showbits-common.workspace = true -taffy.workspace = true -time = "0.3.36" -tokio = { version = "1.37.0", features = ["full"] } +anyhow = { workspace = true } +axum = { workspace = true, features = ["multipart"] } +clap = { workspace = true } +escpos = { workspace = true } +image = { workspace = true } +mime_guess = { workspace = true } +palette = { workspace = true } +rand = { workspace = true } +rust-embed = { workspace = true } +serde = { workspace = true } +showbits-assets = { workspace = true } +showbits-common = { workspace = true } +taffy = { workspace = true } +time = { workspace = true } +tokio = { workspace = true, features = ["full"] } [lints] workspace = true