#manufacturer #id #string #codes #pdf #jedec

no-std jep106

A pollable collection of all JEP106 manufacturer codes

12 releases

0.2.10 Nov 9, 2024
0.2.9 Nov 9, 2024
0.2.8 Aug 14, 2022
0.2.6 Oct 29, 2021
0.1.0 May 17, 2019

#86 in Embedded development

Download history 1686/week @ 2024-08-04 1530/week @ 2024-08-11 1819/week @ 2024-08-18 1554/week @ 2024-08-25 1463/week @ 2024-09-01 1674/week @ 2024-09-08 1939/week @ 2024-09-15 2138/week @ 2024-09-22 2064/week @ 2024-09-29 1462/week @ 2024-10-06 1891/week @ 2024-10-13 2266/week @ 2024-10-20 1924/week @ 2024-10-27 1784/week @ 2024-11-03 2170/week @ 2024-11-10 1997/week @ 2024-11-17

7,975 downloads per month
Used in 31 crates (8 directly)

MIT/Apache

115KB
4K SLoC

jep106

documentation

This crate provides a means to retrieve the JEDEC manufacturer string for a corresponding JEP106 ID Code.

All the codes can be found on the page of the JEDEC organization but are presented in as a PDF. This crate contains the parsed data from the PDF and exposes an interface to poll the JEDEC manufacturer string of a JEP106 ID code.

The PDF is parsed by the jep106-parse helper crate.

Status

The crate provides the JEP106BK Revision of the codes list which was published in September 2024.

Usage

See docs.

Development

This crate only contains the library part of the jep106 crate. To change how the PDF itself is processed, check out the jep106-parse helper crate.

Step to use jep106-parse

# clone the repo
git clone https://github.com/Tiwalun/jep106-parser.git
cd jep106-parser
# Download the latest version of the PDF, say, JEP106BE.pdf
# Then run the following command to parse the PDF and generate the `codes.rs`
cargo run -- --pdf JEP106BE.pdf --jep_version BE
# Copy the `codes.rs` to the src/ folder and format it
mv codes.rs /path/to/jep106/src/codes.rs
cargo fmt

License

Licensed under either of

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.3–1MB
~22K SLoC