Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
remove old version of actions/checkout
  • Loading branch information
kadiwa4 committed Sep 28, 2023
1 parent 014901c commit 7e04606
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
with:
show-progress: false
- name: Install MIRI
- name: Install Miri
run: |
rustup toolchain install nightly --profile minimal -c miri,rust-src
cargo +nightly miri setup
Expand All @@ -25,7 +25,7 @@ jobs:
run: cargo clippy --all-features
- name: Run tests
run: cargo test --all-features
- name: Run tests with MIRI
- name: Run tests with Miri
run: cargo +nightly miri test --all-features

check-specific-features:
Expand All @@ -34,7 +34,7 @@ jobs:
matrix:
features: ["", "alloc derive"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy -F "${{ matrix.features }}"
- name: Run tests
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name = "devicetree"
version = "0.0.1"
edition = "2021"
rust-version = "1.65"
description = "efficient `#![no_std]` parser for devicetree blobs"
license = "MIT"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 0 additions & 4 deletions license.txt → LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
MIT License

Copyright 2023 Kalle Wachsmuth

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Rust crate `devicetree`

Parser for devicetree blobs compliant (hopefully) with version 0.4 of
[the specification][spec].
Efficient `#![no_std]` parser for devicetree blobs compliant (hopefully) with version 0.4 of [the specification][spec].

This is in an early stage of development. Use [`fdt-rs`](https://lib.rs/crates/fdt-rs) instead.

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Parser for devicetree blobs compliant (hopefully) with version 0.4 of
//! [the specification][spec].
//! Efficient `#![no_std]` parser for devicetree blobs compliant (hopefully)
//! with version 0.4 of [the specification][spec].
//!
//! [spec]: https://www.devicetree.org/specifications
Expand Down
2 changes: 1 addition & 1 deletion tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ fn build() {
}

#[test]
#[cfg_attr(miri, ignore)] // MIRI warns on pointer provenance violations
#[cfg_attr(miri, ignore)] // miri warns on pointer provenance violations
fn from_ptr() {
let original = dt();
let from_ptr = unsafe {
Expand Down

0 comments on commit 7e04606

Please sign in to comment.