From 9ce413118ca9e8f45b32adc0aa95d6e59deec7b3 Mon Sep 17 00:00:00 2001 From: Benno van den Berg Date: Fri, 2 Aug 2024 13:58:20 +0200 Subject: [PATCH] Resolve issue with cargo-deny Make sure all crates use the same version --- Cargo.toml | 1 + fpx-lib/Cargo.toml | 4 ++-- fpx-macros/Cargo.toml | 2 +- fpx-workers/Cargo.toml | 4 ++-- fpx/Cargo.toml | 2 +- xtask/Cargo.toml | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9c1278e51..225228ccf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,7 @@ default-members = ["fpx"] authors = ["Fiberplane "] license = "MIT OR Apache-2.0" repository = "https://github.com/fiberplane/fpx" +version = "0.1.0" [workspace.dependencies] anyhow = { version = "1.0" } diff --git a/fpx-lib/Cargo.toml b/fpx-lib/Cargo.toml index c595df370..7c169ff9e 100644 --- a/fpx-lib/Cargo.toml +++ b/fpx-lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fpx-lib" -version = "0.1.0" +version = { workspace = true } edition = "2021" authors = { workspace = true } license = { workspace = true } @@ -13,7 +13,7 @@ anyhow = { version = "1.0", default-features = false } async-trait = { version = "0.1", default-features = false } axum = { version = "0.7", default-features = false, features = ["json"] } bytes = { version = "1.0", default-features = false } -fpx-macros = { path = "../fpx-macros" } +fpx-macros = { version = "0.1.0", path = "../fpx-macros" } hex = { version = "0.4", default-features = false, features = ["alloc"] } http = { version = "1.1", default-features = false } prost = { version = "0.13", default-features = false } diff --git a/fpx-macros/Cargo.toml b/fpx-macros/Cargo.toml index 76b7023c8..0754ff32f 100644 --- a/fpx-macros/Cargo.toml +++ b/fpx-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fpx-macros" -version = "0.1.0" +version = { workspace = true } edition = "2021" authors = { workspace = true } license = { workspace = true } diff --git a/fpx-workers/Cargo.toml b/fpx-workers/Cargo.toml index 8bb47db31..47b4b8fc5 100644 --- a/fpx-workers/Cargo.toml +++ b/fpx-workers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fpx-workers" -version = "0.1.0" +version = { workspace = true } edition = "2021" authors = { workspace = true } license = { workspace = true } @@ -19,7 +19,7 @@ crate-type = ["cdylib"] [dependencies] axum = { version = "0.7", default-features = false } console_error_panic_hook = { version = "0.1" } -fpx-lib = { path = "../fpx-lib" } +fpx-lib = { version = "0.1.0", path = "../fpx-lib" } getrandom = { version = "0.2", features = ["js"] } # Required for its feature time = { version = "0.3", features = ['wasm-bindgen'] } tower-service = "0.3.2" diff --git a/fpx/Cargo.toml b/fpx/Cargo.toml index 1d0e98d6a..eeb83a653 100644 --- a/fpx/Cargo.toml +++ b/fpx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fpx" -version = "0.1.0" +version = { workspace = true } edition = "2021" authors = { workspace = true } license = { workspace = true } diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index b283c3f68..6dfce11bb 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xtask" -version = "0.1.0" +version = { workspace = true } edition = "2021" authors = { workspace = true } license = { workspace = true }