Replace some git dependencies with cargo registry

This commit is contained in:
Luke Street 2025-04-01 22:56:16 -06:00
parent fe886f862d
commit 3d7f2b70dc
4 changed files with 11 additions and 9 deletions

View File

@ -268,7 +268,7 @@ jobs:
name: Check package versions name: Check package versions
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [ build-cli, build-gui ] needs: [ build-cli, build-gui, build-wasm ]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -334,7 +334,7 @@ jobs:
release-cargo: release-cargo:
name: Release (Cargo) name: Release (Cargo)
if: startsWith(github.ref, 'refs/tags/') if: 'false' # TODO re-enable when all dependencies are published
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [ check-version ] needs: [ check-version ]
steps: steps:
@ -345,7 +345,7 @@ jobs:
- name: Publish - name: Publish
env: env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish -p objdiff-core --dry-run run: cargo publish -p objdiff-core
release-npm: release-npm:
name: Release (npm) name: Release (npm)
@ -380,4 +380,4 @@ jobs:
;; ;;
esac esac
echo "Publishing version $version with tag '$tag'..." echo "Publishing version $version with tag '$tag'..."
npm publish --provenance --access public --tag "$tag" --dry-run npm publish --provenance --access public --tag "$tag"

6
Cargo.lock generated
View File

@ -956,7 +956,8 @@ checksum = "c2e06f9bce634a3c898eb1e5cb949ff63133cbb218af93cc9b38b31d6f3ea285"
[[package]] [[package]]
name = "cwextab" name = "cwextab"
version = "1.0.4" version = "1.0.4"
source = "git+https://github.com/CelestialAmber/cwextab.git#a81d42980912afebf6d3243dddf7309b138c4e28" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78a1be2fee628a2f9109d28b6786ae591ff173d5b02118821cf4bd9a2d77ddfe"
dependencies = [ dependencies = [
"thiserror 2.0.11", "thiserror 2.0.11",
] ]
@ -4233,7 +4234,8 @@ dependencies = [
[[package]] [[package]]
name = "rlwinmdec" name = "rlwinmdec"
version = "1.1.0" version = "1.1.0"
source = "git+https://github.com/CelestialAmber/rlwinmdec.git#06e9a86eec1f21466a97cc48a752e9177985e1eb" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a87635cbde819eb81b94808ad035491693c7a07ee076ceb49d06f964e8ac38e3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
] ]

View File

@ -140,9 +140,9 @@ gimli = { version = "0.31", default-features = false, features = ["read"], optio
# ppc # ppc
cwdemangle = { version = "1.0", optional = true } cwdemangle = { version = "1.0", optional = true }
cwextab = { version = "1.0", optional = true, git = "https://github.com/CelestialAmber/cwextab.git" } cwextab = { version = "1.0", optional = true }
ppc750cl = { version = "0.3", optional = true } ppc750cl = { version = "0.3", optional = true }
rlwinmdec = { version = "1.1", optional = true, git = "https://github.com/CelestialAmber/rlwinmdec.git" } rlwinmdec = { version = "1.1", optional = true }
# mips # mips
rabbitizer = { git = "https://github.com/Decompollaborate/rabbitizer.git", branch = "🦀", default-features = false, features = ["all_extensions"], optional = true } rabbitizer = { git = "https://github.com/Decompollaborate/rabbitizer.git", branch = "🦀", default-features = false, features = ["all_extensions"], optional = true }

View File

@ -42,7 +42,7 @@ png = "0.17"
pollster = "0.4" pollster = "0.4"
regex = "1.11" regex = "1.11"
rfd = { version = "0.15" } #, default-features = false, features = ['xdg-portal'] rfd = { version = "0.15" } #, default-features = false, features = ['xdg-portal']
rlwinmdec = { version = "1.0", git = "https://github.com/CelestialAmber/rlwinmdec.git" } rlwinmdec = "1.1"
ron = "0.8" ron = "0.8"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
time = { version = "0.3", features = ["formatting", "local-offset"] } time = { version = "0.3", features = ["formatting", "local-offset"] }