From 0efc3b263748ee55673b64f2f44a423485e2b527 Mon Sep 17 00:00:00 2001 From: Paul Young <84700+paulyoung@users.noreply.github.com> Date: Sun, 20 Mar 2022 17:47:12 -0700 Subject: [PATCH] Add ref to fix issue with fetchGit assuming master https://github.com/NixOS/nix/issues/1923 --- examples/fat/src/fat/Cargo.toml | 2 +- src/icfs/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/fat/src/fat/Cargo.toml b/examples/fat/src/fat/Cargo.toml index 56c464e..3e743a7 100644 --- a/examples/fat/src/fat/Cargo.toml +++ b/examples/fat/src/fat/Cargo.toml @@ -12,7 +12,7 @@ crate-type = ["cdylib"] [dependencies] fatfs = { git = "https://github.com/rafalh/rust-fatfs" } fscommon = "0.1" -ic-cdk = { git = "https://github.com/dfinity/cdk-rs.git", rev = "a253119adb08929b6304d007ee0a6a37960656ed" } +ic-cdk = { git = "https://github.com/dfinity/cdk-rs.git", ref = "main", rev = "a253119adb08929b6304d007ee0a6a37960656ed" } ic-cdk-macros = "0.3" icfs = { path = "../../../../src/icfs" } time = "0.3" \ No newline at end of file diff --git a/src/icfs/Cargo.toml b/src/icfs/Cargo.toml index 8bdd8ba..5b5f923 100644 --- a/src/icfs/Cargo.toml +++ b/src/icfs/Cargo.toml @@ -12,4 +12,4 @@ path = "lib.rs" crate-type = ["cdylib", "rlib"] [dependencies] -ic-cdk = { git = "https://github.com/dfinity/cdk-rs.git", rev = "a253119adb08929b6304d007ee0a6a37960656ed" } \ No newline at end of file +ic-cdk = { git = "https://github.com/dfinity/cdk-rs.git", ref = "main", rev = "a253119adb08929b6304d007ee0a6a37960656ed" } \ No newline at end of file