Skip to content

Commit

Permalink
minor nits
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Nov 2, 2024
1 parent 0b33de3 commit 22a7adf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Automotive diagnostics in Rust

[![GitHub](https://img.shields.io/badge/github-nyurik/automotive_diag-8da0cb?logo=github)](https://github.com/nyurik/automotive_diag)
[![crates.io version](https://img.shields.io/crates/v/automotive_diag.svg)](https://crates.io/crates/automotive_diag)
[![docs.rs docs](https://docs.rs/automotive_diag/badge.svg)](https://docs.rs/automotive_diag)
[![crates.io version](https://img.shields.io/crates/l/automotive_diag.svg)](https://github.com/nyurik/automotive_diag/blob/main/LICENSE-APACHE)
[![crates.io version](https://img.shields.io/crates/v/automotive_diag)](https://crates.io/crates/automotive_diag)
[![docs.rs](https://img.shields.io/docsrs/automotive_diag)](https://docs.rs/automotive_diag)
[![crates.io license](https://img.shields.io/crates/l/automotive_diag)](https://github.com/nyurik/automotive_diag/blob/main/LICENSE-APACHE)
[![CI build](https://github.com/nyurik/automotive_diag/actions/workflows/ci.yml/badge.svg)](https://github.com/nyurik/automotive_diag/actions)

This crate provides low-level `no_std` structs and enums of
Expand All @@ -19,7 +19,8 @@ pull request.
## Usage

All values are presented as Rust `enum`, and can be converted to/from their underlying numeric values using
the `T::from_repr(u8)` and `u8::from(value)`. Most enums also have a corresponding `...Byte` enums as `ByteWrapper<T>` to
the `T::from_repr(u8)` and `u8::from(value)`. Most enums also have a corresponding `...Byte` enums as
`ByteWrapper<T>` to
handle the non-standard `Extended(u8)` values in addition to the defined `Standand(T)` ones.

```rust
Expand Down
3 changes: 1 addition & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env just --justfile

@_default:
just --list --unsorted
just --list

# Clean all build artifacts
clean:
Expand Down Expand Up @@ -34,7 +34,6 @@ check:
RUSTFLAGS='-D warnings' cargo check
RUSTFLAGS='-D warnings' cargo check --no-default-features --features with-uds


# Run all tests
test:
RUSTFLAGS='-D warnings' cargo test
Expand Down

0 comments on commit 22a7adf

Please sign in to comment.