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

jep106

A pollable collection of all JEP106 manufacturer codes

10 releases

0.2.8 Aug 14, 2022
0.2.7 Aug 9, 2022
0.2.6 Oct 29, 2021
0.2.5 Jan 7, 2021
0.1.0 May 17, 2019

#70 in Embedded development

Download history 1462/week @ 2023-12-15 958/week @ 2023-12-22 1508/week @ 2023-12-29 1459/week @ 2024-01-05 2087/week @ 2024-01-12 2138/week @ 2024-01-19 1978/week @ 2024-01-26 1771/week @ 2024-02-02 1945/week @ 2024-02-09 1992/week @ 2024-02-16 2040/week @ 2024-02-23 1933/week @ 2024-03-01 1966/week @ 2024-03-08 1948/week @ 2024-03-15 1970/week @ 2024-03-22 1394/week @ 2024-03-29

7,586 downloads per month
Used in 33 crates (8 directly)

MIT/Apache

96KB
3.5K SLoC

jep106

documentation

Build Status

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 JEP106BE Revision of the codes list which was published in January 2022.

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.4–1MB
~23K SLoC