[package]
edition = "2021"
name = "rust-stdf"
version = "0.4.1"
authors = ["noonchen <chennoon233@foxmail.com>"]
build = false
exclude = ["/demo_stdf"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for parsing Standard Test Data Format (STDF) files of version V4 and V4-2007."
documentation = "https://docs.rs/rust-stdf/"
readme = "README.md"
keywords = [
"stdf",
"atdf",
"semiconductor",
"parse",
]
license = "MIT"
repository = "https://github.com/noonchen/rust-stdf"
[features]
atdf = [
"chrono",
"hex",
]
bzip = ["bzip2"]
default = [
"gzip",
"bzip",
]
gzip = ["flate2"]
serialize = [
"serde",
"struct-field-names-as-array",
]
zipfile = ["zip"]
[lib]
name = "rust_stdf"
path = "src/lib.rs"
[[example]]
name = "atdf_reader"
path = "example/atdf_example.rs"
required-features = ["atdf"]
[[example]]
name = "stdf_raw_iter_example"
path = "example/stdf_raw_iter_example.rs"
[[example]]
name = "stdf_raw_view_iter_example"
path = "example/stdf_raw_view_iter_example.rs"
[[example]]
name = "stdf_record_printer"
path = "example/stdf_example.rs"
[[example]]
name = "stdf_to_xlsx"
path = "example/stdf_to_xlsx.rs"
required-features = ["serialize"]
[[test]]
name = "record_serialize_test"
path = "tests/record_serialize_test.rs"
[[test]]
name = "stdf_file_tests"
path = "tests/stdf_file_tests.rs"
[[test]]
name = "stdf_record_tests"
path = "tests/stdf_record_tests.rs"
[dependencies.bzip2]
version = "0.6.1"
optional = true
[dependencies.chrono]
version = "0.4.45"
optional = true
[dependencies.flate2]
version = "1.1.9"
optional = true
[dependencies.hex]
version = "0.4.3"
optional = true
[dependencies.rust-stdf-derive]
version = "0.4.1"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
optional = true
[dependencies.smart-default]
version = "0.6.0"
[dependencies.struct-field-names-as-array]
version = "0.1.4"
optional = true
[dependencies.zip]
version = "2.4.2"
features = [
"deflate",
"bzip2",
]
optional = true
default-features = false
[dev-dependencies.rand]
version = "0.8.7"
[dev-dependencies.rust_xlsxwriter]
version = "0.84.1"
features = ["constant_memory"]
[dev-dependencies.serde_json]
version = "1.0.151"
[profile.release]
lto = "fat"
codegen-units = 1