Skip to content

Commit

Permalink
initial implementation (#1)
Browse files Browse the repository at this point in the history
* initial implementation

* address a couple review comments

* use "Infinite Athlete, Inc." everywhere
* get rid of unneeded `Cargo.toml` release profile tweaking

* delete stray extra file

* address some review feedback

* add `Frame`/`FrameBuf` abstraction to allow caller to avoid
  preinitialization without any use of `unsafe`. This also offers
  an interface for padded lines, although the conversion currently
  returns unsupported if it's used.

* return a `ConversionError` rather than the more specific
  `Unsupported`. The error is currently opaque; this could be changed
  later without breaking compatibility.

* fix x86_64 compile error

* remove obsolete MaybeUninit import line

* overhaul `Frame` design

* clippy

* fix bench crash

* add plane ref/mut constructors; tiny fixes

* fix obsolete comment

* consistently panic as advertised in `PartialEq`

* re-export entire `arrayvec` crate
  • Loading branch information
scottlamb authored Jun 14, 2024
1 parent 0e0d340 commit dd6d4c3
Show file tree
Hide file tree
Showing 14 changed files with 2,556 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Push

on:
push:

defaults:
run:
shell: bash

jobs:
build:
runs-on: ${{ matrix.runner }}

strategy:
matrix:
runner: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
- name: Cache
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.runner }}
- run: cargo install cargo-criterion
- run: uname -a
- run: cargo fmt -- --check
- run: cargo clippy -- --deny warnings
- run: cargo test --release
- run: cargo criterion
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit dd6d4c3

Please sign in to comment.