jep106

Crates.iojep106
lib.rsjep106
version0.3.0
created_at2019-05-17 22:36:34.739356+00
updated_at2025-05-07 13:12:56.398268+00
descriptionA pollable collection of all JEP106 manufacturer codes.
homepagehttps://github.com/Yatekii/jep106
repositoryhttps://github.com/Yatekii/jep106
max_upload_size
id134995
size172,056
Dominik Boehi (Tiwalun)

documentation

https://docs.rs/jep106/

README

jep106

crates.io

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 JEP106BL Revision of the codes list which was published in February 2025.

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

# Rust
# 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

# NPM/JSON
# Then run the following command to parse the PDF and generate the `codes.json`
cargo run -- --pdf JEP106BE.pdf --jep_version BE --format json
# Copy the `codes.json` to the src/ folder and format it
mv codes.json /path/to/jep106/src/codes.json

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.

Commit count: 35

cargo fmt