diff --git a/rust/ares/Cargo.lock b/rust/ares/Cargo.lock index 679043f..49c4044 100644 --- a/rust/ares/Cargo.lock +++ b/rust/ares/Cargo.lock @@ -62,8 +62,6 @@ dependencies = [ [[package]] name = "assert_no_alloc" version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55ca83137a482d61d916ceb1eba52a684f98004f18e0cafea230fe5579c178a3" [[package]] name = "atty" diff --git a/rust/ares/Cargo.toml b/rust/ares/Cargo.toml index 2b3cfe6..0babd64 100644 --- a/rust/ares/Cargo.toml +++ b/rust/ares/Cargo.toml @@ -15,9 +15,9 @@ ares_macros = { path = "../ares_macros" } # Use this when debugging requires the debug printfs in the PMA # ares_pma = { path = "../ares_pma", features=["debug_prints"] } ares_pma = { path = "../ares_pma" } -assert_no_alloc = "1.1.2" +assert_no_alloc = { path = "../rust-assert-no-alloc" } # use this when debugging requires allocation (e.g. eprintln) -# assert_no_alloc = {version="1.1.2", features=["warn_debug"]} +# assert_no_alloc = { path = "../rust-assert-no-alloc", features=["warn_debug"] } bitvec = "1.0.0" criterion = "0.4" either = "1.9.0" diff --git a/rust/rust-assert-no-alloc b/rust/rust-assert-no-alloc new file mode 160000 index 0000000..11f0f41 --- /dev/null +++ b/rust/rust-assert-no-alloc @@ -0,0 +1 @@ +Subproject commit 11f0f41123f7fcaf0ad1c23a6a17d97f4650e824