Skip to content

Commit

Permalink
use workspace dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Sep 21, 2023
1 parent 68acc3c commit 86c6f33
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 41 deletions.
31 changes: 31 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,34 @@ members = [
default-members = [
"typhon"
]

[workspace.dependencies]
typhon-types = { path = "./typhon-types" }
actix = "0.13"
actix-cors = "0.6"
actix-files = "0.6"
actix-web = "4.2"
actix-web-actors = "4.1"
age = { version = "0.8", features = ["armor"] }
async-stream = "0.3"
async-trait = "0.1"
clap = { version = "4.0", features = ["derive"] }
colored = "2"
diesel = { version = "2.0.2", features = ["sqlite", "returning_clauses_for_sqlite_3_35"] }
diesel_migrations = "2.0"
futures = "0.3"
futures-core = "0.3"
log = "0.4"
once_cell = "1.16"
seed = "0.9"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.4"
serde_json = "1.0"
serde_repr = "0.1"
sha256 = "1.1"
stderrlog = "0.5"
substring = "1.4"
surf = "2.3"
tokio = { version = "1.22", features = ["full"] }
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["Navigator", "Clipboard", "ReadableStream", "Response"] }
14 changes: 7 additions & 7 deletions typhon-api-client-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ version = "0.0.1"
edition = "2021"

[dependencies]
typhon-types = { path = "../typhon-types" }
serde = "1.0"
serde_json = "1.0"
tokio = { version = "1.22", features = [ "full" ] }
surf = "2.3"
async-trait = "0.1.4"
colored = "2"
typhon-types.workspace = true
async-trait.workspace = true
colored.workspace = true
serde.workspace = true
serde_json.workspace = true
surf.workspace = true
tokio.workspace = true
22 changes: 11 additions & 11 deletions typhon-webapp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ name = "typhon-webapp"
path = "src/main.rs"

[dependencies]
typhon-types = { path = "../typhon-types" }
once_cell = "1.16"
web-sys = { version = "0.3", features = ["Navigator", "Clipboard", "ReadableStream", "Response"] }
seed = "0.9"
serde = { version = "1.0", features = [ "derive" ] }
serde-wasm-bindgen = "0.4"
wasm-bindgen-futures = "0.4"
serde_json = "1.0"
async-trait = "0.1.4"
async-stream = "0.3"
futures-core = "0.3"
typhon-types.workspace = true
async-stream.workspace = true
async-trait.workspace = true
futures-core.workspace = true
once_cell.workspace = true
seed.workspace = true
serde-wasm-bindgen.workspace = true
serde.workspace = true
serde_json.workspace = true
wasm-bindgen-futures.workspace = true
web-sys.workspace = true
46 changes: 23 additions & 23 deletions typhon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ edition = "2021"
authors = [ "Paul-Nicolas Madelaine <[email protected]>" ]

[dependencies]
actix = "0.13"
actix-cors = "0.6"
actix-files = "0.6"
actix-web = "4.2"
actix-web-actors = "4.1"
age = { version = "0.8", features = [ "armor" ] }
async-stream = "0.3"
async-trait = "0.1.4"
clap = { version = "4.0", features = [ "derive" ] }
diesel = { version = "2.0.2", features = [ "sqlite", "returning_clauses_for_sqlite_3_35" ] }
diesel_migrations = "2.0"
futures = "0.3"
futures-core = "0.3"
log = "0.4"
once_cell = "1.16"
serde = "1.0"
serde_json = "1.0"
serde_repr = "0.1"
sha256 = "1.1"
stderrlog = "0.5"
substring = "1.4"
tokio = { version = "1.22", features = [ "full" ] }
typhon-types = { path = "../typhon-types" }
typhon-types.workspace = true
actix-cors.workspace = true
actix-files.workspace = true
actix-web-actors.workspace = true
actix-web.workspace = true
actix.workspace = true
age.workspace = true
async-stream.workspace = true
async-trait.workspace = true
clap.workspace = true
diesel.workspace = true
diesel_migrations.workspace = true
futures-core.workspace = true
futures.workspace = true
log.workspace = true
once_cell.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_repr.workspace = true
sha256.workspace = true
stderrlog.workspace = true
substring.workspace = true
tokio.workspace = true

0 comments on commit 86c6f33

Please sign in to comment.