Skip to content

Commit

Permalink
Separate Rust sources into packages using a Cargo workspace
Browse files Browse the repository at this point in the history
Doing this avoids packing unnecessary dependencies into each binary and makes the project structure much cleaner.
  • Loading branch information
m4heshd committed Apr 19, 2024
1 parent 8ddaeea commit f066a0d
Show file tree
Hide file tree
Showing 19 changed files with 243 additions and 172 deletions.
8 changes: 4 additions & 4 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
rustflags = ["-C", "target-feature=+crt-static"]

[alias]
build-win32 = 'build --release --bin ufc-ripper --features=exe_res'
build-linux = 'build --release --bin ufc-ripper'
pack-win32 = 'run --release --bin pack -- --platform win32'
pack-linux = 'run --release --bin pack -- --platform linux'
build-win32 = 'build --release --package ufc-ripper --features=exe_res'
build-linux = 'build --release --package ufc-ripper'
pack-win32 = 'run --release --package pack -- --platform win32'
pack-linux = 'run --release --package pack -- --platform linux'
Loading

0 comments on commit f066a0d

Please sign in to comment.