Skip to content

Commit

Permalink
add copyright symbol; fix potential warnings on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
kadiwa4 committed Feb 22, 2024
1 parent baf27c6 commit c8074a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
© 2024 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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ On the downside, the interface isn't the most ergonomic.
## Alternatives
- [`fdt-rs`](https://github.com/rs-embedded/fdt-rs): can even build an index to interact with DTBs faster
- [`fdt`](https://github.com/repnop/fdt): comes with extra types for a couple of common nodes

## License
This project is licensed under the MIT license ([LICENSE-MIT](LICENSE-MIT) or
https://opensource.org/license/mit/).
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
//!
//! [spec]: https://www.devicetree.org/specifications
#![cfg_attr(not(feature = "std"), no_std)]
#![no_std]

#[cfg(feature = "alloc")]
extern crate alloc as std_alloc;
#[cfg(feature = "std")]
extern crate std;

#[cfg(feature = "alloc")]
pub mod alloc;
Expand Down

0 comments on commit c8074a3

Please sign in to comment.