Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tgstation/rust-g
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.0.0
Choose a base ref
...
head repository: tgstation/rust-g
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.1.0
Choose a head ref
  • 9 commits
  • 11 files changed
  • 5 contributors

Commits on Sep 25, 2023

  1. Some routine updates for 3.0.0 (#152)

    routine package maintenance and upgrades - i went through the breaking changes and didn't see anything that looked like it affected us, only additions to public apis really
    ZeWaka authored Sep 25, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    Julesssss Jules
    Copy the full SHA
    85631fa View commit details

Commits on Dec 17, 2023

  1. Verified

    This commit was signed with the committer’s verified signature.
    Julesssss Jules
    Copy the full SHA
    b964c87 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    Julesssss Jules
    Copy the full SHA
    9cfa350 View commit details
  3. More routine updates (#157)

    ZeWaka authored Dec 17, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    Julesssss Jules
    Copy the full SHA
    75a6384 View commit details

Commits on Dec 23, 2023

  1. Verified

    This commit was signed with the committer’s verified signature.
    Julesssss Jules
    Copy the full SHA
    50f36fa View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    Julesssss Jules
    Copy the full SHA
    bf20ba0 View commit details
  3. v3.1.0 (#161)

    ZeWaka authored Dec 23, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    Julesssss Jules
    Copy the full SHA
    79f04b1 View commit details

Commits on Dec 24, 2023

  1. Verified

    This commit was signed with the committer’s verified signature.
    Julesssss Jules
    Copy the full SHA
    c3313a1 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4aff57f View commit details
Showing with 1,306 additions and 630 deletions.
  1. +15 −46 .github/workflows/rust.yml
  2. +1,220 −545 Cargo.lock
  3. +26 −20 Cargo.toml
  4. +1 −1 dmsrc/file.dm
  5. +6 −0 dmsrc/git.dm
  6. +5 −0 dmsrc/hash.dm
  7. +3 −3 dmsrc/pathfinder.dm
  8. +16 −14 src/git.rs
  9. +4 −0 src/hash.rs
  10. +1 −1 src/pathfinder.rs
  11. +9 −0 tests/dm/hash.dme
61 changes: 15 additions & 46 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -2,44 +2,31 @@ name: rust-g
on:
push:
branches:
- master
- master
pull_request:
branches:
- master
- master
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: i686-pc-windows-msvc
targets: i686-pc-windows-msvc
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2

- name: Clippy (all features)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: clippy
args: --target i686-pc-windows-msvc --features all --locked -- -D warnings
run: cargo clippy --target i686-pc-windows-msvc --features all --locked -- -D warnings

- name: Rustfmt
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: fmt
args: -- --check
run: cargo fmt -- --check

- name: Build (release) (default features)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: build
args: --target i686-pc-windows-msvc --locked --release
run: cargo build --target i686-pc-windows-msvc --locked --release

- uses: actions/upload-artifact@v3
with:
@@ -49,7 +36,6 @@ jobs:
target/i686-pc-windows-msvc/release/rust_g.pdb
target/rust_g.dm
build-linux:
runs-on: ubuntu-latest
env:
@@ -58,50 +44,33 @@ jobs:
PKG_CONFIG_ALLOW_CROSS: 1

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libgcc-s1:i386 g++-multilib zlib1g-dev:i386
./scripts/install_byond.sh
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: i686-unknown-linux-gnu
targets: i686-unknown-linux-gnu

- uses: Swatinem/rust-cache@v2

- name: Check (all features)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: check
args: --target i686-unknown-linux-gnu --locked --features all
run: cargo check --target i686-unknown-linux-gnu --locked --features all

- name: Build (Debug) (all features)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: build
args: --target i686-unknown-linux-gnu --locked --features all
run: cargo build --target i686-unknown-linux-gnu --locked --features all

- name: Run tests (all features)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: test
args: --target i686-unknown-linux-gnu --locked --features all
run: cargo test --target i686-unknown-linux-gnu --locked --features all
env:
BYOND_BIN: /home/runner/BYOND/byond/bin

- name: Build (release) (default features)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: build
args: --target i686-unknown-linux-gnu --locked --release
run: cargo build --target i686-unknown-linux-gnu --locked --release

- uses: actions/upload-artifact@v3
with:
Loading