-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
58 lines (50 loc) · 1.63 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "rust-stdf"
authors = ["noonchen <[email protected]>"]
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"]