[package] name = "rust-stdf" authors = ["noonchen "] description = "A library for parsing Standard Test Data Format (STDF) files of version V4 and V4-2007." repository = "https://github.com/noonchen/rust-stdf" documentation = "https://docs.rs/rust-stdf/" readme = "README.md" license = "MIT" version = "0.3.1" edition = "2021" keywords = ["stdf", "atdf", "semiconductor", "parse"] exclude = ["/demo_stdf"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [profile.release] lto = "fat" codegen-units = 1 [dependencies] smart-default = "0.6.0" flate2 = { version = "1.0.24", optional = true} bzip2 = { version = "0.4.3", optional = true} zip = { version = "0.6.3", default-features = false, features = [ "deflate", "bzip2" ], optional = true } chrono = { version = "0.4.22", optional = true} hex = { version = "0.4.3", optional = true } serde = { version = "1.0.147", features = ["derive"], optional = true} struct-field-names-as-array = { version = "0.1.4", optional = true} [dev-dependencies] rand = "0.8.5" serde_json = "1.0.87" rust_xlsxwriter = "0.12.1" [features] gzip = ["flate2"] bzip = ["bzip2"] zipfile = ["zip"] atdf = [ "chrono", "hex" ] serialize = [ "serde", "struct-field-names-as-array" ] default = [ "gzip", "bzip" ] [[example]] name = "stdf_record_printer" path = "example/stdf_example.rs" [[example]] name = "stdf_raw_iter_example" path = "example/stdf_raw_iter_example.rs" [[example]] name = "stdf_to_xlsx" path = "example/stdf_to_xlsx.rs" required-features = ["serialize"] [[example]] name = "atdf_reader" path = "example/atdf_example.rs" required-features = ["atdf"]