From c8b5ba40dafcfc3e9acc82413eedc7bb62507922 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 29 Sep 2023 14:01:29 +0800 Subject: [PATCH] temporarily move smoltcp to track git URL this needs to stabilize once they tag out a release but for now it cleans up the warnings. will have to remember to do a cargo updae on that repository though from time to time to get the latest code... --- Cargo.lock | 1 + services/net/Cargo.toml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 525e26f81..41d41d531 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4466,6 +4466,7 @@ checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" [[package]] name = "smoltcp" version = "0.10.0" +source = "git+https://github.com/smoltcp-rs/smoltcp.git?branch=main#edfdb23243a973d458397a2b4e76f527bacb1fd6" dependencies = [ "bitflags 1.3.2", "byteorder", diff --git a/services/net/Cargo.toml b/services/net/Cargo.toml index ede19d370..6330a96ce 100644 --- a/services/net/Cargo.toml +++ b/services/net/Cargo.toml @@ -34,8 +34,9 @@ xous-semver = "0.1.2" [dependencies.smoltcp] # some historical notes for development on branches in the future -path = "../../../smoltcp" -#git = "https://github.com/smoltcp-rs/smoltcp.git" +# path = "../../../smoltcp" +git = "https://github.com/smoltcp-rs/smoltcp.git" +branch = "main" #git = "https://github.com/betrusted-io/smoltcp.git" #rev = "35c8ec3d30c846442a1faae01fb0537641aef898" # 0.8.1 drops the rand_core dep and doesn't have the breaking IPv4 change (see issue #613)