| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "delharc" |
| 15 |
version = "0.6.1" |
| 16 |
authors = ["Rafal Michalski <[email protected]>"] |
| 17 |
exclude = [ |
| 18 |
".github", |
| 19 |
".gitignore", |
| 20 |
"tests/*", |
| 21 |
"examples/*", |
| 22 |
] |
| 23 |
description = "A library for parsing and extracting files from LHA/LZH archives." |
| 24 |
homepage = "https://github.com/royaltm/rust-delharc" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"LHA", |
| 28 |
"LZH", |
| 29 |
"UNLHA", |
| 30 |
] |
| 31 |
categories = ["compression"] |
| 32 |
license = "MIT OR Apache-2.0" |
| 33 |
repository = "https://github.com/royaltm/rust-delharc" |
| 34 |
|
| 35 |
[package.metadata.docs.rs] |
| 36 |
all-features = true |
| 37 |
|
| 38 |
[[example]] |
| 39 |
name = "extract" |
| 40 |
path = "examples/extract.rs" |
| 41 |
required-features = ["std"] |
| 42 |
|
| 43 |
[[test]] |
| 44 |
name = "decode" |
| 45 |
path = "tests/decode.rs" |
| 46 |
required-features = ["std"] |
| 47 |
|
| 48 |
[[test]] |
| 49 |
name = "larc333" |
| 50 |
path = "tests/larc333.rs" |
| 51 |
required-features = ["std"] |
| 52 |
|
| 53 |
[[test]] |
| 54 |
name = "lenghts" |
| 55 |
path = "tests/lenghts.rs" |
| 56 |
required-features = ["std"] |
| 57 |
|
| 58 |
[[test]] |
| 59 |
name = "lha213" |
| 60 |
path = "tests/lha213.rs" |
| 61 |
required-features = ["std"] |
| 62 |
|
| 63 |
[[test]] |
| 64 |
name = "lha255e" |
| 65 |
path = "tests/lha255e.rs" |
| 66 |
required-features = ["std"] |
| 67 |
|
| 68 |
[[test]] |
| 69 |
name = "lha_amiga_122" |
| 70 |
path = "tests/lha_amiga_122.rs" |
| 71 |
required-features = ["std"] |
| 72 |
|
| 73 |
[[test]] |
| 74 |
name = "lha_amiga_212" |
| 75 |
path = "tests/lha_amiga_212.rs" |
| 76 |
required-features = ["std"] |
| 77 |
|
| 78 |
[[test]] |
| 79 |
name = "lha_os2_208" |
| 80 |
path = "tests/lha_os2_208.rs" |
| 81 |
required-features = ["std"] |
| 82 |
|
| 83 |
[[test]] |
| 84 |
name = "lha_os9_211c" |
| 85 |
path = "tests/lha_os9_211c.rs" |
| 86 |
required-features = ["std"] |
| 87 |
|
| 88 |
[[test]] |
| 89 |
name = "lha_osk_201" |
| 90 |
path = "tests/lha_osk_201.rs" |
| 91 |
required-features = ["std"] |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "lha_unix114i" |
| 95 |
path = "tests/lha_unix114i.rs" |
| 96 |
required-features = ["std"] |
| 97 |
|
| 98 |
[[test]] |
| 99 |
name = "lha_x68k_213" |
| 100 |
path = "tests/lha_x68k_213.rs" |
| 101 |
required-features = ["std"] |
| 102 |
|
| 103 |
[[test]] |
| 104 |
name = "lharc113" |
| 105 |
path = "tests/lharc113.rs" |
| 106 |
required-features = ["std"] |
| 107 |
|
| 108 |
[[test]] |
| 109 |
name = "lharc_atari_313a" |
| 110 |
path = "tests/lharc_atari_313a.rs" |
| 111 |
required-features = ["std"] |
| 112 |
|
| 113 |
[[test]] |
| 114 |
name = "lhmelt_16536" |
| 115 |
path = "tests/lhmelt_16536.rs" |
| 116 |
required-features = ["std"] |
| 117 |
|
| 118 |
[[test]] |
| 119 |
name = "lzs" |
| 120 |
path = "tests/lzs.rs" |
| 121 |
required-features = ["std"] |
| 122 |
|
| 123 |
[[test]] |
| 124 |
name = "regression" |
| 125 |
path = "tests/regression.rs" |
| 126 |
required-features = ["std"] |
| 127 |
|
| 128 |
[[test]] |
| 129 |
name = "unlha32" |
| 130 |
path = "tests/unlha32.rs" |
| 131 |
required-features = ["std"] |
| 132 |
|
| 133 |
[dependencies.bitflags] |
| 134 |
version = "2.5" |
| 135 |
|
| 136 |
[dependencies.chrono] |
| 137 |
version = "0.4" |
| 138 |
default-features = false |
| 139 |
|
| 140 |
[dependencies.memchr] |
| 141 |
version = "2" |
| 142 |
default-features = false |
| 143 |
|
| 144 |
[dev-dependencies.crc-any] |
| 145 |
version = "2.5" |
| 146 |
default-features = false |
| 147 |
|
| 148 |
[dev-dependencies.rand] |
| 149 |
version = "0.8.5" |
| 150 |
|
| 151 |
[features] |
| 152 |
default = [ |
| 153 |
"std", |
| 154 |
"lh1", |
| 155 |
"lz", |
| 156 |
] |
| 157 |
lh1 = [] |
| 158 |
lhx = [] |
| 159 |
lz = [] |
| 160 |
std = [ |
| 161 |
"chrono/std", |
| 162 |
"chrono/clock", |
| 163 |
] |