Compare commits
3 Commits
fc851e8408
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
6e68129247
|
|||
|
5d5e1b3df3
|
|||
|
37d6b04dba
|
Generated
+5
-5
@@ -14,19 +14,19 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "indenter"
|
||||
version = "0.3.3"
|
||||
version = "0.3.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
|
||||
checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5"
|
||||
|
||||
[[package]]
|
||||
name = "linkspeed"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
dependencies = [
|
||||
"eyre",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.21.3"
|
||||
version = "1.21.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
||||
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "linkspeed"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
[private]
|
||||
default: dev
|
||||
|
||||
# Run the program with optional arguments
|
||||
dev *args:
|
||||
cargo run -- {{ args }}
|
||||
|
||||
# Run fmt on Rust source files and TOML files
|
||||
fmt:
|
||||
cargo +nightly fmt
|
||||
fd -e toml -x tombi format --quiet
|
||||
just --fmt
|
||||
|
||||
# Run clippy on all workspace packages, tests, and examples
|
||||
clippy:
|
||||
cargo clippy --workspace --all-targets
|
||||
|
||||
# Run the default build
|
||||
build:
|
||||
cargo build
|
||||
|
||||
# Run a release debug build
|
||||
build-release:
|
||||
cargo build --release
|
||||
|
||||
# Run a production build with link-time optimization (LTO)
|
||||
build-production:
|
||||
cargo build --profile release-lto
|
||||
|
||||
# Install the binary targeting native target-cpu and x86_64-unknown-linux-gnu
|
||||
install:
|
||||
RUSTFLAGS="-C target-cpu=native" cargo install --path . --target x86_64-unknown-linux-gnu --profile release-lto --force
|
||||
|
||||
# Clean build artifacts
|
||||
clean:
|
||||
cargo clean
|
||||
Reference in New Issue
Block a user