21 lines
823 B
Bash
Executable File
21 lines
823 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Fixing all dependency versions..."
|
|
|
|
# Fix known version issues
|
|
find crates -name "Cargo.toml" -exec sed -i \
|
|
-e 's/tch.*0\.16/tch = { version = "0.13"/g' \
|
|
-e 's/tch.*0\.14/tch = { version = "0.13"/g' \
|
|
-e 's/tfhe.*0\.9/tfhe = { version = "0.7"/g' \
|
|
-e 's/candle-core.*0\.5/candle-core = { version = "0.3"/g' \
|
|
-e 's/candle-nn.*0\.5/candle-nn = { version = "0.3"/g' \
|
|
-e 's/rerun.*0\.17/rerun = { version = "0.16"/g' \
|
|
-e 's/kiddo.*4\.1/kiddo = { version = "4.0"/g' \
|
|
-e 's/geo.*0\.27/geo = { version = "0.26"/g' \
|
|
-e 's/rstar.*0\.11/rstar = { version = "0.10"/g' \
|
|
-e 's/opencv.*0\.88/opencv = { version = "0.84"/g' \
|
|
-e 's/pcd-rs.*0\.8/pcd-rs = { version = "0.1"/g' \
|
|
-e 's/las.*0\.8/las = { version = "0.7"/g' \
|
|
{} \;
|
|
|
|
echo "Version fixes complete!" |