| 1 |
[package] |
| 2 |
name = "delharc" |
| 3 |
version = "0.6.1" |
| 4 |
authors = ["Rafal Michalski <[email protected]>"] |
| 5 |
edition = "2021" |
| 6 |
description = "A library for parsing and extracting files from LHA/LZH archives." |
| 7 |
categories = ["compression"] |
| 8 |
keywords = ["LHA", "LZH", "UNLHA"] |
| 9 |
homepage = "https://github.com/royaltm/rust-delharc" |
| 10 |
repository = "https://github.com/royaltm/rust-delharc" |
| 11 |
license = "MIT OR Apache-2.0" |
| 12 |
readme = "README.md" |
| 13 |
exclude = [".github", ".gitignore", "tests/*", "examples/*"] |
| 14 |
|
| 15 |
[package.metadata.docs.rs] |
| 16 |
all-features = true |
| 17 |
|
| 18 |
[features] |
| 19 |
default = ["std", "lh1", "lz"] |
| 20 |
std = ["chrono/std", "chrono/clock"] |
| 21 |
lh1 = [] |
| 22 |
lhx = [] |
| 23 |
lz = [] |
| 24 |
|
| 25 |
[dependencies] |
| 26 |
chrono = { version = "0.4", default-features = false } |
| 27 |
bitflags = "2.5" |
| 28 |
memchr = { version = "2", default-features = false } |
| 29 |
|
| 30 |
[dev-dependencies] |
| 31 |
crc-any = { version = "2.5", default-features = false } |
| 32 |
rand = "0.8.5" |
| 33 |
|
| 34 |
[[example]] |
| 35 |
name = "extract" |
| 36 |
path = "examples/extract.rs" |
| 37 |
required-features = ["std"] |
| 38 |
|
| 39 |
[[test]] |
| 40 |
name = "decode" |
| 41 |
path = "tests/decode.rs" |
| 42 |
required-features = ["std"] |
| 43 |
[[test]] |
| 44 |
name = "larc333" |
| 45 |
path = "tests/larc333.rs" |
| 46 |
required-features = ["std"] |
| 47 |
[[test]] |
| 48 |
name = "lenghts" |
| 49 |
path = "tests/lenghts.rs" |
| 50 |
required-features = ["std"] |
| 51 |
[[test]] |
| 52 |
name = "lha213" |
| 53 |
path = "tests/lha213.rs" |
| 54 |
required-features = ["std"] |
| 55 |
[[test]] |
| 56 |
name = "lha255e" |
| 57 |
path = "tests/lha255e.rs" |
| 58 |
required-features = ["std"] |
| 59 |
[[test]] |
| 60 |
name = "lha_amiga_122" |
| 61 |
path = "tests/lha_amiga_122.rs" |
| 62 |
required-features = ["std"] |
| 63 |
[[test]] |
| 64 |
name = "lha_amiga_212" |
| 65 |
path = "tests/lha_amiga_212.rs" |
| 66 |
required-features = ["std"] |
| 67 |
[[test]] |
| 68 |
name = "lha_os2_208" |
| 69 |
path = "tests/lha_os2_208.rs" |
| 70 |
required-features = ["std"] |
| 71 |
[[test]] |
| 72 |
name = "lha_os9_211c" |
| 73 |
path = "tests/lha_os9_211c.rs" |
| 74 |
required-features = ["std"] |
| 75 |
[[test]] |
| 76 |
name = "lha_osk_201" |
| 77 |
path = "tests/lha_osk_201.rs" |
| 78 |
required-features = ["std"] |
| 79 |
[[test]] |
| 80 |
name = "lha_unix114i" |
| 81 |
path = "tests/lha_unix114i.rs" |
| 82 |
required-features = ["std"] |
| 83 |
[[test]] |
| 84 |
name = "lha_x68k_213" |
| 85 |
path = "tests/lha_x68k_213.rs" |
| 86 |
required-features = ["std"] |
| 87 |
[[test]] |
| 88 |
name = "lharc113" |
| 89 |
path = "tests/lharc113.rs" |
| 90 |
required-features = ["std"] |
| 91 |
[[test]] |
| 92 |
name = "lharc_atari_313a" |
| 93 |
path = "tests/lharc_atari_313a.rs" |
| 94 |
required-features = ["std"] |
| 95 |
[[test]] |
| 96 |
name = "lhmelt_16536" |
| 97 |
path = "tests/lhmelt_16536.rs" |
| 98 |
required-features = ["std"] |
| 99 |
[[test]] |
| 100 |
name = "lzs" |
| 101 |
path = "tests/lzs.rs" |
| 102 |
required-features = ["std"] |
| 103 |
[[test]] |
| 104 |
name = "regression" |
| 105 |
path = "tests/regression.rs" |
| 106 |
required-features = ["std"] |
| 107 |
[[test]] |
| 108 |
name = "unlha32" |
| 109 |
path = "tests/unlha32.rs" |
| 110 |
required-features = ["std"] |
| 111 |
|
| 112 |
[workspace] |
| 113 |
members = [ |
| 114 |
".", |
| 115 |
"examples/embedded" |
| 116 |
] |