diff --git a/Cargo.lock b/Cargo.lock index 0f9e7698..9a14f812 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2242,7 +2242,7 @@ dependencies = [ [[package]] name = "pilota" version = "0.11.8" -source = "git+https://github.com/cloudwego/pilota?branch=main#064047795bd4615fc5fed393cdcfa14bd2f3206d" +source = "git+https://github.com/cloudwego/pilota.git?branch=main#064047795bd4615fc5fed393cdcfa14bd2f3206d" dependencies = [ "ahash", "anyhow", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "pilota-build" version = "0.11.26" -source = "git+https://github.com/cloudwego/pilota?branch=main#064047795bd4615fc5fed393cdcfa14bd2f3206d" +source = "git+https://github.com/cloudwego/pilota.git?branch=main#064047795bd4615fc5fed393cdcfa14bd2f3206d" dependencies = [ "ahash", "anyhow", @@ -2296,7 +2296,7 @@ dependencies = [ [[package]] name = "pilota-thrift-parser" version = "0.11.5" -source = "git+https://github.com/cloudwego/pilota?branch=main#064047795bd4615fc5fed393cdcfa14bd2f3206d" +source = "git+https://github.com/cloudwego/pilota.git?branch=main#064047795bd4615fc5fed393cdcfa14bd2f3206d" dependencies = [ "nom", ] diff --git a/Cargo.toml b/Cargo.toml index 98b1ffcc..ea4715fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,12 +27,12 @@ rust-version = "1.80.0" #pilota = "0.11" #pilota-build = "0.11" #pilota-thrift-parser = "0.11" -pilota = { git = "https://github.com/cloudwego/pilota", branch = "main" } -pilota-build = { git = "https://github.com/cloudwego/pilota", branch = "main" } -pilota-thrift-parser = { git = "https://github.com/cloudwego/pilota", branch = "main" } +pilota = { git = "https://github.com/cloudwego/pilota.git", branch = "main" } +pilota-build = { git = "https://github.com/cloudwego/pilota.git", branch = "main" } +pilota-thrift-parser = { git = "https://github.com/cloudwego/pilota.git", branch = "main" } motore = "0.4" -# motore = { git = "https://github.com/cloudwego/motore", branch = "main" } +# motore = { git = "https://github.com/cloudwego/motore.git", branch = "main" } metainfo = "0.7" diff --git a/scripts/volo-cli-test.sh b/scripts/volo-cli-test.sh index e3236c77..1ebbcf7e 100644 --- a/scripts/volo-cli-test.sh +++ b/scripts/volo-cli-test.sh @@ -43,13 +43,22 @@ append_volo_dep_item() { echo "$1 = { path = \"$VOLO_DIR/$1\" }" >> Cargo.toml } +append_pilota_dep_item() { + echo "$1 = { git = \"https://github.com/cloudwego/pilota.git\", branch = \"main\" }" >> Cargo.toml +} + patch_cargo_toml() { echo "[patch.crates-io]" >> Cargo.toml + append_volo_dep_item volo append_volo_dep_item volo-build append_volo_dep_item volo-thrift append_volo_dep_item volo-grpc append_volo_dep_item volo-http + + append_pilota_dep_item pilota + append_pilota_dep_item pilota-build + append_pilota_dep_item pilota-thrift-parser } thrift_test() {