mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Put Rust deps at the root of the workspace
This allows us to be consistent about the required versions for each of the member packages. Fixes #3088.
This commit is contained in:
parent
7a310fbfc1
commit
48543b7fcb
6 changed files with 80 additions and 47 deletions
31
Cargo.toml
31
Cargo.toml
|
@ -10,3 +10,34 @@ members = [
|
||||||
|
|
||||||
# src/tc/rust is just part of the TW build and not a public crate
|
# src/tc/rust is just part of the TW build and not a public crate
|
||||||
exclude = [ "src/tc/rust" ]
|
exclude = [ "src/tc/rust" ]
|
||||||
|
|
||||||
|
# All Rust dependencies are defined here, and then referenced by the
|
||||||
|
# Cargo.toml's in the members with `foo.workspace = true`.
|
||||||
|
[workspace.dependencies]
|
||||||
|
actix-rt = "2"
|
||||||
|
actix-web = "^4.3.1"
|
||||||
|
anyhow = "1.0"
|
||||||
|
byteorder = "1.0"
|
||||||
|
cc = "1.0.73"
|
||||||
|
chrono = { version = "^0.4.22", features = ["serde"] }
|
||||||
|
clap = { version = "^4.3.0", features = ["string"] }
|
||||||
|
env_logger = "^0.10.0"
|
||||||
|
ffizz-header = "0.3"
|
||||||
|
flate2 = "1"
|
||||||
|
futures = "^0.3.25"
|
||||||
|
lazy_static = "1"
|
||||||
|
libc = "0.2.136"
|
||||||
|
log = "^0.4.17"
|
||||||
|
pretty_assertions = "1"
|
||||||
|
proptest = "^1.2.0"
|
||||||
|
ring = "0.16"
|
||||||
|
rstest = "0.17"
|
||||||
|
rusqlite = { version = "0.29", features = ["bundled"] }
|
||||||
|
serde_json = "^1.0"
|
||||||
|
serde = { version = "^1.0.147", features = ["derive"] }
|
||||||
|
strum = "0.25"
|
||||||
|
strum_macros = "0.25"
|
||||||
|
tempfile = "3"
|
||||||
|
thiserror = "1.0"
|
||||||
|
ureq = "^2.7.0"
|
||||||
|
uuid = { version = "^1.3.0", features = ["serde", "v4"] }
|
||||||
|
|
|
@ -12,14 +12,14 @@ taskchampion-lib = { path = "../lib" }
|
||||||
taskchampion-sync-server = { path = "../sync-server" }
|
taskchampion-sync-server = { path = "../sync-server" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = "1.0"
|
anyhow.workspace = true
|
||||||
actix-web = "^4.3.1"
|
actix-web.workspace = true
|
||||||
actix-rt = "2"
|
actix-rt.workspace = true
|
||||||
tempfile = "3"
|
tempfile.workspace = true
|
||||||
pretty_assertions = "1"
|
pretty_assertions.workspace = true
|
||||||
log = "^0.4.17"
|
log.workspace = true
|
||||||
env_logger = "^0.10.0"
|
env_logger.workspace = true
|
||||||
lazy_static = "1"
|
lazy_static.workspace = true
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = "1.0.73"
|
cc.workspace = true
|
||||||
|
|
|
@ -4,10 +4,11 @@ version = "0.1.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "0.2.136"
|
libc.workspace = true
|
||||||
|
anyhow.workspace = true
|
||||||
|
ffizz-header.workspace = true
|
||||||
|
|
||||||
taskchampion = { path = "../taskchampion" }
|
taskchampion = { path = "../taskchampion" }
|
||||||
anyhow = "1.0"
|
|
||||||
ffizz-header = "0.3"
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pretty_assertions = "1"
|
pretty_assertions.workspace = true
|
||||||
|
|
|
@ -8,20 +8,20 @@ publish = false
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
uuid = { version = "^1.3.0", features = ["serde", "v4"] }
|
uuid.workspace = true
|
||||||
actix-web = "^4.3.1"
|
actix-web.workspace = true
|
||||||
anyhow = "1.0"
|
anyhow.workspace = true
|
||||||
thiserror = "1.0"
|
thiserror.workspace = true
|
||||||
futures = "^0.3.25"
|
futures.workspace = true
|
||||||
serde = "^1.0.147"
|
serde.workspace = true
|
||||||
serde_json = "^1.0"
|
serde_json.workspace = true
|
||||||
clap = { version = "^4.3.0", features = ["string"] }
|
clap.workspace = true
|
||||||
log = "^0.4.17"
|
log.workspace = true
|
||||||
env_logger = "^0.10.0"
|
env_logger.workspace = true
|
||||||
rusqlite = { version = "0.29", features = ["bundled"] }
|
rusqlite.workspace = true
|
||||||
chrono = { version = "^0.4.22", features = ["serde"] }
|
chrono.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-rt = "2"
|
actix-rt.workspace = true
|
||||||
tempfile = "3"
|
tempfile.workspace = true
|
||||||
pretty_assertions = "1"
|
pretty_assertions.workspace = true
|
||||||
|
|
|
@ -11,23 +11,23 @@ license = "MIT"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
uuid = { version = "^1.3.0", features = ["serde", "v4"] }
|
uuid.workspace = true
|
||||||
serde = { version = "^1.0.147", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "^1.0"
|
serde_json.workspace = true
|
||||||
chrono = { version = "^0.4.22", features = ["serde"] }
|
chrono.workspace = true
|
||||||
anyhow = "1.0"
|
anyhow.workspace = true
|
||||||
thiserror = "1.0"
|
thiserror.workspace = true
|
||||||
ureq = "^2.7.0"
|
ureq.workspace = true
|
||||||
log = "^0.4.17"
|
log.workspace = true
|
||||||
rusqlite = { version = "0.29", features = ["bundled"] }
|
rusqlite.workspace = true
|
||||||
strum = "0.25"
|
strum.workspace = true
|
||||||
strum_macros = "0.25"
|
strum_macros.workspace = true
|
||||||
flate2 = "1"
|
flate2.workspace = true
|
||||||
byteorder = "1.0"
|
byteorder.workspace = true
|
||||||
ring = "0.16"
|
ring.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
proptest = "^1.2.0"
|
proptest.workspace = true
|
||||||
tempfile = "3"
|
tempfile.workspace = true
|
||||||
rstest = "0.17"
|
rstest.workspace = true
|
||||||
pretty_assertions = "1"
|
pretty_assertions.workspace = true
|
||||||
|
|
|
@ -4,5 +4,6 @@ version = "0.4.1"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow.workspace = true
|
||||||
|
|
||||||
taskchampion-lib = { path = "../lib" }
|
taskchampion-lib = { path = "../lib" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue