Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(*): add Model #5

Merged
merged 40 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
3572b06
build(Cargo.*): add hashbrown
david-r-cox Jan 5, 2024
304f443
test(unit.rs): move data to tests/data
david-r-cox Jan 5, 2024
c34e484
test(tests/data): init should_fail
david-r-cox Jan 5, 2024
cb18b12
feat(Model): begin implementing Model::try_from<Parser>
david-r-cox Jan 5, 2024
032753a
feat(Model): implement RowColumnValueMap::try_from
david-r-cox Jan 6, 2024
73a044d
test(Model): add test_unspecified_row_type
david-r-cox Jan 6, 2024
3c5ab75
refactor(RowTypeMap): move exists() into RowTypeMap
david-r-cox Jan 8, 2024
000c0a8
feat(RhsMap): add RhsMap
david-r-cox Jan 8, 2024
69bd9ea
build(Cargo.*): add insta
david-r-cox Jan 9, 2024
67be7bc
refactor(feature = located): rename to trace
david-r-cox Jan 10, 2024
8d196e9
build(Cargo.*): add serde, consolidate feature flags
david-r-cox Jan 10, 2024
3cbeb83
feat(types.rs): optionally derive Serialize
david-r-cox Jan 10, 2024
496916e
test(tests/parse.rs): break out parser tests
david-r-cox Jan 10, 2024
529b5af
test(tests/snapshots): initialize snapshots
david-r-cox Jan 10, 2024
22abc65
refactor(Parser::parse): nom internals now exposed via Parser::mps_file
david-r-cox Jan 10, 2024
bd2921e
test(proptests.rs): test_bound_type_doesnt_crash fails with unimpleme…
david-r-cox Jan 10, 2024
8520165
docs(README.md): add roadmap
david-r-cox Jan 11, 2024
6461c33
feat(BoundsMap): add BoundsMap
david-r-cox Jan 19, 2024
c703316
fix(BoundsMap): move BoundType into key to allow multiple types per c…
david-r-cox Jan 19, 2024
c4cb9fd
test(BoundsMap): add test_conflicting_bounds_line
david-r-cox Jan 19, 2024
eadab19
build(Cargo.*): add fast-float
david-r-cox Jan 19, 2024
cbe5751
fix(Parser): require endata section
david-r-cox Jan 19, 2024
87160ca
fix(Parse): allow empty sections, err on incomplete sections
david-r-cox Jan 19, 2024
42ac68e
fix(Parse::line): conform to MPS offset spec
david-r-cox Jan 19, 2024
97615a3
feat(RangesMap): add RangesMap
david-r-cox Jan 19, 2024
da85b64
fix(BoundType): value is optional in FR, PL bounds
david-r-cox Jan 20, 2024
d88c070
fix(Parse, Model): trim all names
david-r-cox Jan 21, 2024
c2d0e38
test(conflicting_ranges_line): add conflict
david-r-cox Jan 21, 2024
11611a9
style(Parse, RowTypeMap): clippy
david-r-cox Jan 21, 2024
dba36c1
test(snapshots): add snapshot for try_from_bnl1
david-r-cox Jan 21, 2024
79370ed
test(Parse): enable parse_d6cube
david-r-cox Jan 21, 2024
2657d03
refactor(*): make generic over T: FastFloat
david-r-cox Jan 22, 2024
f23cc2a
refactor(Model): derive Serialize
david-r-cox Jan 22, 2024
e3077f0
refactor(flake.nix): consolidate buildInputs
david-r-cox Jan 22, 2024
a7e4805
fix(RowLine): handle whitespace in row names
david-r-cox Jan 22, 2024
0f9a2ff
test(Model): add snapshot tests
david-r-cox Jan 22, 2024
601f587
docs(lib.rs): fix docstring
david-r-cox Jan 22, 2024
a2a3b37
ci(ci.yml): run tests inside nix shell
david-r-cox Jan 22, 2024
a3d3ca6
style(Parse): clippy
david-r-cox Jan 22, 2024
cfc007f
build(Cargo.*, benchmark.rs): disallow trace in benchmark (ci perf)
david-r-cox Jan 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ jobs:
- name: build tests
run: |
if [[ $RUNNER_OS == Linux ]]; then
nix build .#ci
nix develop --command cargo test-all-features
else
nix build .#ci \
--override-input nixpkgs github:nixos/nixpkgs/nixpkgs-23.05-darwin
nix develop \
--override-input nixpkgs github:nixos/nixpkgs/nixpkgs-23.05-darwin \
--command cargo test-all-features
fi

lint:
Expand Down
Loading