corgi-rs 0.2.3

Vehicle VIN decoding library based on NHTSA database for Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::decoder::VinDecoderError;
pub use build_shared::*;

pub mod build_shared;
pub mod decoder;
pub mod maps;
pub mod pattern;

#[cfg(feature = "parallel")]
pub const RAYON_CHUNK_SIZE: usize = 48;

pub type VIN = String;

#[derive(Debug)]
pub enum CorgiError {
    VinDecoder(VIN, VinDecoderError),
}