Skip to content

Commit 42a24d6

Browse files
authored
Merge pull request #19 from acgetchell/update/tooling-and-rust-version
Changed: Update tooling, Rust version, and dependencies
2 parents 5520283 + d701b58 commit 42a24d6

File tree

14 files changed

+452
-94
lines changed

14 files changed

+452
-94
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ env:
2424
RUST_BACKTRACE: 1
2525
ACTIONLINT_VERSION: "1.7.10"
2626
MARKDOWNLINT_VERSION: "0.47.0"
27-
CSPELL_VERSION: "9.4.0"
27+
CSPELL_VERSION: "9.6.2"
2828
SHFMT_VERSION: "3.12.0"
29-
UV_VERSION: "0.9.21"
29+
UV_VERSION: "0.9.28"
3030

3131
jobs:
3232
build:
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Install just
6060
if: matrix.os != 'windows-latest'
61-
uses: taiki-e/install-action@29feb09ac22f4fde4175fe7b5c3548952234f69a # v2.67.17
61+
uses: taiki-e/install-action@29feb09ac22f4fde4175fe7b5c3548952234f69a # v2.67.17
6262
with:
6363
tool: just
6464

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fi
4949
5050
- name: Install just
51-
uses: taiki-e/install-action@29feb09ac22f4fde4175fe7b5c3548952234f69a # v2.67.17
51+
uses: taiki-e/install-action@29feb09ac22f4fde4175fe7b5c3548952234f69a # v2.67.17
5252
with:
5353
tool: just
5454

WARP.md renamed to AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# WARP.md
1+
# AGENTS.md
22

3-
This file provides guidance to WARP (warp.dev) when working with code in this repository.
3+
This file provides guidance for automated agents (including Warp at warp.dev) when working with code in this repository.
44

55
## Priorities
66

Cargo.lock

Lines changed: 51 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "la-stack"
33
version = "0.1.2"
44
edition = "2024"
5-
rust-version = "1.92"
5+
rust-version = "1.93"
66
license = "BSD-3-Clause"
77
description = "Small, stack-allocated linear algebra for fixed dimensions"
88
readme = "README.md"
@@ -12,19 +12,24 @@ categories = [ "mathematics", "science" ]
1212
keywords = [ "linear-algebra", "geometry", "const-generics" ]
1313

1414
[dependencies]
15-
# Intentionally empty
15+
# Intentionally empty (bench-only deps are optional features below)
16+
criterion = { version = "0.8.1", features = [ "html_reports" ], optional = true }
17+
faer = { version = "0.24.0", default-features = false, features = [ "std", "linalg" ], optional = true }
18+
nalgebra = { version = "0.34.1", optional = true }
1619

1720
[dev-dependencies]
1821
approx = "0.5.1"
19-
criterion = { version = "0.8.1", features = [ "html_reports" ] }
20-
faer = { version = "0.23.2", default-features = false, features = [ "std", "linalg" ] }
21-
nalgebra = "0.34.1"
2222
pastey = "0.2.1"
2323
proptest = "1.9.0"
2424

25+
[features]
26+
default = [ ]
27+
bench = [ "criterion", "faer", "nalgebra" ]
28+
2529
[[bench]]
2630
name = "vs_linalg"
2731
harness = false
32+
required-features = [ "bench" ]
2833

2934
[lints.rust]
3035
unsafe_code = "forbid"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ just fix # apply auto-fixes (mutating)
137137
just ci # lint + tests + examples + bench compile
138138
```
139139

140-
For the full set of developer commands, see `just --list` and `WARP.md`.
140+
For the full set of developer commands, see `just --list` and `AGENTS.md`.
141141

142142
## 📝 Citation
143143

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"sarif",
7777
"Schreiber",
7878
"semgrep",
79+
"serde",
7980
"setuptools",
8081
"shellcheck",
8182
"SHFMT",
Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
D,la_stack,la_lo,la_hi,nalgebra,na_lo,na_hi,faer,fa_lo,fa_hi
2-
2,2.0426140654904827,2.0391714186102856,2.0478594146918607,18.27778331516731,18.25588547829167,18.353343071154377,159.2814967810837,158.47282250661482,159.94929876504062
3-
3,13.449391348041551,13.441149735016948,13.468703234496012,23.33714807833139,23.197918644389595,23.432750888142905,196.59112056791784,195.46791977222858,197.64819469379614
4-
4,27.80669858961578,27.79483103644443,27.82507517021301,54.198756567150525,54.1371885181747,54.25850823046414,226.2216645280771,225.69147147746128,226.77489608417022
5-
5,46.075071909216696,46.0009302878795,46.22542128093703,73.54836237475409,73.15376033523773,73.65083570024034,290.9144674933806,290.3368842481312,292.2770703780476
6-
8,138.18689626060086,137.6385886896043,138.71964020251693,177.4526788255892,176.72965942802895,177.76610014816572,379.88559054369557,378.0171460866489,381.43214918535807
7-
16,626.0776434176701,622.7027039893363,627.8191979162416,594.0545445505171,590.9848069960763,596.1921326044237,897.0439411793589,892.3923679060665,903.3721630306105
8-
32,2684.695543866568,2682.287244245524,2692.145801224854,2502.0311961897173,2498.0753625161688,2507.013007391502,2909.4663798139577,2905.3646097654746,2914.4703556771547
9-
64,16721.57637997433,16681.169824561402,16765.606725146197,14875.769757096798,14835.11001141987,14911.022279129322,12493.628154592803,12481.801167582416,12502.518368055556
2+
8,139.1757887813422,138.85553999302812,139.43884658648437,178.21202693227167,177.52836844843281,178.55635798393308,385.32108423907505,384.06743118586223,386.57307928983295
3+
16,621.9073704935589,609.1396166716988,629.7385504068142,593.0675282677521,591.0085279317698,593.8912579957356,914.6753125472296,910.9807147912244,918.442061653845
4+
32,2686.106579251768,2673.9338182855513,2693.15666392619,2494.9662128806867,2492.8615451388887,2498.0652466220645,2928.5380530973453,2923.4865662122297,2933.5632483081727
5+
64,16748.679299149127,16714.879960962913,16783.847576211894,14695.374476410936,14657.57544191919,14718.787518037518,12441.879753474954,12411.776004717805,12477.712264150943

0 commit comments

Comments
 (0)