From 00625d152758f1a60d4318a7c49e63c689f56de7 Mon Sep 17 00:00:00 2001 From: nathaniel Date: Tue, 21 Mar 2023 10:11:24 -0400 Subject: [PATCH] fix: add version to path dependencies --- burn-autodiff/Cargo.toml | 6 +++--- burn-core/Cargo.toml | 16 ++++++++-------- burn-ndarray/Cargo.toml | 6 +++--- burn-no-std-tests/Cargo.toml | 4 ++-- burn-tch/Cargo.toml | 6 +++--- burn-tensor/Cargo.toml | 2 +- burn-train/Cargo.toml | 2 +- burn/Cargo.toml | 4 ++-- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/burn-autodiff/Cargo.toml b/burn-autodiff/Cargo.toml index e285dd46c..294786b5f 100644 --- a/burn-autodiff/Cargo.toml +++ b/burn-autodiff/Cargo.toml @@ -15,9 +15,9 @@ default = ["export_tests"] export_tests = ["burn-tensor-testgen"] [dependencies] -burn-common = {path = "../burn-common"} -burn-tensor = {path = "../burn-tensor"} -burn-tensor-testgen = {path = "../burn-tensor-testgen", optional = true} +burn-common = {path = "../burn-common", version = "0.6.0"} +burn-tensor = {path = "../burn-tensor", version = "0.6.0"} +burn-tensor-testgen = {path = "../burn-tensor-testgen", version = "0.6.0", optional = true} derive-new = {workspace = true, features = ["std"]}# Default enables std spin = {workspace = true} diff --git a/burn-core/Cargo.toml b/burn-core/Cargo.toml index ea6e16678..b7d551f1c 100644 --- a/burn-core/Cargo.toml +++ b/burn-core/Cargo.toml @@ -33,11 +33,11 @@ test-tch = [] # To use tch during testing, default uses ndarray. # ** Please make sure all dependencies support no_std when std is disabled ** -burn-autodiff = {path = "../burn-autodiff", optional = true, features = ["export_tests"]} -burn-common = {path = "../burn-common", default-features = false} -burn-dataset = {path = "../burn-dataset", default-features = false, optional = true} -burn-derive = {path = "../burn-derive"} -burn-tensor = {path = "../burn-tensor", default-features = false} +burn-autodiff = {path = "../burn-autodiff", version = "0.6.0", optional = true, features = ["export_tests"]} +burn-common = {path = "../burn-common", version = "0.6.0", default-features = false} +burn-dataset = {path = "../burn-dataset", version = "0.6.0", default-features = false, optional = true} +burn-derive = {path = "../burn-derive", version = "0.6.0"} +burn-tensor = {path = "../burn-tensor", version = "0.6.0", default-features = false} derive-new = {workspace = true}# Default enables std libm = {workspace = true} @@ -55,9 +55,9 @@ serde = {workspace = true, features = ["derive"]} serde_json = {workspace = true, features = ["alloc"]}#Default enables std [dev-dependencies] -burn-dataset = {path = "../burn-dataset", features = [ +burn-dataset = {path = "../burn-dataset", version = "0.6.0", features = [ "fake", ]} -burn-ndarray = {path = "../burn-ndarray", default-features = false} -burn-tch = {path = "../burn-tch"} +burn-ndarray = {path = "../burn-ndarray", version = "0.6.0", default-features = false} +burn-tch = {path = "../burn-tch", version = "0.6.0"} diff --git a/burn-ndarray/Cargo.toml b/burn-ndarray/Cargo.toml index d6475a17f..a1f9a8b5a 100644 --- a/burn-ndarray/Cargo.toml +++ b/burn-ndarray/Cargo.toml @@ -38,9 +38,9 @@ blas-openblas-system = [ # ** Please make sure all dependencies support no_std when std is disabled ** -burn-autodiff = {path = "../burn-autodiff", features = ["export_tests"], optional = true} -burn-common = {path = "../burn-common", default-features = false} -burn-tensor = {path = "../burn-tensor", default-features = false, features = ["export_tests"]} +burn-autodiff = {path = "../burn-autodiff", version = "0.6.0", features = ["export_tests"], optional = true} +burn-common = {path = "../burn-common", version = "0.6.0", default-features = false} +burn-tensor = {path = "../burn-tensor", version = "0.6.0", default-features = false, features = ["export_tests"]} matrixmultiply = {version = "0.3.2", default-features = false} diff --git a/burn-no-std-tests/Cargo.toml b/burn-no-std-tests/Cargo.toml index ae96c7ceb..903feaf58 100644 --- a/burn-no-std-tests/Cargo.toml +++ b/burn-no-std-tests/Cargo.toml @@ -15,7 +15,7 @@ version = "0.6.0" # ** Please make sure all dependencies support no_std ** -burn = {path = "../burn", default-features = false} -burn-ndarray = {path = "../burn-ndarray", default-features = false} +burn = {path = "../burn", version = "0.6.0", default-features = false} +burn-ndarray = {path = "../burn-ndarray", version = "0.6.0", default-features = false} serde = {workspace = true} diff --git a/burn-tch/Cargo.toml b/burn-tch/Cargo.toml index 400311556..c4b8d87f2 100644 --- a/burn-tch/Cargo.toml +++ b/burn-tch/Cargo.toml @@ -14,7 +14,7 @@ version = "0.6.0" doc = ["tch/doc-only"] [dependencies] -burn-tensor = {path = "../burn-tensor"} +burn-tensor = {path = "../burn-tensor", version = "0.6.0"} libc = "0.2.0" half = {workspace = true} @@ -29,9 +29,9 @@ tch = {version = "0.11.0"} tch = {version = "0.11.0", default-features = false} # Disables torch downloading [dev-dependencies] -burn-autodiff = {path = "../burn-autodiff", default-features = false, features = [ +burn-autodiff = {path = "../burn-autodiff", version = "0.6.0", default-features = false, features = [ "export_tests", ]} -burn-tensor = {path = "../burn-tensor", default-features = false, features = [ +burn-tensor = {path = "../burn-tensor", version = "0.6.0", default-features = false, features = [ "export_tests", ]} diff --git a/burn-tensor/Cargo.toml b/burn-tensor/Cargo.toml index 95e3bd4d2..d4559307e 100644 --- a/burn-tensor/Cargo.toml +++ b/burn-tensor/Cargo.toml @@ -22,7 +22,7 @@ std = [ ] [dependencies] -burn-tensor-testgen = {path = "../burn-tensor-testgen", optional = true} +burn-tensor-testgen = {path = "../burn-tensor-testgen", version = "0.6.0", optional = true} derive-new = {workspace = true} half = {workspace = true} diff --git a/burn-train/Cargo.toml b/burn-train/Cargo.toml index b857275b7..146c0a8fb 100644 --- a/burn-train/Cargo.toml +++ b/burn-train/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT/Apache-2.0" edition = "2021" [dependencies] -burn-core = { path = "../burn-core" } +burn-core = { path = "../burn-core", version = "0.6.0" } # Console indicatif = "0.17.2" diff --git a/burn/Cargo.toml b/burn/Cargo.toml index 2c3cd52ea..51b8fb6c8 100644 --- a/burn/Cargo.toml +++ b/burn/Cargo.toml @@ -23,5 +23,5 @@ train = ["std", "burn-train"] # Training requires std # ** Please make sure all dependencies support no_std when std is disabled ** -burn-core = {path = "../burn-core", default-features = false} -burn-train = {path = "../burn-train", optional = true} +burn-core = {path = "../burn-core", version = "0.6.0", default-features = false} +burn-train = {path = "../burn-train", version = "0.6.0", optional = true}