diff --git a/native/Cargo.lock b/native/Cargo.lock index df5fd4ac14..1259d4723e 100644 --- a/native/Cargo.lock +++ b/native/Cargo.lock @@ -3314,8 +3314,7 @@ dependencies = [ [[package]] name = "hdfs-sys" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e2d5cefba2d51a26b44d2a493f963a32725a0f6593c91be4a610ad449c49cb" +source = "git+https://github.com/peterxcli/hdfs-sys?rev=0615a3948307757c8a75f1ca6a318df7ddaa17fd#0615a3948307757c8a75f1ca6a318df7ddaa17fd" dependencies = [ "cc", "java-locator", diff --git a/native/Cargo.toml b/native/Cargo.toml index 1805a185e9..ba7fa5f6b8 100644 --- a/native/Cargo.toml +++ b/native/Cargo.toml @@ -82,3 +82,6 @@ codegen-units = 16 # Parallel codegen (faster compile, slightly larger binary) debug-assertions = true panic = "unwind" # Allow panics to be caught and logged across FFI boundary # overflow-checks inherited as false from release + +[patch.crates-io] +hdfs-sys = { git = "https://github.com/peterxcli/hdfs-sys", rev = "0615a3948307757c8a75f1ca6a318df7ddaa17fd" }