메모리 연산 앱 코어 경계를 연결함
- 작성자
- 시로사키 하나
- 작성 시각
- 커밋
23b8d1c615f24f42469138fcc63e7fce7cda4f24- 부모
- 9a0bab6
변경된 파일 46개
+2,734-0변경 내용이 커서 일부 파일의 Diff를 생략했어요. 생략한 파일은 파일 보기나 Raw로 확인할 수 있어요.
| @@ -0,0 +1,399 @@ | ||
| 1 | 추가: # This file is automatically @generated by Cargo. | |
| 2 | 추가: # It is not intended for manual editing. | |
| 3 | 추가: version = 4 | |
| 4 | 추가: | |
| 5 | 추가: [[package]] | |
| 6 | 추가: name = "bitflags" | |
| 7 | 추가: version = "2.13.2" | |
| 8 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 9 | 추가: checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" | |
| 10 | 추가: | |
| 11 | 추가: [[package]] | |
| 12 | 추가: name = "block-buffer" | |
| 13 | 추가: version = "0.10.4" | |
| 14 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 15 | 추가: checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" | |
| 16 | 추가: dependencies = [ | |
| 17 | 추가: "generic-array", | |
| 18 | 추가: ] | |
| 19 | 추가: | |
| 20 | 추가: [[package]] | |
| 21 | 추가: name = "bumpalo" | |
| 22 | 추가: version = "3.20.3" | |
| 23 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 24 | 추가: checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" | |
| 25 | 추가: | |
| 26 | 추가: [[package]] | |
| 27 | 추가: name = "cfg-if" | |
| 28 | 추가: version = "1.0.5" | |
| 29 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 30 | 추가: checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" | |
| 31 | 추가: | |
| 32 | 추가: [[package]] | |
| 33 | 추가: name = "cfg_aliases" | |
| 34 | 추가: version = "0.2.2" | |
| 35 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 36 | 추가: checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" | |
| 37 | 추가: | |
| 38 | 추가: [[package]] | |
| 39 | 추가: name = "constant_time_eq" | |
| 40 | 추가: version = "0.6.1" | |
| 41 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 42 | 추가: checksum = "9eb6feb175df65d0a3ccd3e73484e940d0ac664e8034f0519fd49a93db3071d9" | |
| 43 | 추가: dependencies = [ | |
| 44 | 추가: "rustversion", | |
| 45 | 추가: ] | |
| 46 | 추가: | |
| 47 | 추가: [[package]] | |
| 48 | 추가: name = "cpufeatures" | |
| 49 | 추가: version = "0.2.17" | |
| 50 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 51 | 추가: checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" | |
| 52 | 추가: dependencies = [ | |
| 53 | 추가: "libc", | |
| 54 | 추가: ] | |
| 55 | 추가: | |
| 56 | 추가: [[package]] | |
| 57 | 추가: name = "crc32fast" | |
| 58 | 추가: version = "1.5.4" | |
| 59 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 60 | 추가: checksum = "5f97d3416d5337d15c4b0d78c8c91df922ca143f57ec20e2d1c188333047ef04" | |
| 61 | 추가: dependencies = [ | |
| 62 | 추가: "cfg-if", | |
| 63 | 추가: ] | |
| 64 | 추가: | |
| 65 | 추가: [[package]] | |
| 66 | 추가: name = "crypto-common" | |
| 67 | 추가: version = "0.1.7" | |
| 68 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 69 | 추가: checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" | |
| 70 | 추가: dependencies = [ | |
| 71 | 추가: "generic-array", | |
| 72 | 추가: "typenum", | |
| 73 | 추가: ] | |
| 74 | 추가: | |
| 75 | 추가: [[package]] | |
| 76 | 추가: name = "digest" | |
| 77 | 추가: version = "0.10.7" | |
| 78 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 79 | 추가: checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" | |
| 80 | 추가: dependencies = [ | |
| 81 | 추가: "block-buffer", | |
| 82 | 추가: "crypto-common", | |
| 83 | 추가: ] | |
| 84 | 추가: | |
| 85 | 추가: [[package]] | |
| 86 | 추가: name = "equivalent" | |
| 87 | 추가: version = "1.0.3" | |
| 88 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 89 | 추가: checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" | |
| 90 | 추가: | |
| 91 | 추가: [[package]] | |
| 92 | 추가: name = "flate2" | |
| 93 | 추가: version = "1.1.11" | |
| 94 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 95 | 추가: checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4" | |
| 96 | 추가: dependencies = [ | |
| 97 | 추가: "zlib-rs", | |
| 98 | 추가: ] | |
| 99 | 추가: | |
| 100 | 추가: [[package]] | |
| 101 | 추가: name = "generic-array" | |
| 102 | 추가: version = "0.14.7" | |
| 103 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 104 | 추가: checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" | |
| 105 | 추가: dependencies = [ | |
| 106 | 추가: "typenum", | |
| 107 | 추가: "version_check", | |
| 108 | 추가: ] | |
| 109 | 추가: | |
| 110 | 추가: [[package]] | |
| 111 | 추가: name = "getrandom" | |
| 112 | 추가: version = "0.4.3" | |
| 113 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 114 | 추가: checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" | |
| 115 | 추가: dependencies = [ | |
| 116 | 추가: "cfg-if", | |
| 117 | 추가: "js-sys", | |
| 118 | 추가: "libc", | |
| 119 | 추가: "r-efi", | |
| 120 | 추가: "wasm-bindgen", | |
| 121 | 추가: ] | |
| 122 | 추가: | |
| 123 | 추가: [[package]] | |
| 124 | 추가: name = "hashbrown" | |
| 125 | 추가: version = "0.17.1" | |
| 126 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 127 | 추가: checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" | |
| 128 | 추가: | |
| 129 | 추가: [[package]] | |
| 130 | 추가: name = "indexmap" | |
| 131 | 추가: version = "2.14.2" | |
| 132 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 133 | 추가: checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" | |
| 134 | 추가: dependencies = [ | |
| 135 | 추가: "equivalent", | |
| 136 | 추가: "hashbrown", | |
| 137 | 추가: ] | |
| 138 | 추가: | |
| 139 | 추가: [[package]] | |
| 140 | 추가: name = "js-sys" | |
| 141 | 추가: version = "0.3.107" | |
| 142 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 143 | 추가: checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a" | |
| 144 | 추가: dependencies = [ | |
| 145 | 추가: "cfg-if", | |
| 146 | 추가: "wasm-bindgen", | |
| 147 | 추가: ] | |
| 148 | 추가: | |
| 149 | 추가: [[package]] | |
| 150 | 추가: name = "libc" | |
| 151 | 추가: version = "0.2.191" | |
| 152 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 153 | 추가: checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" | |
| 154 | 추가: | |
| 155 | 추가: [[package]] | |
| 156 | 추가: name = "memchr" | |
| 157 | 추가: version = "2.8.3" | |
| 158 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 159 | 추가: checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" | |
| 160 | 추가: | |
| 161 | 추가: [[package]] | |
| 162 | 추가: name = "nix" | |
| 163 | 추가: version = "0.31.3" | |
| 164 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 165 | 추가: checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" | |
| 166 | 추가: dependencies = [ | |
| 167 | 추가: "bitflags", | |
| 168 | 추가: "cfg-if", | |
| 169 | 추가: "cfg_aliases", | |
| 170 | 추가: "libc", | |
| 171 | 추가: ] | |
| 172 | 추가: | |
| 173 | 추가: [[package]] | |
| 174 | 추가: name = "proc-macro2" | |
| 175 | 추가: version = "1.0.107" | |
| 176 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 177 | 추가: checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" | |
| 178 | 추가: dependencies = [ | |
| 179 | 추가: "unicode-ident", | |
| 180 | 추가: ] | |
| 181 | 추가: | |
| 182 | 추가: [[package]] | |
| 183 | 추가: name = "quote" | |
| 184 | 추가: version = "1.0.47" | |
| 185 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 186 | 추가: checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" | |
| 187 | 추가: dependencies = [ | |
| 188 | 추가: "proc-macro2", | |
| 189 | 추가: ] | |
| 190 | 추가: | |
| 191 | 추가: [[package]] | |
| 192 | 추가: name = "r-efi" | |
| 193 | 추가: version = "6.0.0" | |
| 194 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 195 | 추가: checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" | |
| 196 | 추가: | |
| 197 | 추가: [[package]] | |
| 198 | 추가: name = "rustversion" | |
| 199 | 추가: version = "1.0.23" | |
| 200 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 201 | 추가: checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" | |
| 202 | 추가: | |
| 203 | 추가: [[package]] | |
| 204 | 추가: name = "sha2" | |
| 205 | 추가: version = "0.10.9" | |
| 206 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 207 | 추가: checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" | |
| 208 | 추가: dependencies = [ | |
| 209 | 추가: "cfg-if", | |
| 210 | 추가: "cpufeatures", | |
| 211 | 추가: "digest", | |
| 212 | 추가: ] | |
| 213 | 추가: | |
| 214 | 추가: [[package]] | |
| 215 | 추가: name = "subtle" | |
| 216 | 추가: version = "2.6.1" | |
| 217 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 218 | 추가: checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" | |
| 219 | 추가: | |
| 220 | 추가: [[package]] | |
| 221 | 추가: name = "syn" | |
| 222 | 추가: version = "2.0.119" | |
| 223 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 224 | 추가: checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" | |
| 225 | 추가: dependencies = [ | |
| 226 | 추가: "proc-macro2", | |
| 227 | 추가: "quote", | |
| 228 | 추가: "unicode-ident", | |
| 229 | 추가: ] | |
| 230 | 추가: | |
| 231 | 추가: [[package]] | |
| 232 | 추가: name = "syn" | |
| 233 | 추가: version = "3.0.10" | |
| 234 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 235 | 추가: checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79" | |
| 236 | 추가: dependencies = [ | |
| 237 | 추가: "proc-macro2", | |
| 238 | 추가: "quote", | |
| 239 | 추가: "unicode-ident", | |
| 240 | 추가: ] | |
| 241 | 추가: | |
| 242 | 추가: [[package]] | |
| 243 | 추가: name = "typed-path" | |
| 244 | 추가: version = "0.13.0" | |
| 245 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 246 | 추가: checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e" | |
| 247 | 추가: | |
| 248 | 추가: [[package]] | |
| 249 | 추가: name = "typenum" | |
| 250 | 추가: version = "1.20.1" | |
| 251 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 252 | 추가: checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" | |
| 253 | 추가: | |
| 254 | 추가: [[package]] | |
| 255 | 추가: name = "unicode-ident" | |
| 256 | 추가: version = "1.0.27" | |
| 257 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 258 | 추가: checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" | |
| 259 | 추가: | |
| 260 | 추가: [[package]] | |
| 261 | 추가: name = "version_check" | |
| 262 | 추가: version = "0.9.5" | |
| 263 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 264 | 추가: checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | |
| 265 | 추가: | |
| 266 | 추가: [[package]] | |
| 267 | 추가: name = "wasm-bindgen" | |
| 268 | 추가: version = "0.2.130" | |
| 269 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 270 | 추가: checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c" | |
| 271 | 추가: dependencies = [ | |
| 272 | 추가: "cfg-if", | |
| 273 | 추가: "rustversion", | |
| 274 | 추가: "wasm-bindgen-macro", | |
| 275 | 추가: "wasm-bindgen-shared", | |
| 276 | 추가: ] | |
| 277 | 추가: | |
| 278 | 추가: [[package]] | |
| 279 | 추가: name = "wasm-bindgen-macro" | |
| 280 | 추가: version = "0.2.130" | |
| 281 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 282 | 추가: checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9" | |
| 283 | 추가: dependencies = [ | |
| 284 | 추가: "quote", | |
| 285 | 추가: "wasm-bindgen-macro-support", | |
| 286 | 추가: ] | |
| 287 | 추가: | |
| 288 | 추가: [[package]] | |
| 289 | 추가: name = "wasm-bindgen-macro-support" | |
| 290 | 추가: version = "0.2.130" | |
| 291 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 292 | 추가: checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a" | |
| 293 | 추가: dependencies = [ | |
| 294 | 추가: "bumpalo", | |
| 295 | 추가: "proc-macro2", | |
| 296 | 추가: "quote", | |
| 297 | 추가: "syn 3.0.10", | |
| 298 | 추가: "wasm-bindgen-shared", | |
| 299 | 추가: ] | |
| 300 | 추가: | |
| 301 | 추가: [[package]] | |
| 302 | 추가: name = "wasm-bindgen-shared" | |
| 303 | 추가: version = "0.2.130" | |
| 304 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 305 | 추가: checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e" | |
| 306 | 추가: dependencies = [ | |
| 307 | 추가: "unicode-ident", | |
| 308 | 추가: ] | |
| 309 | 추가: | |
| 310 | 추가: [[package]] | |
| 311 | 추가: name = "windows-link" | |
| 312 | 추가: version = "0.2.1" | |
| 313 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 314 | 추가: checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" | |
| 315 | 추가: | |
| 316 | 추가: [[package]] | |
| 317 | 추가: name = "windows-sys" | |
| 318 | 추가: version = "0.61.2" | |
| 319 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 320 | 추가: checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" | |
| 321 | 추가: dependencies = [ | |
| 322 | 추가: "windows-link", | |
| 323 | 추가: ] | |
| 324 | 추가: | |
| 325 | 추가: [[package]] | |
| 326 | 추가: name = "zeroize" | |
| 327 | 추가: version = "1.9.1" | |
| 328 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 329 | 추가: checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" | |
| 330 | 추가: dependencies = [ | |
| 331 | 추가: "zeroize_derive", | |
| 332 | 추가: ] | |
| 333 | 추가: | |
| 334 | 추가: [[package]] | |
| 335 | 추가: name = "zeroize_derive" | |
| 336 | 추가: version = "1.5.0" | |
| 337 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 338 | 추가: checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" | |
| 339 | 추가: dependencies = [ | |
| 340 | 추가: "proc-macro2", | |
| 341 | 추가: "quote", | |
| 342 | 추가: "syn 2.0.119", | |
| 343 | 추가: ] | |
| 344 | 추가: | |
| 345 | 추가: [[package]] | |
| 346 | 추가: name = "zip" | |
| 347 | 추가: version = "9.5.0" | |
| 348 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 349 | 추가: checksum = "0700e6c427aff64acdbf02e85fbfd946c2ee12319d1af013092f3a2178914ff8" | |
| 350 | 추가: dependencies = [ | |
| 351 | 추가: "constant_time_eq", | |
| 352 | 추가: "crc32fast", | |
| 353 | 추가: "flate2", | |
| 354 | 추가: "getrandom", | |
| 355 | 추가: "indexmap", | |
| 356 | 추가: "libc", | |
| 357 | 추가: "memchr", | |
| 358 | 추가: "nix", | |
| 359 | 추가: "typed-path", | |
| 360 | 추가: "windows-sys", | |
| 361 | 추가: "zeroize", | |
| 362 | 추가: ] | |
| 363 | 추가: | |
| 364 | 추가: [[package]] | |
| 365 | 추가: name = "zipelo-memory-gzip-reader" | |
| 366 | 추가: version = "0.1.0" | |
| 367 | 추가: dependencies = [ | |
| 368 | 추가: "zlib-rs", | |
| 369 | 추가: ] | |
| 370 | 추가: | |
| 371 | 추가: [[package]] | |
| 372 | 추가: name = "zipelo-memory-ustar-reader" | |
| 373 | 추가: version = "0.1.0" | |
| 374 | 추가: dependencies = [ | |
| 375 | 추가: "sha2", | |
| 376 | 추가: "subtle", | |
| 377 | 추가: ] | |
| 378 | 추가: | |
| 379 | 추가: [[package]] | |
| 380 | 추가: name = "zipelo-rust-memory-zip-create" | |
| 381 | 추가: version = "0.1.0" | |
| 382 | 추가: dependencies = [ | |
| 383 | 추가: "zip", | |
| 384 | 추가: ] | |
| 385 | 추가: | |
| 386 | 추가: [[package]] | |
| 387 | 추가: name = "zlib-rs" | |
| 388 | 추가: version = "0.6.8" | |
| 389 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 390 | 추가: checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112" | |
| 391 | 추가: | |
| 392 | 추가: [[package]] | |
| 393 | 추가: name = "zipelo-app-core-memory" | |
| 394 | 추가: version = "0.1.0" | |
| 395 | 추가: dependencies = [ | |
| 396 | 추가: "zipelo-memory-gzip-reader", | |
| 397 | 추가: "zipelo-memory-ustar-reader", | |
| 398 | 추가: "zipelo-rust-memory-zip-create", | |
| 399 | 추가: ] |
| @@ -0,0 +1,18 @@ | ||
| 1 | 추가: [package] | |
| 2 | 추가: name = "zipelo-app-core-memory" | |
| 3 | 추가: version = "0.1.0" | |
| 4 | 추가: edition = "2024" | |
| 5 | 추가: rust-version = "1.99" | |
| 6 | 추가: license = "MIT" | |
| 7 | 추가: publish = false | |
| 8 | 추가: autotests = false | |
| 9 | 추가: | |
| 10 | 추가: [lib] | |
| 11 | 추가: doctest = false | |
| 12 | 추가: | |
| 13 | 추가: [dependencies] | |
| 14 | 추가: gzip = { package = "zipelo-memory-gzip-reader", path = "../rust-memory-gzip-reader" } | |
| 15 | 추가: ustar = { package = "zipelo-memory-ustar-reader", path = "../rust-memory-ustar-reader" } | |
| 16 | 추가: zip_create = { package = "zipelo-rust-memory-zip-create", path = "../rust-memory-zip-create" } | |
| 17 | 추가: | |
| 18 | 추가: [workspace] |
| @@ -0,0 +1,21 @@ | ||
| 1 | 추가: MIT License | |
| 2 | 추가: | |
| 3 | 추가: Copyright (c) 2026 Team-LJY contributors | |
| 4 | 추가: | |
| 5 | 추가: Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | 추가: of this software and associated documentation files (the "Software"), to deal | |
| 7 | 추가: in the Software without restriction, including without limitation the rights | |
| 8 | 추가: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | 추가: copies of the Software, and to permit persons to whom the Software is | |
| 10 | 추가: furnished to do so, subject to the following conditions: | |
| 11 | 추가: | |
| 12 | 추가: The above copyright notice and this permission notice shall be included in all | |
| 13 | 추가: copies or substantial portions of the Software. | |
| 14 | 추가: | |
| 15 | 추가: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | 추가: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | 추가: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | 추가: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | 추가: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | 추가: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | 추가: SOFTWARE. |
| @@ -0,0 +1,8 @@ | ||
| 1 | 추가: a96a436875a8365e5b7e8f837a02df818b400790615076b83903f12c3ad7116e Cargo.lock | |
| 2 | 추가: d47e6b080a13005dd3c195f64d42f581bbc2050062ca4396fc41e32317a76c98 Cargo.toml | |
| 3 | 추가: 0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62 LICENSE | |
| 4 | 추가: b6ee40e53b19b59bdcc9464ecd759364264ee5ce9c320cf5616d0f656ec1df68 THIRD-PARTY-NOTICES.txt | |
| 5 | 추가: beffc5271a3355b8ef784d3d15179f4172d2af5c2dc71c1072ae4673e2971c3f contract.json | |
| 6 | 추가: 39294cd19d2eb2ad02cf034e527c690348ca07492986b05000d11a053b6aa7e1 dependencies.json | |
| 7 | 추가: a1d536e851130f37fb02c1269cebe8933e43fecf30403da8978e0726746ac15e sources.json | |
| 8 | 추가: 2540ab5f801d78f27e4d2a0a751f15378863ba5b14a4d564b3be4dc996cb7571 src/lib.rs |
Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기| @@ -0,0 +1,81 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "schema_version": 1, | |
| 3 | 추가: "scope": "Synchronous app boundary calling three real owned-memory modules via path dependencies. No GUI/model dependency, worker, filesystem, publishing, tar.gz chaining or process supervision.", | |
| 4 | 추가: "api": { | |
| 5 | 추가: "start": "Operation::start() -> Result<(Operation, Cancellation), AdapterFailure>; consumes a process-local monotonic non-reused ID. Operation is not Clone and each run method consumes self.", | |
| 6 | 추가: "gzip": "Operation::gzip<E>(gzip::Request, &mut gzip::Budget, FnMut(Event<gzip::Checkpoint>) -> Result<(), gzip::Stop<E>>) -> Terminal<gzip::Completed, gzip::Error<E>>", | |
| 7 | 추가: "ustar": "Operation::ustar<E>(ustar::Request, FnOnce(&[ustar::Entry]) -> Result<Vec<String>, E>, FnMut(Event<ustar::Checkpoint>) -> Result<(), ustar::Stop>) -> Terminal<ustar::Completed, ustar::Error<E>>", | |
| 8 | 추가: "zip": "Operation::create_zip(zip_create::Request, FnMut(Event<zip_create::Checkpoint>) -> Result<(), zip_create::Stop>) -> Terminal<Vec<u8>, zip_create::Failure>", | |
| 9 | 추가: "exports": "Re-export native gzip, ustar, zip_create crates, Request/Limits/Usage/checkpoint/error types without reinterpretation.", | |
| 10 | 추가: "receiver": "Receiver::new(operation.id()); progress(&Event), terminal(&Terminal) -> Result<Delivery, DeliveryError>. Check before applying UI changes or taking payload.", | |
| 11 | 추가: "memory": "Terminal::into_result() transfers Result<MemoryValidated<T>, Failure<E>>; success has private constructor and exposes native value by borrow or ownership transfer." | |
| 12 | 추가: }, | |
| 13 | 추가: "identity": { | |
| 14 | 추가: "scope": "Unique within one linked library instance/process lifetime, not persisted identity or authentication. IDs 1..u64::MAX-1, exhaustion returns OperationIdExhausted, never wraps or reuses. No worker/job ID conversion.", | |
| 15 | 추가: "new_work": "Create a fresh Operation, Cancellation and Receiver. Old handles remain bound to old operation and cannot cancel a new one. Caller explicitly chooses the current Receiver.", | |
| 16 | 추가: "concurrency": "Caller may move Operation to its own thread and retain Cancellation; adapter creates no thread, channel, executor or queue. Callback delivery/backpressure and integration are caller-owned." | |
| 17 | 추가: }, | |
| 18 | 추가: "events": { | |
| 19 | 추가: "stamp": "Private stamp contains OperationId and sequence, starting at zero per operation. Each delivered checkpoint consumes one sequence; returned Terminal consumes the next position, including no-checkpoint native errors.", | |
| 20 | 추가: "overflow": "Reserve u64::MAX for Terminal. At exhausted sequence, do not call observer; record SequenceExhausted and return native Stop::Cancelled to stop work. Terminal retains native failure and secondary adapter cause; drop any success payload if adapter fault exists. This is an explicit transport limit, not a format Budget.", | |
| 21 | 추가: "receiver": "Ignore other operation IDs before checking sequence or closed/faulted state. Current duplicate/reversal/gap fails and latches Faulted. After terminal reject current progress/duplicate terminal. Do not silently reset on mismatch.", | |
| 22 | 추가: "receiver_failure": "Receiver error is an app delivery error, not a format error or cleanup proof. Caller should separately request cancellation and handle the actual terminal; rebuilding a receiver for the same operation to hide a gap is outside the contract.", | |
| 23 | 추가: "stages": "Event contains the exact native Checkpoint, including USTAR pass/selection, ZIP validate/write/seek/finish, GZip stage and cumulative Usage. No synthetic terminal callback before native return.", | |
| 24 | 추가: "delivery": "Observer receives events synchronously and may forward them. Receiver validates ordering only, not forged metadata or external authentication. Event mutation by consumer is not evidence of backend activity." | |
| 25 | 추가: }, | |
| 26 | 추가: "progress": { | |
| 27 | 추가: "all_totals": "None; no derived percentage or inferred work total. 100% never establishes completion.", | |
| 28 | 추가: "gzip": "GzipCumulativeProcessedBytes from native checkpoint.usage.processed; includes prior calls on same Budget, input supply/read-ahead and actual output, including failures. Native usage snapshot also retained.", | |
| 29 | 추가: "ustar": "UstarInputOffset { pass } and UstarEntryIndex { pass } are cursor/index observations with original checkpoint timing, not cross-pass cumulative bytes or completed item counts. Native Completed.usage remains authoritative.", | |
| 30 | 추가: "zip": "ZipInputOffset { entry } is the original before-input checkpoint offset; ZipOutputExtent is the existing buffer extent before the pending write, not successful pending bytes. Seek/rewrite are not added as new output. No native final Usage exists; do not fabricate one.", | |
| 31 | 추가: "comparison": "Metrics and phases are distinct; never compare them as one shared processed counter." | |
| 32 | 추가: }, | |
| 33 | 추가: "control": { | |
| 34 | 추가: "request": "Cancellation::request() is monotonic/idempotent and reports whether it set the flag first. It is a request, not an actual cancellation result.", | |
| 35 | 추가: "poll_order": "At an existing native checkpoint, allocate event stamp and invoke the native-typed observer first. Observer Err is returned unchanged. Only observer Ok is followed by polling the request flag and returning native Stop::Cancelled. No extra checks before entering or after returning from the native module.", | |
| 36 | 추가: "priority": "Preserve native request validation, pre/post callback deadline checks, GZip failed-output charging/backend precedence, USTAR selection-error immediate return and ZIP sticky first Failure. Budget stays Budget; do not infer Deadline.", | |
| 37 | 추가: "snapshot": "Terminal cancellation_requested is a snapshot at return construction; cancellation_forwarded means this handle was observed and converted to Stop::Cancelled at a checkpoint. Neither overrides actual native result. Explicit observer cancellation may yield Cancelled with forwarded=false.", | |
| 38 | 추가: "late_request": "A request after the final checkpoint can coexist with success. A request after terminal creation does not mutate that terminal. Native errors before a checkpoint may coexist with requested=true and forwarded=false.", | |
| 39 | 추가: "limits": "Cooperative only. No preemption or all-panic/OOM recovery. Callback time remains included in native timing. A panic may produce no Terminal." | |
| 40 | 추가: }, | |
| 41 | 추가: "result": { | |
| 42 | 추가: "only_success": "MemoryValidated means native operation returned successfully under the identified frozen policy; no additional round-trip validation is claimed for ZIP creation. Only private adapter code constructs this wrapper.", | |
| 43 | 추가: "failure": "No Completed payload. Failure.native owns the exact returned typed error; Failure.adapter independently preserves sequence faults, never overwriting native cause.", | |
| 44 | 추가: "origin": "Terminal policy identifies the frozen implementation mapping in sources.json: GzipSingleMemberV1, UstarLinuxV1, ZipAsciiCreateV1.", | |
| 45 | 추가: "limits_preserved": [ | |
| 46 | 추가: "GZip exact single member/EOF, unselected full decode, caller-shared Budget retained across retries", | |
| 47 | 추가: "USTAR Linux raw UTF-8 policy, Windows Unsupported, exact string IDs and ContentVerification::Unavailable retained in Completed", | |
| 48 | 추가: "ZIP existing ASCII name policy and already-coarsened Failure::Engine retained; underlying backend details cannot be recovered by the adapter" | |
| 49 | 추가: ], | |
| 50 | 추가: "callback_types": "GZip original Stop::Callback(E) -> Error::Callback(E); USTAR select E -> Error::Selection(E). ZIP/USTAR checkpoint APIs only support Cancelled/Deadline, not arbitrary E; observer signature reflects that limitation.", | |
| 51 | 추가: "no_promotion": "No ProtocolObserved, Published, mock PR39 type, OS receipt or external cleanup evidence. ProcessCleanup::NotApplicable means no process resource was created by this adapter; it does not claim every upstream allocation/Drop/panic is recovered." | |
| 52 | 추가: }, | |
| 53 | 추가: "dependency_policy": { | |
| 54 | 추가: "direct": "Three existing path libraries only. All 42 registry package records match the union of original locks. Linux selected 29 package feature sets equal original selected union.", | |
| 55 | 추가: "licenses": "Own code MIT; raw cache-matched third-party license bytes and hashes listed in dependencies.json/THIRD-PARTY-NOTICES.txt. Scope is Linux selected packages, not final all-platform distribution.", | |
| 56 | 추가: "unchanged": "Original source/test/lock/manifest bytes preserved. No source include or production copy into adapter, no new codec/crypto or external package." | |
| 57 | 추가: }, | |
| 58 | 추가: "validation": { | |
| 59 | 추가: "rust_toolchain": "1.99.1", | |
| 60 | 추가: "target": "x86_64-unknown-linux-gnu", | |
| 61 | 추가: "build": "locked/offline --lib, exit 0, final build without warnings", | |
| 62 | 추가: "format": "rustfmt check required on adapter only", | |
| 63 | 추가: "originals": "60 imported source/test blobs compared to fixed GitHub trees before and after build", | |
| 64 | 추가: "runtime": "No adapter regression or original regression rerun. Existing module results belong to their original heads only.", | |
| 65 | 추가: "not_claimed": [ | |
| 66 | 추가: "Independent execution", | |
| 67 | 추가: "GUI, Windows or product acceptance", | |
| 68 | 추가: "Advisory freshness or vulnerability-free dependencies", | |
| 69 | 추가: "Dynamic overflow coverage; ID/sequence exhaustion branches have no public injection API" | |
| 70 | 추가: ] | |
| 71 | 추가: }, | |
| 72 | 추가: "next_regressions": [ | |
| 73 | 추가: "Real small synthetic GZip/USTAR/ZIP calls, matching native payload and typed failures", | |
| 74 | 추가: "Native callback error/selection E identity, Budget vs Deadline and shared GZip retry accumulation", | |
| 75 | 추가: "Pre-requested cancellation, callback error precedence, cancel from callback, late cancellation retaining success/error", | |
| 76 | 추가: "Event exact sequence, no-checkpoint native error terminal zero, new operation stale progress/terminal ignored", | |
| 77 | 추가: "Receiver duplicates/gaps/reversal/post-terminal rejection without payload application", | |
| 78 | 추가: "Native policy/Usage/ContentVerification preservation, no protocol/publishing promotion", | |
| 79 | 추가: "Source imports and full dependency lock/feature provenance" | |
| 80 | 추가: ] | |
| 81 | 추가: } |
| @@ -0,0 +1,658 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "direct_path_dependencies": [ | |
| 3 | 추가: "zipelo-memory-gzip-reader", | |
| 4 | 추가: "zipelo-memory-ustar-reader", | |
| 5 | 추가: "zipelo-rust-memory-zip-create" | |
| 6 | 추가: ], | |
| 7 | 추가: "new_external_packages": 0, | |
| 8 | 추가: "registry_lock_packages": 42, | |
| 9 | 추가: "linux_selected_packages": 29, | |
| 10 | 추가: "feature_verification": "Exact equality with the union of the three original locked/offline x86_64-unknown-linux-gnu metadata feature sets.", | |
| 11 | 추가: "notice_scope": "Selected Linux packages including build/proc-macro dependencies; unselected lock packages are not included. No final all-platform distribution claim.", | |
| 12 | 추가: "packages": [ | |
| 13 | 추가: { | |
| 14 | 추가: "name": "block-buffer", | |
| 15 | 추가: "version": "0.10.4", | |
| 16 | 추가: "license": "MIT OR Apache-2.0", | |
| 17 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 18 | 추가: "archive_sha256": "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71", | |
| 19 | 추가: "features": [], | |
| 20 | 추가: "licenses": [ | |
| 21 | 추가: { | |
| 22 | 추가: "file": "LICENSE-APACHE", | |
| 23 | 추가: "bytes": 10849, | |
| 24 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 25 | 추가: }, | |
| 26 | 추가: { | |
| 27 | 추가: "file": "LICENSE-MIT", | |
| 28 | 추가: "bytes": 1082, | |
| 29 | 추가: "sha256": "d5c22aa3118d240e877ad41c5d9fa232f9c77d757d4aac0c2f943afc0a95e0ef" | |
| 30 | 추가: } | |
| 31 | 추가: ] | |
| 32 | 추가: }, | |
| 33 | 추가: { | |
| 34 | 추가: "name": "cfg-if", | |
| 35 | 추가: "version": "1.0.5", | |
| 36 | 추가: "license": "MIT OR Apache-2.0", | |
| 37 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 38 | 추가: "archive_sha256": "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600", | |
| 39 | 추가: "features": [], | |
| 40 | 추가: "licenses": [ | |
| 41 | 추가: { | |
| 42 | 추가: "file": "LICENSE-APACHE", | |
| 43 | 추가: "bytes": 10847, | |
| 44 | 추가: "sha256": "a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2" | |
| 45 | 추가: }, | |
| 46 | 추가: { | |
| 47 | 추가: "file": "LICENSE-MIT", | |
| 48 | 추가: "bytes": 1057, | |
| 49 | 추가: "sha256": "378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397" | |
| 50 | 추가: } | |
| 51 | 추가: ] | |
| 52 | 추가: }, | |
| 53 | 추가: { | |
| 54 | 추가: "name": "constant_time_eq", | |
| 55 | 추가: "version": "0.6.1", | |
| 56 | 추가: "license": "CC0-1.0 OR MIT-0 OR Apache-2.0", | |
| 57 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 58 | 추가: "archive_sha256": "9eb6feb175df65d0a3ccd3e73484e940d0ac664e8034f0519fd49a93db3071d9", | |
| 59 | 추가: "features": [ | |
| 60 | 추가: "default", | |
| 61 | 추가: "std" | |
| 62 | 추가: ], | |
| 63 | 추가: "licenses": [ | |
| 64 | 추가: { | |
| 65 | 추가: "file": "LICENSE-APACHE", | |
| 66 | 추가: "bytes": 9723, | |
| 67 | 추가: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a" | |
| 68 | 추가: }, | |
| 69 | 추가: { | |
| 70 | 추가: "file": "LICENSE-CC0", | |
| 71 | 추가: "bytes": 7048, | |
| 72 | 추가: "sha256": "a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499" | |
| 73 | 추가: }, | |
| 74 | 추가: { | |
| 75 | 추가: "file": "LICENSE-MIT0", | |
| 76 | 추가: "bytes": 858, | |
| 77 | 추가: "sha256": "9a3aeb3f63659c4c6302d315e1d98784d1e8559858a47ff9562e091bb922d28d" | |
| 78 | 추가: } | |
| 79 | 추가: ] | |
| 80 | 추가: }, | |
| 81 | 추가: { | |
| 82 | 추가: "name": "cpufeatures", | |
| 83 | 추가: "version": "0.2.17", | |
| 84 | 추가: "license": "MIT OR Apache-2.0", | |
| 85 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 86 | 추가: "archive_sha256": "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280", | |
| 87 | 추가: "features": [], | |
| 88 | 추가: "licenses": [ | |
| 89 | 추가: { | |
| 90 | 추가: "file": "LICENSE-APACHE", | |
| 91 | 추가: "bytes": 10849, | |
| 92 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 93 | 추가: }, | |
| 94 | 추가: { | |
| 95 | 추가: "file": "LICENSE-MIT", | |
| 96 | 추가: "bytes": 1082, | |
| 97 | 추가: "sha256": "ae9baa7beea910273c2f384c2a6b721fb7bd02bda3436074a1072e4ee689f985" | |
| 98 | 추가: } | |
| 99 | 추가: ] | |
| 100 | 추가: }, | |
| 101 | 추가: { | |
| 102 | 추가: "name": "crc32fast", | |
| 103 | 추가: "version": "1.5.4", | |
| 104 | 추가: "license": "MIT OR Apache-2.0", | |
| 105 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 106 | 추가: "archive_sha256": "5f97d3416d5337d15c4b0d78c8c91df922ca143f57ec20e2d1c188333047ef04", | |
| 107 | 추가: "features": [ | |
| 108 | 추가: "default", | |
| 109 | 추가: "std" | |
| 110 | 추가: ], | |
| 111 | 추가: "licenses": [ | |
| 112 | 추가: { | |
| 113 | 추가: "file": "LICENSE-APACHE", | |
| 114 | 추가: "bytes": 11358, | |
| 115 | 추가: "sha256": "c6596eb7be8581c18be736c846fb9173b69eccf6ef94c5135893ec56bd92ba08" | |
| 116 | 추가: }, | |
| 117 | 추가: { | |
| 118 | 추가: "file": "LICENSE-MIT", | |
| 119 | 추가: "bytes": 1097, | |
| 120 | 추가: "sha256": "61d383b05b87d78f94d2937e2580cce47226d17823c0430fbcad09596537efcf" | |
| 121 | 추가: } | |
| 122 | 추가: ] | |
| 123 | 추가: }, | |
| 124 | 추가: { | |
| 125 | 추가: "name": "crypto-common", | |
| 126 | 추가: "version": "0.1.7", | |
| 127 | 추가: "license": "MIT OR Apache-2.0", | |
| 128 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 129 | 추가: "archive_sha256": "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a", | |
| 130 | 추가: "features": [ | |
| 131 | 추가: "std" | |
| 132 | 추가: ], | |
| 133 | 추가: "licenses": [ | |
| 134 | 추가: { | |
| 135 | 추가: "file": "LICENSE-APACHE", | |
| 136 | 추가: "bytes": 10849, | |
| 137 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 138 | 추가: }, | |
| 139 | 추가: { | |
| 140 | 추가: "file": "LICENSE-MIT", | |
| 141 | 추가: "bytes": 1065, | |
| 142 | 추가: "sha256": "3521672491a3479422d5fe1aca6645dd2984090f85da6e5205abfb18fb7a6897" | |
| 143 | 추가: } | |
| 144 | 추가: ] | |
| 145 | 추가: }, | |
| 146 | 추가: { | |
| 147 | 추가: "name": "digest", | |
| 148 | 추가: "version": "0.10.7", | |
| 149 | 추가: "license": "MIT OR Apache-2.0", | |
| 150 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 151 | 추가: "archive_sha256": "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292", | |
| 152 | 추가: "features": [ | |
| 153 | 추가: "alloc", | |
| 154 | 추가: "block-buffer", | |
| 155 | 추가: "core-api", | |
| 156 | 추가: "default", | |
| 157 | 추가: "std" | |
| 158 | 추가: ], | |
| 159 | 추가: "licenses": [ | |
| 160 | 추가: { | |
| 161 | 추가: "file": "LICENSE-APACHE", | |
| 162 | 추가: "bytes": 10849, | |
| 163 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 164 | 추가: }, | |
| 165 | 추가: { | |
| 166 | 추가: "file": "LICENSE-MIT", | |
| 167 | 추가: "bytes": 1057, | |
| 168 | 추가: "sha256": "9e0dfd2dd4173a530e238cb6adb37aa78c34c6bc7444e0e10c1ab5d8881f63ba" | |
| 169 | 추가: } | |
| 170 | 추가: ] | |
| 171 | 추가: }, | |
| 172 | 추가: { | |
| 173 | 추가: "name": "equivalent", | |
| 174 | 추가: "version": "1.0.3", | |
| 175 | 추가: "license": "Apache-2.0 OR MIT", | |
| 176 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 177 | 추가: "archive_sha256": "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826", | |
| 178 | 추가: "features": [], | |
| 179 | 추가: "licenses": [ | |
| 180 | 추가: { | |
| 181 | 추가: "file": "LICENSE-APACHE", | |
| 182 | 추가: "bytes": 10847, | |
| 183 | 추가: "sha256": "a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2" | |
| 184 | 추가: }, | |
| 185 | 추가: { | |
| 186 | 추가: "file": "LICENSE-MIT", | |
| 187 | 추가: "bytes": 1049, | |
| 188 | 추가: "sha256": "7365cc8878a1d7ce155a58c4ca09c3d7a6be413efa5334a80ea842912b669349" | |
| 189 | 추가: } | |
| 190 | 추가: ] | |
| 191 | 추가: }, | |
| 192 | 추가: { | |
| 193 | 추가: "name": "flate2", | |
| 194 | 추가: "version": "1.1.11", | |
| 195 | 추가: "license": "MIT OR Apache-2.0", | |
| 196 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 197 | 추가: "archive_sha256": "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4", | |
| 198 | 추가: "features": [ | |
| 199 | 추가: "any_impl", | |
| 200 | 추가: "any_zlib", | |
| 201 | 추가: "zlib-rs" | |
| 202 | 추가: ], | |
| 203 | 추가: "licenses": [ | |
| 204 | 추가: { | |
| 205 | 추가: "file": "LICENSE-APACHE", | |
| 206 | 추가: "bytes": 10847, | |
| 207 | 추가: "sha256": "a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2" | |
| 208 | 추가: }, | |
| 209 | 추가: { | |
| 210 | 추가: "file": "LICENSE-MIT", | |
| 211 | 추가: "bytes": 1062, | |
| 212 | 추가: "sha256": "025436edff4cfcdde17a5811fdea78892d8482efd1abdec5a17872d07a4f2112" | |
| 213 | 추가: } | |
| 214 | 추가: ] | |
| 215 | 추가: }, | |
| 216 | 추가: { | |
| 217 | 추가: "name": "generic-array", | |
| 218 | 추가: "version": "0.14.7", | |
| 219 | 추가: "license": "MIT", | |
| 220 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 221 | 추가: "archive_sha256": "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a", | |
| 222 | 추가: "features": [ | |
| 223 | 추가: "more_lengths" | |
| 224 | 추가: ], | |
| 225 | 추가: "licenses": [ | |
| 226 | 추가: { | |
| 227 | 추가: "file": "LICENSE", | |
| 228 | 추가: "bytes": 1107, | |
| 229 | 추가: "sha256": "c09aae9d3c77b531f56351a9947bc7446511d6b025b3255312d3e3442a9a7583" | |
| 230 | 추가: } | |
| 231 | 추가: ] | |
| 232 | 추가: }, | |
| 233 | 추가: { | |
| 234 | 추가: "name": "getrandom", | |
| 235 | 추가: "version": "0.4.3", | |
| 236 | 추가: "license": "MIT OR Apache-2.0", | |
| 237 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 238 | 추가: "archive_sha256": "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099", | |
| 239 | 추가: "features": [ | |
| 240 | 추가: "wasm_js" | |
| 241 | 추가: ], | |
| 242 | 추가: "licenses": [ | |
| 243 | 추가: { | |
| 244 | 추가: "file": "LICENSE-APACHE", | |
| 245 | 추가: "bytes": 10849, | |
| 246 | 추가: "sha256": "aaff376532ea30a0cd5330b9502ad4a4c8bf769c539c87ffe78819d188a18ebf" | |
| 247 | 추가: }, | |
| 248 | 추가: { | |
| 249 | 추가: "file": "LICENSE-MIT", | |
| 250 | 추가: "bytes": 1130, | |
| 251 | 추가: "sha256": "523a42c25d245dde9c015f882cec7f4555aad883382a6cf19b4b7d9b2cd5419b" | |
| 252 | 추가: } | |
| 253 | 추가: ] | |
| 254 | 추가: }, | |
| 255 | 추가: { | |
| 256 | 추가: "name": "hashbrown", | |
| 257 | 추가: "version": "0.17.1", | |
| 258 | 추가: "license": "MIT OR Apache-2.0", | |
| 259 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 260 | 추가: "archive_sha256": "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a", | |
| 261 | 추가: "features": [], | |
| 262 | 추가: "licenses": [ | |
| 263 | 추가: { | |
| 264 | 추가: "file": "LICENSE-APACHE", | |
| 265 | 추가: "bytes": 10847, | |
| 266 | 추가: "sha256": "a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2" | |
| 267 | 추가: }, | |
| 268 | 추가: { | |
| 269 | 추가: "file": "LICENSE-MIT", | |
| 270 | 추가: "bytes": 1060, | |
| 271 | 추가: "sha256": "ff8f68cb076caf8cefe7a6430d4ac086ce6af2ca8ce2c4e5a2004d4552ef52a2" | |
| 272 | 추가: } | |
| 273 | 추가: ] | |
| 274 | 추가: }, | |
| 275 | 추가: { | |
| 276 | 추가: "name": "indexmap", | |
| 277 | 추가: "version": "2.14.2", | |
| 278 | 추가: "license": "Apache-2.0 OR MIT", | |
| 279 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 280 | 추가: "archive_sha256": "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855", | |
| 281 | 추가: "features": [ | |
| 282 | 추가: "default", | |
| 283 | 추가: "std" | |
| 284 | 추가: ], | |
| 285 | 추가: "licenses": [ | |
| 286 | 추가: { | |
| 287 | 추가: "file": "LICENSE-APACHE", | |
| 288 | 추가: "bytes": 10847, | |
| 289 | 추가: "sha256": "a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2" | |
| 290 | 추가: }, | |
| 291 | 추가: { | |
| 292 | 추가: "file": "LICENSE-MIT", | |
| 293 | 추가: "bytes": 1049, | |
| 294 | 추가: "sha256": "ecc269ef87fd38a1d98e30bfac9ba964a9dbd9315c3770fed98d4d7cb5882055" | |
| 295 | 추가: } | |
| 296 | 추가: ] | |
| 297 | 추가: }, | |
| 298 | 추가: { | |
| 299 | 추가: "name": "libc", | |
| 300 | 추가: "version": "0.2.191", | |
| 301 | 추가: "license": "MIT OR Apache-2.0", | |
| 302 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 303 | 추가: "archive_sha256": "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a", | |
| 304 | 추가: "features": [ | |
| 305 | 추가: "default", | |
| 306 | 추가: "extra_traits", | |
| 307 | 추가: "std" | |
| 308 | 추가: ], | |
| 309 | 추가: "licenses": [ | |
| 310 | 추가: { | |
| 311 | 추가: "file": "LICENSE-APACHE", | |
| 312 | 추가: "bytes": 9723, | |
| 313 | 추가: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a" | |
| 314 | 추가: }, | |
| 315 | 추가: { | |
| 316 | 추가: "file": "LICENSE-MIT", | |
| 317 | 추가: "bytes": 1066, | |
| 318 | 추가: "sha256": "123a331b5dbf04c30097fa43b8f858bc85df671fe776de498d01f3d6b7c1f69e" | |
| 319 | 추가: } | |
| 320 | 추가: ] | |
| 321 | 추가: }, | |
| 322 | 추가: { | |
| 323 | 추가: "name": "memchr", | |
| 324 | 추가: "version": "2.8.3", | |
| 325 | 추가: "license": "Unlicense OR MIT", | |
| 326 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 327 | 추가: "archive_sha256": "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98", | |
| 328 | 추가: "features": [ | |
| 329 | 추가: "alloc", | |
| 330 | 추가: "default", | |
| 331 | 추가: "std" | |
| 332 | 추가: ], | |
| 333 | 추가: "licenses": [ | |
| 334 | 추가: { | |
| 335 | 추가: "file": "COPYING", | |
| 336 | 추가: "bytes": 126, | |
| 337 | 추가: "sha256": "01c266bced4a434da0051174d6bee16a4c82cf634e2679b6155d40d75012390f" | |
| 338 | 추가: }, | |
| 339 | 추가: { | |
| 340 | 추가: "file": "LICENSE-MIT", | |
| 341 | 추가: "bytes": 1081, | |
| 342 | 추가: "sha256": "0f96a83840e146e43c0ec96a22ec1f392e0680e6c1226e6f3ba87e0740af850f" | |
| 343 | 추가: }, | |
| 344 | 추가: { | |
| 345 | 추가: "file": "UNLICENSE", | |
| 346 | 추가: "bytes": 1211, | |
| 347 | 추가: "sha256": "7e12e5df4bae12cb21581ba157ced20e1986a0508dd10d0e8a4ab9a4cf94e85c" | |
| 348 | 추가: } | |
| 349 | 추가: ] | |
| 350 | 추가: }, | |
| 351 | 추가: { | |
| 352 | 추가: "name": "proc-macro2", | |
| 353 | 추가: "version": "1.0.107", | |
| 354 | 추가: "license": "MIT OR Apache-2.0", | |
| 355 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 356 | 추가: "archive_sha256": "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9", | |
| 357 | 추가: "features": [ | |
| 358 | 추가: "default", | |
| 359 | 추가: "proc-macro" | |
| 360 | 추가: ], | |
| 361 | 추가: "licenses": [ | |
| 362 | 추가: { | |
| 363 | 추가: "file": "LICENSE-APACHE", | |
| 364 | 추가: "bytes": 9723, | |
| 365 | 추가: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a" | |
| 366 | 추가: }, | |
| 367 | 추가: { | |
| 368 | 추가: "file": "LICENSE-MIT", | |
| 369 | 추가: "bytes": 1023, | |
| 370 | 추가: "sha256": "23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3" | |
| 371 | 추가: } | |
| 372 | 추가: ] | |
| 373 | 추가: }, | |
| 374 | 추가: { | |
| 375 | 추가: "name": "quote", | |
| 376 | 추가: "version": "1.0.47", | |
| 377 | 추가: "license": "MIT OR Apache-2.0", | |
| 378 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 379 | 추가: "archive_sha256": "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001", | |
| 380 | 추가: "features": [ | |
| 381 | 추가: "default", | |
| 382 | 추가: "proc-macro" | |
| 383 | 추가: ], | |
| 384 | 추가: "licenses": [ | |
| 385 | 추가: { | |
| 386 | 추가: "file": "LICENSE-APACHE", | |
| 387 | 추가: "bytes": 9723, | |
| 388 | 추가: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a" | |
| 389 | 추가: }, | |
| 390 | 추가: { | |
| 391 | 추가: "file": "LICENSE-MIT", | |
| 392 | 추가: "bytes": 1023, | |
| 393 | 추가: "sha256": "23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3" | |
| 394 | 추가: } | |
| 395 | 추가: ] | |
| 396 | 추가: }, | |
| 397 | 추가: { | |
| 398 | 추가: "name": "rustversion", | |
| 399 | 추가: "version": "1.0.23", | |
| 400 | 추가: "license": "MIT OR Apache-2.0", | |
| 401 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 402 | 추가: "archive_sha256": "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f", | |
| 403 | 추가: "features": [], | |
| 404 | 추가: "licenses": [ | |
| 405 | 추가: { | |
| 406 | 추가: "file": "LICENSE-APACHE", | |
| 407 | 추가: "bytes": 9723, | |
| 408 | 추가: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a" | |
| 409 | 추가: }, | |
| 410 | 추가: { | |
| 411 | 추가: "file": "LICENSE-MIT", | |
| 412 | 추가: "bytes": 1023, | |
| 413 | 추가: "sha256": "23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3" | |
| 414 | 추가: } | |
| 415 | 추가: ] | |
| 416 | 추가: }, | |
| 417 | 추가: { | |
| 418 | 추가: "name": "sha2", | |
| 419 | 추가: "version": "0.10.9", | |
| 420 | 추가: "license": "MIT OR Apache-2.0", | |
| 421 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 422 | 추가: "archive_sha256": "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283", | |
| 423 | 추가: "features": [ | |
| 424 | 추가: "force-soft", | |
| 425 | 추가: "std" | |
| 426 | 추가: ], | |
| 427 | 추가: "licenses": [ | |
| 428 | 추가: { | |
| 429 | 추가: "file": "LICENSE-APACHE", | |
| 430 | 추가: "bytes": 10849, | |
| 431 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 432 | 추가: }, | |
| 433 | 추가: { | |
| 434 | 추가: "file": "LICENSE-MIT", | |
| 435 | 추가: "bytes": 1138, | |
| 436 | 추가: "sha256": "b4eb00df6e2a4d22518fcaa6a2b4646f249b3a3c9814509b22bd2091f1392ff1" | |
| 437 | 추가: } | |
| 438 | 추가: ] | |
| 439 | 추가: }, | |
| 440 | 추가: { | |
| 441 | 추가: "name": "subtle", | |
| 442 | 추가: "version": "2.6.1", | |
| 443 | 추가: "license": "BSD-3-Clause", | |
| 444 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 445 | 추가: "archive_sha256": "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292", | |
| 446 | 추가: "features": [], | |
| 447 | 추가: "licenses": [ | |
| 448 | 추가: { | |
| 449 | 추가: "file": "LICENSE", | |
| 450 | 추가: "bytes": 1582, | |
| 451 | 추가: "sha256": "d1fc1bc0d155df60b2e7705b6b2ae02a05c96f948e1cec6e2fb86360b09f346b" | |
| 452 | 추가: } | |
| 453 | 추가: ] | |
| 454 | 추가: }, | |
| 455 | 추가: { | |
| 456 | 추가: "name": "syn", | |
| 457 | 추가: "version": "2.0.119", | |
| 458 | 추가: "license": "MIT OR Apache-2.0", | |
| 459 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 460 | 추가: "archive_sha256": "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297", | |
| 461 | 추가: "features": [ | |
| 462 | 추가: "clone-impls", | |
| 463 | 추가: "default", | |
| 464 | 추가: "derive", | |
| 465 | 추가: "extra-traits", | |
| 466 | 추가: "full", | |
| 467 | 추가: "parsing", | |
| 468 | 추가: "printing", | |
| 469 | 추가: "proc-macro", | |
| 470 | 추가: "visit" | |
| 471 | 추가: ], | |
| 472 | 추가: "licenses": [ | |
| 473 | 추가: { | |
| 474 | 추가: "file": "LICENSE-APACHE", | |
| 475 | 추가: "bytes": 9723, | |
| 476 | 추가: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a" | |
| 477 | 추가: }, | |
| 478 | 추가: { | |
| 479 | 추가: "file": "LICENSE-MIT", | |
| 480 | 추가: "bytes": 1023, | |
| 481 | 추가: "sha256": "23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3" | |
| 482 | 추가: } | |
| 483 | 추가: ] | |
| 484 | 추가: }, | |
| 485 | 추가: { | |
| 486 | 추가: "name": "typed-path", | |
| 487 | 추가: "version": "0.13.0", | |
| 488 | 추가: "license": "MIT OR Apache-2.0", | |
| 489 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 490 | 추가: "archive_sha256": "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e", | |
| 491 | 추가: "features": [], | |
| 492 | 추가: "licenses": [ | |
| 493 | 추가: { | |
| 494 | 추가: "file": "LICENSE-APACHE", | |
| 495 | 추가: "bytes": 9723, | |
| 496 | 추가: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a" | |
| 497 | 추가: }, | |
| 498 | 추가: { | |
| 499 | 추가: "file": "LICENSE-MIT", | |
| 500 | 추가: "bytes": 1023, | |
| 501 | 추가: "sha256": "23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3" | |
| 502 | 추가: } | |
| 503 | 추가: ] | |
| 504 | 추가: }, | |
| 505 | 추가: { | |
| 506 | 추가: "name": "typenum", | |
| 507 | 추가: "version": "1.20.1", | |
| 508 | 추가: "license": "MIT OR Apache-2.0", | |
| 509 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 510 | 추가: "archive_sha256": "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20", | |
| 511 | 추가: "features": [], | |
| 512 | 추가: "licenses": [ | |
| 513 | 추가: { | |
| 514 | 추가: "file": "LICENSE", | |
| 515 | 추가: "bytes": 17, | |
| 516 | 추가: "sha256": "db11fec9946737df39ca3898d9cd8c10ec6f6c3a884a6802b0ad0b81b4e8f23a" | |
| 517 | 추가: }, | |
| 518 | 추가: { | |
| 519 | 추가: "file": "LICENSE-APACHE", | |
| 520 | 추가: "bytes": 10835, | |
| 521 | 추가: "sha256": "516b24e051bf5630880ebbd55c40a25ce9552ebaf8970a53e8976eb70e522406" | |
| 522 | 추가: }, | |
| 523 | 추가: { | |
| 524 | 추가: "file": "LICENSE-MIT", | |
| 525 | 추가: "bytes": 1083, | |
| 526 | 추가: "sha256": "a825bd853ab71619a4923d7b4311221427848070ff44d990da39b0b274c1683f" | |
| 527 | 추가: } | |
| 528 | 추가: ] | |
| 529 | 추가: }, | |
| 530 | 추가: { | |
| 531 | 추가: "name": "unicode-ident", | |
| 532 | 추가: "version": "1.0.27", | |
| 533 | 추가: "license": "(MIT OR Apache-2.0) AND Unicode-3.0", | |
| 534 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 535 | 추가: "archive_sha256": "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563", | |
| 536 | 추가: "features": [], | |
| 537 | 추가: "licenses": [ | |
| 538 | 추가: { | |
| 539 | 추가: "file": "LICENSE-APACHE", | |
| 540 | 추가: "bytes": 9723, | |
| 541 | 추가: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a" | |
| 542 | 추가: }, | |
| 543 | 추가: { | |
| 544 | 추가: "file": "LICENSE-MIT", | |
| 545 | 추가: "bytes": 1023, | |
| 546 | 추가: "sha256": "23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3" | |
| 547 | 추가: }, | |
| 548 | 추가: { | |
| 549 | 추가: "file": "LICENSE-UNICODE", | |
| 550 | 추가: "bytes": 1995, | |
| 551 | 추가: "sha256": "f7db81051789b729fea528a63ec4c938fdcb93d9d61d97dc8cc2e9df6d47f2a1" | |
| 552 | 추가: } | |
| 553 | 추가: ] | |
| 554 | 추가: }, | |
| 555 | 추가: { | |
| 556 | 추가: "name": "version_check", | |
| 557 | 추가: "version": "0.9.5", | |
| 558 | 추가: "license": "MIT/Apache-2.0", | |
| 559 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 560 | 추가: "archive_sha256": "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a", | |
| 561 | 추가: "features": [], | |
| 562 | 추가: "licenses": [ | |
| 563 | 추가: { | |
| 564 | 추가: "file": "LICENSE-APACHE", | |
| 565 | 추가: "bytes": 10847, | |
| 566 | 추가: "sha256": "a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2" | |
| 567 | 추가: }, | |
| 568 | 추가: { | |
| 569 | 추가: "file": "LICENSE-MIT", | |
| 570 | 추가: "bytes": 1085, | |
| 571 | 추가: "sha256": "b7e650f3fce5c53249d1cdc608b54df156a97edd636cf9d23498d0cfe7aec63e" | |
| 572 | 추가: } | |
| 573 | 추가: ] | |
| 574 | 추가: }, | |
| 575 | 추가: { | |
| 576 | 추가: "name": "zeroize", | |
| 577 | 추가: "version": "1.9.1", | |
| 578 | 추가: "license": "Apache-2.0 OR MIT", | |
| 579 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 580 | 추가: "archive_sha256": "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879", | |
| 581 | 추가: "features": [ | |
| 582 | 추가: "alloc", | |
| 583 | 추가: "default", | |
| 584 | 추가: "derive", | |
| 585 | 추가: "zeroize_derive" | |
| 586 | 추가: ], | |
| 587 | 추가: "licenses": [ | |
| 588 | 추가: { | |
| 589 | 추가: "file": "LICENSE-APACHE", | |
| 590 | 추가: "bytes": 11358, | |
| 591 | 추가: "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" | |
| 592 | 추가: }, | |
| 593 | 추가: { | |
| 594 | 추가: "file": "LICENSE-MIT", | |
| 595 | 추가: "bytes": 1082, | |
| 596 | 추가: "sha256": "8c7516d4b27b1e495be5e38b612298b63de48d05f49cdac94f70f3cd70f8864b" | |
| 597 | 추가: } | |
| 598 | 추가: ] | |
| 599 | 추가: }, | |
| 600 | 추가: { | |
| 601 | 추가: "name": "zeroize_derive", | |
| 602 | 추가: "version": "1.5.0", | |
| 603 | 추가: "license": "Apache-2.0 OR MIT", | |
| 604 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 605 | 추가: "archive_sha256": "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328", | |
| 606 | 추가: "features": [], | |
| 607 | 추가: "licenses": [ | |
| 608 | 추가: { | |
| 609 | 추가: "file": "LICENSE-APACHE", | |
| 610 | 추가: "bytes": 11358, | |
| 611 | 추가: "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" | |
| 612 | 추가: }, | |
| 613 | 추가: { | |
| 614 | 추가: "file": "LICENSE-MIT", | |
| 615 | 추가: "bytes": 1082, | |
| 616 | 추가: "sha256": "b8c6939380a400f53e11923d50fcc4dd2fa1ba8339fd9d04cda38a0251b6c9b0" | |
| 617 | 추가: } | |
| 618 | 추가: ] | |
| 619 | 추가: }, | |
| 620 | 추가: { | |
| 621 | 추가: "name": "zip", | |
| 622 | 추가: "version": "9.5.0", | |
| 623 | 추가: "license": "MIT", | |
| 624 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 625 | 추가: "archive_sha256": "0700e6c427aff64acdbf02e85fbfd946c2ee12319d1af013092f3a2178914ff8", | |
| 626 | 추가: "features": [ | |
| 627 | 추가: "_deflate-any", | |
| 628 | 추가: "deflate-flate2", | |
| 629 | 추가: "deflate-flate2-zlib-rs" | |
| 630 | 추가: ], | |
| 631 | 추가: "licenses": [ | |
| 632 | 추가: { | |
| 633 | 추가: "file": "LICENSE", | |
| 634 | 추가: "bytes": 1085, | |
| 635 | 추가: "sha256": "58545fed1565e42d687aecec6897d35c6d37ccb71479a137c0deb2203e125c79" | |
| 636 | 추가: } | |
| 637 | 추가: ] | |
| 638 | 추가: }, | |
| 639 | 추가: { | |
| 640 | 추가: "name": "zlib-rs", | |
| 641 | 추가: "version": "0.6.8", | |
| 642 | 추가: "license": "Zlib", | |
| 643 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 644 | 추가: "archive_sha256": "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112", | |
| 645 | 추가: "features": [ | |
| 646 | 추가: "rust-allocator" | |
| 647 | 추가: ], | |
| 648 | 추가: "licenses": [ | |
| 649 | 추가: { | |
| 650 | 추가: "file": "LICENSE", | |
| 651 | 추가: "bytes": 856, | |
| 652 | 추가: "sha256": "e72111c52b7d96ebe25348dee19f0744f444d3c95ae6b1ecb6ccaecc5bce05ba" | |
| 653 | 추가: } | |
| 654 | 추가: ] | |
| 655 | 추가: } | |
| 656 | 추가: ], | |
| 657 | 추가: "advisories": "No current vulnerability audit performed in this task." | |
| 658 | 추가: } |
| @@ -0,0 +1,427 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "base_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 3 | 추가: "gzip_source_head": "e1ffd7bbffc358b6e53358682a93bf3ce075e892", | |
| 4 | 추가: "integration": "Base PR41 includes GZip and its tests. Add only ZIP-create and USTAR source/test prefixes from fixed integrated heads. Other candidate paths are not imported. Original source, tests, locks, notices and manifests are byte-identical.", | |
| 5 | 추가: "files": [ | |
| 6 | 추가: { | |
| 7 | 추가: "path": "experiments/rust-memory-gzip-reader/Cargo.lock", | |
| 8 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 9 | 추가: "git_blob": "a638f9b00ea1d76a99ccd93ea465ef9df4163c7a", | |
| 10 | 추가: "sha256": "511197f27b89d37c86f82ae1e8dda4229a3e5082ede9274efe8480df6e650d24", | |
| 11 | 추가: "mode": "100644" | |
| 12 | 추가: }, | |
| 13 | 추가: { | |
| 14 | 추가: "path": "experiments/rust-memory-gzip-reader/Cargo.toml", | |
| 15 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 16 | 추가: "git_blob": "1b1b77e23d39cde1f05e55f73b62f68cf77dd9c6", | |
| 17 | 추가: "sha256": "ae76aededbb85cdd6c9227b4c06a1c8fef1bb7f203f1703e787b68f30ccfab6a", | |
| 18 | 추가: "mode": "100644" | |
| 19 | 추가: }, | |
| 20 | 추가: { | |
| 21 | 추가: "path": "experiments/rust-memory-gzip-reader/LICENSE", | |
| 22 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 23 | 추가: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc", | |
| 24 | 추가: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62", | |
| 25 | 추가: "mode": "100644" | |
| 26 | 추가: }, | |
| 27 | 추가: { | |
| 28 | 추가: "path": "experiments/rust-memory-gzip-reader/SHA256SUMS", | |
| 29 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 30 | 추가: "git_blob": "e248c4827c2fb2e82a5e92f80deb0d744209c65c", | |
| 31 | 추가: "sha256": "13e41e7d8ce2442cd8d93b1229211a5257e0568acc3466d5f9ec37f03c72a736", | |
| 32 | 추가: "mode": "100644" | |
| 33 | 추가: }, | |
| 34 | 추가: { | |
| 35 | 추가: "path": "experiments/rust-memory-gzip-reader/THIRD-PARTY-NOTICES.txt", | |
| 36 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 37 | 추가: "git_blob": "f56aa8d736e78465701ac62fa5ad26d4d7dc05c9", | |
| 38 | 추가: "sha256": "655ad3bee8c41a593c2b00cbb0a12be11e7246c41dda00319c223dd3f904910e", | |
| 39 | 추가: "mode": "100644" | |
| 40 | 추가: }, | |
| 41 | 추가: { | |
| 42 | 추가: "path": "experiments/rust-memory-gzip-reader/contract.json", | |
| 43 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 44 | 추가: "git_blob": "02729ca349d5629b1a9fcd7040441db2e2660065", | |
| 45 | 추가: "sha256": "1346c0b6f0ce5221acb9aef5067b0169e08ea6752f4db41a8b9c36b10ef9b43b", | |
| 46 | 추가: "mode": "100644" | |
| 47 | 추가: }, | |
| 48 | 추가: { | |
| 49 | 추가: "path": "experiments/rust-memory-gzip-reader/dependencies.json", | |
| 50 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 51 | 추가: "git_blob": "bf9da9b737d9d574d5e31fb8343f844b61e4c192", | |
| 52 | 추가: "sha256": "3f71220451f8cd55dafdb6e6ae901572ec7bbe1be9c93d78953b44244aec6b07", | |
| 53 | 추가: "mode": "100644" | |
| 54 | 추가: }, | |
| 55 | 추가: { | |
| 56 | 추가: "path": "experiments/rust-memory-gzip-reader/src/budget.rs", | |
| 57 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 58 | 추가: "git_blob": "0fa6fd1cdb541896540b7003168e5db71c11cb4b", | |
| 59 | 추가: "sha256": "b0d0b891a048712baba2038b8439d809a0359638f390b806f88496733753d61c", | |
| 60 | 추가: "mode": "100644" | |
| 61 | 추가: }, | |
| 62 | 추가: { | |
| 63 | 추가: "path": "experiments/rust-memory-gzip-reader/src/lib.rs", | |
| 64 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 65 | 추가: "git_blob": "1811dfc7ec0917da607727e7942b5a268ac7330a", | |
| 66 | 추가: "sha256": "a865a114fdb9d79b66226387b9f0e3fa601aad29cfe65ab443c946d6cbd74062", | |
| 67 | 추가: "mode": "100644" | |
| 68 | 추가: }, | |
| 69 | 추가: { | |
| 70 | 추가: "path": "tests/rust-memory-gzip-reader/Cargo.lock", | |
| 71 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 72 | 추가: "git_blob": "46a7653b949febc573a3429aa7811b8c34508dc6", | |
| 73 | 추가: "sha256": "5932825be6b65fda2dc957a18992db63673e6eecdd55853fb743c133f359262c", | |
| 74 | 추가: "mode": "100644" | |
| 75 | 추가: }, | |
| 76 | 추가: { | |
| 77 | 추가: "path": "tests/rust-memory-gzip-reader/Cargo.toml", | |
| 78 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 79 | 추가: "git_blob": "b803e4a1c2495736b3758e4d993e40a86ef7f50d", | |
| 80 | 추가: "sha256": "2e8476195852aaec340015755ecb37ef8fa65d5ba375f8c7a60e3b8d0643ed1e", | |
| 81 | 추가: "mode": "100644" | |
| 82 | 추가: }, | |
| 83 | 추가: { | |
| 84 | 추가: "path": "tests/rust-memory-gzip-reader/SHA256SUMS", | |
| 85 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 86 | 추가: "git_blob": "cb0292aab9f320eca2fd4b3395c10f84ca898ff6", | |
| 87 | 추가: "sha256": "1633895d78cca4c38f63c6efdf164d2c2d5ca1561c7eeb87dc5144159f05fd77", | |
| 88 | 추가: "mode": "100644" | |
| 89 | 추가: }, | |
| 90 | 추가: { | |
| 91 | 추가: "path": "tests/rust-memory-gzip-reader/budgets.rs", | |
| 92 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 93 | 추가: "git_blob": "0ec6e8818c277600841f4f37d069a5acce1c306e", | |
| 94 | 추가: "sha256": "d1b5132d656d514d73ac0f510991fab70d0c8783b9a10bf6314149a6d7a3649c", | |
| 95 | 추가: "mode": "100644" | |
| 96 | 추가: }, | |
| 97 | 추가: { | |
| 98 | 추가: "path": "tests/rust-memory-gzip-reader/checkpoints.rs", | |
| 99 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 100 | 추가: "git_blob": "5fa98cc9affaa4554562308663716ea5b2841636", | |
| 101 | 추가: "sha256": "6e995ed0edf29c0b4f513ddb0a9e56b427cefbd58e78351674ad0e4ee490de74", | |
| 102 | 추가: "mode": "100644" | |
| 103 | 추가: }, | |
| 104 | 추가: { | |
| 105 | 추가: "path": "tests/rust-memory-gzip-reader/contract.json", | |
| 106 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 107 | 추가: "git_blob": "c6d4feae43bd9e67ffd1009b3b0dff653f7952ff", | |
| 108 | 추가: "sha256": "aa6640e76fd821168afe6e78ae6f29aed27514a4100b5abab8054625d7aef79b", | |
| 109 | 추가: "mode": "100644" | |
| 110 | 추가: }, | |
| 111 | 추가: { | |
| 112 | 추가: "path": "tests/rust-memory-gzip-reader/fixtures.hex", | |
| 113 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 114 | 추가: "git_blob": "80e41d988d8d13c45b54d640468ca4939e84d7fa", | |
| 115 | 추가: "sha256": "e0768b8c44a7e6586bc423eea561da49eecbf5114130d88992b2c6c5893ae355", | |
| 116 | 추가: "mode": "100644" | |
| 117 | 추가: }, | |
| 118 | 추가: { | |
| 119 | 추가: "path": "tests/rust-memory-gzip-reader/fixtures.json", | |
| 120 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 121 | 추가: "git_blob": "d52a90d943151d7ba2c9dc1da76addccd661e4e4", | |
| 122 | 추가: "sha256": "329cbac0a9b5b064ef1db4c59d83860c97a6d2819e4659405b75e17bdc82b45d", | |
| 123 | 추가: "mode": "100644" | |
| 124 | 추가: }, | |
| 125 | 추가: { | |
| 126 | 추가: "path": "tests/rust-memory-gzip-reader/format.rs", | |
| 127 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 128 | 추가: "git_blob": "302adf4151f5f5c8100133eab82ad6f5e72003d5", | |
| 129 | 추가: "sha256": "b5a6c624e9911aa4e818612cc7a868a43313ee1e1c63b6352b8410ed896154c5", | |
| 130 | 추가: "mode": "100644" | |
| 131 | 추가: }, | |
| 132 | 추가: { | |
| 133 | 추가: "path": "tests/rust-memory-gzip-reader/generate_fixtures.py", | |
| 134 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 135 | 추가: "git_blob": "e48f324c331e429312c434761b1f40920957ca0d", | |
| 136 | 추가: "sha256": "1cde1dd2f913820f77458e5accfcdb91aec5a1319e3c0fb2d91fd7e385690831", | |
| 137 | 추가: "mode": "100644" | |
| 138 | 추가: }, | |
| 139 | 추가: { | |
| 140 | 추가: "path": "tests/rust-memory-gzip-reader/main.rs", | |
| 141 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 142 | 추가: "git_blob": "de62741b5834c691c67a0a606417237d3a45108b", | |
| 143 | 추가: "sha256": "036865bd2661062ea59d84362fdd747d9ce79d9b78400f12be3bea7703466020", | |
| 144 | 추가: "mode": "100644" | |
| 145 | 추가: }, | |
| 146 | 추가: { | |
| 147 | 추가: "path": "tests/rust-memory-gzip-reader/static_check.py", | |
| 148 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 149 | 추가: "git_blob": "74f7ca66d71692e7bec4f690ab6595d5344b0dfb", | |
| 150 | 추가: "sha256": "c37887322e014c6b96c71f0e979856a2be88713af57462e4436697ee7034407e", | |
| 151 | 추가: "mode": "100644" | |
| 152 | 추가: }, | |
| 153 | 추가: { | |
| 154 | 추가: "path": "tests/rust-memory-gzip-reader/static_check_helper_tests.py", | |
| 155 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 156 | 추가: "git_blob": "e5ab9c60a4107c6ed21995f35d4b2a695de86e1d", | |
| 157 | 추가: "sha256": "de4908b609ddb6789777901875ea224f962a9f96e9f17cd85765bb05d8231beb", | |
| 158 | 추가: "mode": "100644" | |
| 159 | 추가: }, | |
| 160 | 추가: { | |
| 161 | 추가: "path": "tests/rust-memory-gzip-reader/support.rs", | |
| 162 | 추가: "source_head": "9a0bab607cd52c9ffc0bb3955cfd3a4c44d0ea68", | |
| 163 | 추가: "git_blob": "b0a0bd05bc3f7d331fad375cbb0d0eddbd825b48", | |
| 164 | 추가: "sha256": "a4d39c7b9b9270eb31fb3e73d9ebd57c9ba78a99b73851944bdd4d645e8d5fc5", | |
| 165 | 추가: "mode": "100644" | |
| 166 | 추가: }, | |
| 167 | 추가: { | |
| 168 | 추가: "path": "experiments/rust-memory-zip-create/Cargo.lock", | |
| 169 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 170 | 추가: "git_blob": "aed6fe07391fce292edebb5206f98a617d2c4376", | |
| 171 | 추가: "sha256": "bb094be9b047cc7a9100492e1e7aa69ddbbc2a3d8bf2c4e8eaa49024160fd2c3", | |
| 172 | 추가: "mode": "100644" | |
| 173 | 추가: }, | |
| 174 | 추가: { | |
| 175 | 추가: "path": "experiments/rust-memory-zip-create/Cargo.toml", | |
| 176 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 177 | 추가: "git_blob": "899e96fbbd98053ff521d7f29aa2b682fccafb08", | |
| 178 | 추가: "sha256": "c8483ab032ce94e35ba84b56a4b127e669358f7e9f9b945b3ba60b472ab87b0e", | |
| 179 | 추가: "mode": "100644" | |
| 180 | 추가: }, | |
| 181 | 추가: { | |
| 182 | 추가: "path": "experiments/rust-memory-zip-create/SHA256SUMS", | |
| 183 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 184 | 추가: "git_blob": "b6738fe846fa737f5cacd53147a1492e917b73d5", | |
| 185 | 추가: "sha256": "c4d5651a956429a97e830906c132b537dca6e1c7c491f8148cbdd27d1cb63469", | |
| 186 | 추가: "mode": "100644" | |
| 187 | 추가: }, | |
| 188 | 추가: { | |
| 189 | 추가: "path": "experiments/rust-memory-zip-create/contract.json", | |
| 190 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 191 | 추가: "git_blob": "6be643ca9603b688f705eae172bb276d4afff35a", | |
| 192 | 추가: "sha256": "d3fc6cc43fa7f70f0a6cfb5e441348a3c011dac8d8e08b3061c0df5fce8e9206", | |
| 193 | 추가: "mode": "100644" | |
| 194 | 추가: }, | |
| 195 | 추가: { | |
| 196 | 추가: "path": "experiments/rust-memory-zip-create/src/lib.rs", | |
| 197 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 198 | 추가: "git_blob": "08cea1778ec21e4403f752901de9bfc7fa1ee8c9", | |
| 199 | 추가: "sha256": "3b2019fd963600155fd4dc01f55fef7f3e5c8ceec944a36597de984d5a8b7e8b", | |
| 200 | 추가: "mode": "100644" | |
| 201 | 추가: }, | |
| 202 | 추가: { | |
| 203 | 추가: "path": "experiments/rust-memory-zip-create/src/storage.rs", | |
| 204 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 205 | 추가: "git_blob": "1b61dd18f5e41e86ffdde752fc6ebc828a2c1b8c", | |
| 206 | 추가: "sha256": "1f81f5b1830eaf5f5e5e510841e10f3dd692f6d310a1871ce46fe4445dff9706", | |
| 207 | 추가: "mode": "100644" | |
| 208 | 추가: }, | |
| 209 | 추가: { | |
| 210 | 추가: "path": "tests/rust-memory-zip-create/SHA256SUMS", | |
| 211 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 212 | 추가: "git_blob": "b3fa66b24d8878f42a324df91440f7845dd88aa5", | |
| 213 | 추가: "sha256": "be63110eb2df851d26a7a6c929d4b0d6c1c1f7d0ddff47de2e3034350fc48b00", | |
| 214 | 추가: "mode": "100644" | |
| 215 | 추가: }, | |
| 216 | 추가: { | |
| 217 | 추가: "path": "tests/rust-memory-zip-create/api.rs", | |
| 218 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 219 | 추가: "git_blob": "7f8ff939763613aa35c226e5884085a6965e8c6e", | |
| 220 | 추가: "sha256": "69239e5ef0c9d78fa5db14ef45cfcc49b8be79ffd68402d98d61173282377ad5", | |
| 221 | 추가: "mode": "100644" | |
| 222 | 추가: }, | |
| 223 | 추가: { | |
| 224 | 추가: "path": "tests/rust-memory-zip-create/contract.json", | |
| 225 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 226 | 추가: "git_blob": "9d154572a4f76db6ee702d70c7f39923f7af21ff", | |
| 227 | 추가: "sha256": "68ad1c93c78a73bcbecfc5413cdfcabbd70142daf5bc0ac33640e0975b4bfd21", | |
| 228 | 추가: "mode": "100644" | |
| 229 | 추가: }, | |
| 230 | 추가: { | |
| 231 | 추가: "path": "tests/rust-memory-zip-create/lifecycle.rs", | |
| 232 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 233 | 추가: "git_blob": "09c271403d06557cf98151929e538ee22dc43921", | |
| 234 | 추가: "sha256": "ddb80e1ad74197fe5fd57356a1ff918ee60eeea442eb1997a585d1f9afb9bbc0", | |
| 235 | 추가: "mode": "100644" | |
| 236 | 추가: }, | |
| 237 | 추가: { | |
| 238 | 추가: "path": "tests/rust-memory-zip-create/limits.rs", | |
| 239 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 240 | 추가: "git_blob": "727b74081ebe164942a2a570c5cfa7c18e96d313", | |
| 241 | 추가: "sha256": "2abd7c04fb7e1b614179d38f9f865e655c8468df3002069c8058f3e84bb1b4e5", | |
| 242 | 추가: "mode": "100644" | |
| 243 | 추가: }, | |
| 244 | 추가: { | |
| 245 | 추가: "path": "tests/rust-memory-zip-create/names.rs", | |
| 246 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 247 | 추가: "git_blob": "7545050d770bb62be53cbd492d2f5d901065fb5f", | |
| 248 | 추가: "sha256": "dcd350774e6c597401f70de3bbf32be7f37187ecc6adf3260698346226ee1f11", | |
| 249 | 추가: "mode": "100644" | |
| 250 | 추가: }, | |
| 251 | 추가: { | |
| 252 | 추가: "path": "tests/rust-memory-zip-create/roundtrip.rs", | |
| 253 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 254 | 추가: "git_blob": "ed0cc4a0aa775c65215cd5f3671b6932ab927094", | |
| 255 | 추가: "sha256": "6e9688326e9e31bb8cdedc013bd03d1d656ac3067e341f69d62ba5abed21c21a", | |
| 256 | 추가: "mode": "100644" | |
| 257 | 추가: }, | |
| 258 | 추가: { | |
| 259 | 추가: "path": "tests/rust-memory-zip-create/storage.rs", | |
| 260 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 261 | 추가: "git_blob": "08aefae839d9ede99396062e17d670d8b8ee3efe", | |
| 262 | 추가: "sha256": "76a63e576d5db521d3b2af179a1251681ddbac5a2f7a62b3015eb75adcda0ee2", | |
| 263 | 추가: "mode": "100644" | |
| 264 | 추가: }, | |
| 265 | 추가: { | |
| 266 | 추가: "path": "tests/rust-memory-zip-create/support.rs", | |
| 267 | 추가: "source_head": "b6fc12f74141f2652245c95134621bb0f9cd02b4", | |
| 268 | 추가: "git_blob": "a1bba5fd57e8edbe29df6d13c7597583a9e4c3cc", | |
| 269 | 추가: "sha256": "971bdf33eb3e7d5ea64293fd70063e166019a47a229f3900fdcd416af8cdccb5", | |
| 270 | 추가: "mode": "100644" | |
| 271 | 추가: }, | |
| 272 | 추가: { | |
| 273 | 추가: "path": "experiments/rust-memory-ustar-reader/Cargo.lock", | |
| 274 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 275 | 추가: "git_blob": "4016006d7b01deb8efebff0e1d44218a0dd4b376", | |
| 276 | 추가: "sha256": "2a5d774e8cd96caa426d2d97d9c112062a57c156a026ae588932bced0af015ae", | |
| 277 | 추가: "mode": "100644" | |
| 278 | 추가: }, | |
| 279 | 추가: { | |
| 280 | 추가: "path": "experiments/rust-memory-ustar-reader/Cargo.toml", | |
| 281 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 282 | 추가: "git_blob": "42de96e4aa4c89a243ad988fa7a7f724ff70dc01", | |
| 283 | 추가: "sha256": "08f2cb43c2f541c4420deab0c6097ce732cd7ca6e32f9895c9cbc48dc7722734", | |
| 284 | 추가: "mode": "100644" | |
| 285 | 추가: }, | |
| 286 | 추가: { | |
| 287 | 추가: "path": "experiments/rust-memory-ustar-reader/LICENSE", | |
| 288 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 289 | 추가: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc", | |
| 290 | 추가: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62", | |
| 291 | 추가: "mode": "100644" | |
| 292 | 추가: }, | |
| 293 | 추가: { | |
| 294 | 추가: "path": "experiments/rust-memory-ustar-reader/SHA256SUMS", | |
| 295 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 296 | 추가: "git_blob": "b8868532047fb561fc9fc987b1cbbb9c8daab298", | |
| 297 | 추가: "sha256": "a7cf6f6ad510173bf9ccbf0245ad20fd06cad08bcab4cc601031006e95305d28", | |
| 298 | 추가: "mode": "100644" | |
| 299 | 추가: }, | |
| 300 | 추가: { | |
| 301 | 추가: "path": "experiments/rust-memory-ustar-reader/THIRD-PARTY-NOTICES.txt", | |
| 302 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 303 | 추가: "git_blob": "8540c10d9c03253ce1ed31142fe98229ab6d90cf", | |
| 304 | 추가: "sha256": "e4d82397ea8ad7780bfcf97344548f2a7784e2ae6384441e54193b351bf8dad6", | |
| 305 | 추가: "mode": "100644" | |
| 306 | 추가: }, | |
| 307 | 추가: { | |
| 308 | 추가: "path": "experiments/rust-memory-ustar-reader/contract.json", | |
| 309 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 310 | 추가: "git_blob": "8ae86c21671984209bc30973605d61327259aa16", | |
| 311 | 추가: "sha256": "21cb673b63a14af1641406d8adb20cfcfd47adfad1ce15ff3c7c2d9840077b06", | |
| 312 | 추가: "mode": "100644" | |
| 313 | 추가: }, | |
| 314 | 추가: { | |
| 315 | 추가: "path": "experiments/rust-memory-ustar-reader/dependencies.json", | |
| 316 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 317 | 추가: "git_blob": "f9d8b8d2f82f758894ad2698c50107b2341fb183", | |
| 318 | 추가: "sha256": "7c793eb80dbc167fddc8c0660123507fc80c6ebb763cbd06821f6b95735b9271", | |
| 319 | 추가: "mode": "100644" | |
| 320 | 추가: }, | |
| 321 | 추가: { | |
| 322 | 추가: "path": "experiments/rust-memory-ustar-reader/src/budget.rs", | |
| 323 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 324 | 추가: "git_blob": "1eab0733b90b66fc12b5db2931fb7dcb08d80c13", | |
| 325 | 추가: "sha256": "5d511a2519ed26e0fa8fb84b2d8cc0479679e9c3b5815a3c0e20790a283c923e", | |
| 326 | 추가: "mode": "100644" | |
| 327 | 추가: }, | |
| 328 | 추가: { | |
| 329 | 추가: "path": "experiments/rust-memory-ustar-reader/src/header.rs", | |
| 330 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 331 | 추가: "git_blob": "d278d372076b40715c6f73e1f0c67b54293566ca", | |
| 332 | 추가: "sha256": "263c2a610d522c0f5bf24ceef14be184735b4858a40277963252bae439d4112e", | |
| 333 | 추가: "mode": "100644" | |
| 334 | 추가: }, | |
| 335 | 추가: { | |
| 336 | 추가: "path": "experiments/rust-memory-ustar-reader/src/lib.rs", | |
| 337 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 338 | 추가: "git_blob": "ce8e3b751a53a66f5d0cfaab15ffdeea92fae98f", | |
| 339 | 추가: "sha256": "9b57f771c1d89ffc74aea604d7f3476202ad62914c91a5246802706294e5bfcd", | |
| 340 | 추가: "mode": "100644" | |
| 341 | 추가: }, | |
| 342 | 추가: { | |
| 343 | 추가: "path": "tests/rust-memory-ustar-reader/Cargo.lock", | |
| 344 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 345 | 추가: "git_blob": "62a03ba78153130ca889b63c7be046264f8ede1f", | |
| 346 | 추가: "sha256": "6e4cce2848f1e4b120b28722fb73956dca7f759419029e299b6c09acc1e0dfc5", | |
| 347 | 추가: "mode": "100644" | |
| 348 | 추가: }, | |
| 349 | 추가: { | |
| 350 | 추가: "path": "tests/rust-memory-ustar-reader/Cargo.toml", | |
| 351 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 352 | 추가: "git_blob": "1dc8fe5f69638e504c6f88a4ba4f1562b285f39f", | |
| 353 | 추가: "sha256": "5a7e53d47ff3c08b5531ed1fed5e574d917ed5b7f8af0a52c8de401ca6bcb792", | |
| 354 | 추가: "mode": "100644" | |
| 355 | 추가: }, | |
| 356 | 추가: { | |
| 357 | 추가: "path": "tests/rust-memory-ustar-reader/SHA256SUMS", | |
| 358 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 359 | 추가: "git_blob": "0093ed9578bab969ea69bb332d36fb5d980c4846", | |
| 360 | 추가: "sha256": "5740d93c2429dc81f9859c6fe29fdac9cf417f8783c07029a1f28a1f3a4d37fe", | |
| 361 | 추가: "mode": "100644" | |
| 362 | 추가: }, | |
| 363 | 추가: { | |
| 364 | 추가: "path": "tests/rust-memory-ustar-reader/budget.rs", | |
| 365 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 366 | 추가: "git_blob": "60ccf1de5f9f17ec0ad9e569fbe167241ea2472d", | |
| 367 | 추가: "sha256": "c3d80703b31a3e9712509168b0b1d947b985918d40aac6dfa8e4f4c0f31569f3", | |
| 368 | 추가: "mode": "100644" | |
| 369 | 추가: }, | |
| 370 | 추가: { | |
| 371 | 추가: "path": "tests/rust-memory-ustar-reader/callbacks.rs", | |
| 372 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 373 | 추가: "git_blob": "3676cc4adda6596d4ea6d14741e70268bded1356", | |
| 374 | 추가: "sha256": "fe9f476dbee65e044adc3edd8f58c7a5183ec92b6802e05a0ac010319e0170f4", | |
| 375 | 추가: "mode": "100644" | |
| 376 | 추가: }, | |
| 377 | 추가: { | |
| 378 | 추가: "path": "tests/rust-memory-ustar-reader/contract.json", | |
| 379 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 380 | 추가: "git_blob": "08b8b17997818ee2685149f2cc0781cf2da1982a", | |
| 381 | 추가: "sha256": "a4e4eb34896295b85dacc22dfa9344eba12854d912e20fc83c7f788b83bbbef9", | |
| 382 | 추가: "mode": "100644" | |
| 383 | 추가: }, | |
| 384 | 추가: { | |
| 385 | 추가: "path": "tests/rust-memory-ustar-reader/format.rs", | |
| 386 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 387 | 추가: "git_blob": "80eecfd680669804add50ea14195eacd21de3a3e", | |
| 388 | 추가: "sha256": "40934ec14e2e30994170118dbf9350c29a28ef9ae65aa4b10748216a35314c8b", | |
| 389 | 추가: "mode": "100644" | |
| 390 | 추가: }, | |
| 391 | 추가: { | |
| 392 | 추가: "path": "tests/rust-memory-ustar-reader/main.rs", | |
| 393 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 394 | 추가: "git_blob": "b993568c08adcfd0be8648108432e3e3219961dd", | |
| 395 | 추가: "sha256": "50714865d7b6e53e0419ca0e26536f62237117b743dc98097912fe453d78c558", | |
| 396 | 추가: "mode": "100644" | |
| 397 | 추가: }, | |
| 398 | 추가: { | |
| 399 | 추가: "path": "tests/rust-memory-ustar-reader/names.rs", | |
| 400 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 401 | 추가: "git_blob": "89c9df6bf935b7084aa24fedd3cd6ccf18307b23", | |
| 402 | 추가: "sha256": "2611bfd6b8ca37bccb6110fbc954b15e810741d453edd6349efc0cdb114180c2", | |
| 403 | 추가: "mode": "100644" | |
| 404 | 추가: }, | |
| 405 | 추가: { | |
| 406 | 추가: "path": "tests/rust-memory-ustar-reader/selection.rs", | |
| 407 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 408 | 추가: "git_blob": "e35f28c7c7897bda7270ad4a9f9bb925fd8d2c8e", | |
| 409 | 추가: "sha256": "b62dc7bbefee258dd110632aeff9140d512fb881a7d5edc7054ca31784cd6d99", | |
| 410 | 추가: "mode": "100644" | |
| 411 | 추가: }, | |
| 412 | 추가: { | |
| 413 | 추가: "path": "tests/rust-memory-ustar-reader/static_check.py", | |
| 414 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 415 | 추가: "git_blob": "ebeb48b3c016a57b0e883a4de409c99800a6b2f0", | |
| 416 | 추가: "sha256": "e0d113edb4b150be4a5ecb1abb055fab91218461bc168bbf9787041c4fe2f09e", | |
| 417 | 추가: "mode": "100644" | |
| 418 | 추가: }, | |
| 419 | 추가: { | |
| 420 | 추가: "path": "tests/rust-memory-ustar-reader/support.rs", | |
| 421 | 추가: "source_head": "5ccbc0b96ff230c172952a87a99f452c9561e165", | |
| 422 | 추가: "git_blob": "a280942626fab1e193d3d6ed8ca87d139c9b1d4e", | |
| 423 | 추가: "sha256": "6c30a2c7ce9598f9e89d0f28b6a0512d1abb10462b1777a8c9042f9591c2bae7", | |
| 424 | 추가: "mode": "100644" | |
| 425 | 추가: } | |
| 426 | 추가: ] | |
| 427 | 추가: } |
| @@ -0,0 +1,407 @@ | ||
| 1 | 추가: #![forbid(unsafe_code)] | |
| 2 | 추가: | |
| 3 | 추가: use std::sync::{ | |
| 4 | 추가: Arc, | |
| 5 | 추가: atomic::{AtomicBool, AtomicU64, Ordering}, | |
| 6 | 추가: }; | |
| 7 | 추가: | |
| 8 | 추가: pub use {gzip, ustar, zip_create}; | |
| 9 | 추가: | |
| 10 | 추가: static NEXT_OPERATION: AtomicU64 = AtomicU64::new(1); | |
| 11 | 추가: | |
| 12 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] | |
| 13 | 추가: pub struct OperationId(u64); | |
| 14 | 추가: | |
| 15 | 추가: impl OperationId { | |
| 16 | 추가: pub fn value(self) -> u64 { | |
| 17 | 추가: self.0 | |
| 18 | 추가: } | |
| 19 | 추가: } | |
| 20 | 추가: | |
| 21 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq)] | |
| 22 | 추가: pub enum Policy { | |
| 23 | 추가: GzipSingleMemberV1, | |
| 24 | 추가: UstarLinuxV1, | |
| 25 | 추가: ZipAsciiCreateV1, | |
| 26 | 추가: } | |
| 27 | 추가: | |
| 28 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq)] | |
| 29 | 추가: pub enum AdapterFailure { | |
| 30 | 추가: OperationIdExhausted, | |
| 31 | 추가: SequenceExhausted, | |
| 32 | 추가: } | |
| 33 | 추가: | |
| 34 | 추가: #[derive(Clone, Debug)] | |
| 35 | 추가: pub struct Cancellation { | |
| 36 | 추가: operation: OperationId, | |
| 37 | 추가: requested: Arc<AtomicBool>, | |
| 38 | 추가: } | |
| 39 | 추가: | |
| 40 | 추가: impl Cancellation { | |
| 41 | 추가: pub fn operation(&self) -> OperationId { | |
| 42 | 추가: self.operation | |
| 43 | 추가: } | |
| 44 | 추가: pub fn request(&self) -> bool { | |
| 45 | 추가: !self.requested.swap(true, Ordering::SeqCst) | |
| 46 | 추가: } | |
| 47 | 추가: pub fn is_requested(&self) -> bool { | |
| 48 | 추가: self.requested.load(Ordering::SeqCst) | |
| 49 | 추가: } | |
| 50 | 추가: } | |
| 51 | 추가: | |
| 52 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq)] | |
| 53 | 추가: pub struct Stamp { | |
| 54 | 추가: operation: OperationId, | |
| 55 | 추가: sequence: u64, | |
| 56 | 추가: } | |
| 57 | 추가: | |
| 58 | 추가: impl Stamp { | |
| 59 | 추가: pub fn operation(self) -> OperationId { | |
| 60 | 추가: self.operation | |
| 61 | 추가: } | |
| 62 | 추가: pub fn sequence(self) -> u64 { | |
| 63 | 추가: self.sequence | |
| 64 | 추가: } | |
| 65 | 추가: } | |
| 66 | 추가: | |
| 67 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq)] | |
| 68 | 추가: pub enum Metric { | |
| 69 | 추가: GzipCumulativeProcessedBytes, | |
| 70 | 추가: UstarInputOffset { pass: u8 }, | |
| 71 | 추가: UstarEntryIndex { pass: u8 }, | |
| 72 | 추가: ZipInputOffset { entry: usize }, | |
| 73 | 추가: ZipOutputExtent, | |
| 74 | 추가: } | |
| 75 | 추가: | |
| 76 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq)] | |
| 77 | 추가: pub struct Progress { | |
| 78 | 추가: pub metric: Metric, | |
| 79 | 추가: pub value: u64, | |
| 80 | 추가: pub total: Option<u64>, | |
| 81 | 추가: } | |
| 82 | 추가: | |
| 83 | 추가: #[derive(Debug)] | |
| 84 | 추가: pub struct Event<C> { | |
| 85 | 추가: stamp: Stamp, | |
| 86 | 추가: pub policy: Policy, | |
| 87 | 추가: pub checkpoint: C, | |
| 88 | 추가: pub progress: Option<Progress>, | |
| 89 | 추가: } | |
| 90 | 추가: | |
| 91 | 추가: impl<C> Event<C> { | |
| 92 | 추가: pub fn stamp(&self) -> Stamp { | |
| 93 | 추가: self.stamp | |
| 94 | 추가: } | |
| 95 | 추가: } | |
| 96 | 추가: | |
| 97 | 추가: #[derive(Debug)] | |
| 98 | 추가: pub struct MemoryValidated<T> { | |
| 99 | 추가: policy: Policy, | |
| 100 | 추가: value: T, | |
| 101 | 추가: } | |
| 102 | 추가: | |
| 103 | 추가: impl<T> MemoryValidated<T> { | |
| 104 | 추가: pub fn policy(&self) -> Policy { | |
| 105 | 추가: self.policy | |
| 106 | 추가: } | |
| 107 | 추가: pub fn value(&self) -> &T { | |
| 108 | 추가: &self.value | |
| 109 | 추가: } | |
| 110 | 추가: pub fn into_inner(self) -> T { | |
| 111 | 추가: self.value | |
| 112 | 추가: } | |
| 113 | 추가: } | |
| 114 | 추가: | |
| 115 | 추가: #[derive(Debug)] | |
| 116 | 추가: pub struct Failure<E> { | |
| 117 | 추가: pub native: Option<E>, | |
| 118 | 추가: pub adapter: Option<AdapterFailure>, | |
| 119 | 추가: } | |
| 120 | 추가: | |
| 121 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq)] | |
| 122 | 추가: pub enum ProcessCleanup { | |
| 123 | 추가: NotApplicable, | |
| 124 | 추가: } | |
| 125 | 추가: | |
| 126 | 추가: #[derive(Debug)] | |
| 127 | 추가: pub struct Terminal<T, E> { | |
| 128 | 추가: stamp: Stamp, | |
| 129 | 추가: policy: Policy, | |
| 130 | 추가: cancellation_requested: bool, | |
| 131 | 추가: cancellation_forwarded: bool, | |
| 132 | 추가: result: Result<MemoryValidated<T>, Failure<E>>, | |
| 133 | 추가: } | |
| 134 | 추가: | |
| 135 | 추가: impl<T, E> Terminal<T, E> { | |
| 136 | 추가: pub fn stamp(&self) -> Stamp { | |
| 137 | 추가: self.stamp | |
| 138 | 추가: } | |
| 139 | 추가: pub fn policy(&self) -> Policy { | |
| 140 | 추가: self.policy | |
| 141 | 추가: } | |
| 142 | 추가: pub fn cancellation_requested(&self) -> bool { | |
| 143 | 추가: self.cancellation_requested | |
| 144 | 추가: } | |
| 145 | 추가: pub fn cancellation_forwarded(&self) -> bool { | |
| 146 | 추가: self.cancellation_forwarded | |
| 147 | 추가: } | |
| 148 | 추가: pub fn process_cleanup(&self) -> ProcessCleanup { | |
| 149 | 추가: ProcessCleanup::NotApplicable | |
| 150 | 추가: } | |
| 151 | 추가: pub fn result(&self) -> Result<&MemoryValidated<T>, &Failure<E>> { | |
| 152 | 추가: self.result.as_ref() | |
| 153 | 추가: } | |
| 154 | 추가: pub fn into_result(self) -> Result<MemoryValidated<T>, Failure<E>> { | |
| 155 | 추가: self.result | |
| 156 | 추가: } | |
| 157 | 추가: } | |
| 158 | 추가: | |
| 159 | 추가: pub struct Operation { | |
| 160 | 추가: cancellation: Cancellation, | |
| 161 | 추가: next_sequence: u64, | |
| 162 | 추가: fault: Option<AdapterFailure>, | |
| 163 | 추가: cancellation_forwarded: bool, | |
| 164 | 추가: } | |
| 165 | 추가: | |
| 166 | 추가: impl Operation { | |
| 167 | 추가: pub fn start() -> Result<(Self, Cancellation), AdapterFailure> { | |
| 168 | 추가: let value = NEXT_OPERATION | |
| 169 | 추가: .try_update(Ordering::SeqCst, Ordering::SeqCst, |v| v.checked_add(1)) | |
| 170 | 추가: .map_err(|_| AdapterFailure::OperationIdExhausted)?; | |
| 171 | 추가: let cancellation = Cancellation { | |
| 172 | 추가: operation: OperationId(value), | |
| 173 | 추가: requested: Arc::new(AtomicBool::new(false)), | |
| 174 | 추가: }; | |
| 175 | 추가: Ok(( | |
| 176 | 추가: Self { | |
| 177 | 추가: cancellation: cancellation.clone(), | |
| 178 | 추가: next_sequence: 0, | |
| 179 | 추가: fault: None, | |
| 180 | 추가: cancellation_forwarded: false, | |
| 181 | 추가: }, | |
| 182 | 추가: cancellation, | |
| 183 | 추가: )) | |
| 184 | 추가: } | |
| 185 | 추가: | |
| 186 | 추가: pub fn id(&self) -> OperationId { | |
| 187 | 추가: self.cancellation.operation | |
| 188 | 추가: } | |
| 189 | 추가: | |
| 190 | 추가: fn event<C>( | |
| 191 | 추가: &mut self, | |
| 192 | 추가: policy: Policy, | |
| 193 | 추가: checkpoint: C, | |
| 194 | 추가: progress: Option<Progress>, | |
| 195 | 추가: ) -> Option<Event<C>> { | |
| 196 | 추가: // 마지막 순번은 terminal 반환에 남겨 둠. | |
| 197 | 추가: let Some(next) = self.next_sequence.checked_add(1) else { | |
| 198 | 추가: self.fault = Some(AdapterFailure::SequenceExhausted); | |
| 199 | 추가: return None; | |
| 200 | 추가: }; | |
| 201 | 추가: let stamp = Stamp { | |
| 202 | 추가: operation: self.id(), | |
| 203 | 추가: sequence: self.next_sequence, | |
| 204 | 추가: }; | |
| 205 | 추가: self.next_sequence = next; | |
| 206 | 추가: Some(Event { | |
| 207 | 추가: stamp, | |
| 208 | 추가: policy, | |
| 209 | 추가: checkpoint, | |
| 210 | 추가: progress, | |
| 211 | 추가: }) | |
| 212 | 추가: } | |
| 213 | 추가: | |
| 214 | 추가: fn cancelled(&mut self) -> bool { | |
| 215 | 추가: if self.cancellation.is_requested() { | |
| 216 | 추가: self.cancellation_forwarded = true; | |
| 217 | 추가: true | |
| 218 | 추가: } else { | |
| 219 | 추가: false | |
| 220 | 추가: } | |
| 221 | 추가: } | |
| 222 | 추가: | |
| 223 | 추가: fn finish<T, E>(self, policy: Policy, result: Result<T, E>) -> Terminal<T, E> { | |
| 224 | 추가: let result = match (result, self.fault) { | |
| 225 | 추가: (Ok(value), None) => Ok(MemoryValidated { policy, value }), | |
| 226 | 추가: (Ok(_), Some(fault)) => Err(Failure { | |
| 227 | 추가: native: None, | |
| 228 | 추가: adapter: Some(fault), | |
| 229 | 추가: }), | |
| 230 | 추가: (Err(error), fault) => Err(Failure { | |
| 231 | 추가: native: Some(error), | |
| 232 | 추가: adapter: fault, | |
| 233 | 추가: }), | |
| 234 | 추가: }; | |
| 235 | 추가: Terminal { | |
| 236 | 추가: stamp: Stamp { | |
| 237 | 추가: operation: self.id(), | |
| 238 | 추가: sequence: self.next_sequence, | |
| 239 | 추가: }, | |
| 240 | 추가: policy, | |
| 241 | 추가: cancellation_requested: self.cancellation.is_requested(), | |
| 242 | 추가: cancellation_forwarded: self.cancellation_forwarded, | |
| 243 | 추가: result, | |
| 244 | 추가: } | |
| 245 | 추가: } | |
| 246 | 추가: | |
| 247 | 추가: pub fn gzip<E>( | |
| 248 | 추가: mut self, | |
| 249 | 추가: request: gzip::Request, | |
| 250 | 추가: budget: &mut gzip::Budget, | |
| 251 | 추가: mut observe: impl FnMut(Event<gzip::Checkpoint>) -> Result<(), gzip::Stop<E>>, | |
| 252 | 추가: ) -> Terminal<gzip::Completed, gzip::Error<E>> { | |
| 253 | 추가: let policy = Policy::GzipSingleMemberV1; | |
| 254 | 추가: let result = gzip::read(request, budget, |checkpoint| { | |
| 255 | 추가: let progress = Some(Progress { | |
| 256 | 추가: metric: Metric::GzipCumulativeProcessedBytes, | |
| 257 | 추가: value: checkpoint.usage.processed, | |
| 258 | 추가: total: None, | |
| 259 | 추가: }); | |
| 260 | 추가: let event = self | |
| 261 | 추가: .event(policy, checkpoint, progress) | |
| 262 | 추가: .ok_or(gzip::Stop::Cancelled)?; | |
| 263 | 추가: observe(event)?; | |
| 264 | 추가: if self.cancelled() { | |
| 265 | 추가: Err(gzip::Stop::Cancelled) | |
| 266 | 추가: } else { | |
| 267 | 추가: Ok(()) | |
| 268 | 추가: } | |
| 269 | 추가: }); | |
| 270 | 추가: self.finish(policy, result) | |
| 271 | 추가: } | |
| 272 | 추가: | |
| 273 | 추가: pub fn ustar<E>( | |
| 274 | 추가: mut self, | |
| 275 | 추가: request: ustar::Request, | |
| 276 | 추가: select: impl FnOnce(&[ustar::Entry]) -> Result<Vec<String>, E>, | |
| 277 | 추가: mut observe: impl FnMut(Event<ustar::Checkpoint>) -> Result<(), ustar::Stop>, | |
| 278 | 추가: ) -> Terminal<ustar::Completed, ustar::Error<E>> { | |
| 279 | 추가: let policy = Policy::UstarLinuxV1; | |
| 280 | 추가: let result = ustar::read(request, select, |checkpoint| { | |
| 281 | 추가: let progress = match checkpoint { | |
| 282 | 추가: ustar::Checkpoint::Read { pass, offset } => Some(Progress { | |
| 283 | 추가: metric: Metric::UstarInputOffset { pass }, | |
| 284 | 추가: value: offset as u64, | |
| 285 | 추가: total: None, | |
| 286 | 추가: }), | |
| 287 | 추가: ustar::Checkpoint::Entry { pass, index } => Some(Progress { | |
| 288 | 추가: metric: Metric::UstarEntryIndex { pass }, | |
| 289 | 추가: value: index as u64, | |
| 290 | 추가: total: None, | |
| 291 | 추가: }), | |
| 292 | 추가: _ => None, | |
| 293 | 추가: }; | |
| 294 | 추가: let event = self | |
| 295 | 추가: .event(policy, checkpoint, progress) | |
| 296 | 추가: .ok_or(ustar::Stop::Cancelled)?; | |
| 297 | 추가: observe(event)?; | |
| 298 | 추가: if self.cancelled() { | |
| 299 | 추가: Err(ustar::Stop::Cancelled) | |
| 300 | 추가: } else { | |
| 301 | 추가: Ok(()) | |
| 302 | 추가: } | |
| 303 | 추가: }); | |
| 304 | 추가: self.finish(policy, result) | |
| 305 | 추가: } | |
| 306 | 추가: | |
| 307 | 추가: pub fn create_zip( | |
| 308 | 추가: mut self, | |
| 309 | 추가: request: zip_create::Request, | |
| 310 | 추가: mut observe: impl FnMut(Event<zip_create::Checkpoint>) -> Result<(), zip_create::Stop>, | |
| 311 | 추가: ) -> Terminal<Vec<u8>, zip_create::Failure> { | |
| 312 | 추가: let policy = Policy::ZipAsciiCreateV1; | |
| 313 | 추가: let result = zip_create::create(request, |checkpoint| { | |
| 314 | 추가: let progress = match checkpoint { | |
| 315 | 추가: zip_create::Checkpoint::Input { index, offset, .. } => Some(Progress { | |
| 316 | 추가: metric: Metric::ZipInputOffset { entry: index }, | |
| 317 | 추가: value: offset as u64, | |
| 318 | 추가: total: None, | |
| 319 | 추가: }), | |
| 320 | 추가: zip_create::Checkpoint::Write { extent, .. } => Some(Progress { | |
| 321 | 추가: metric: Metric::ZipOutputExtent, | |
| 322 | 추가: value: extent, | |
| 323 | 추가: total: None, | |
| 324 | 추가: }), | |
| 325 | 추가: _ => None, | |
| 326 | 추가: }; | |
| 327 | 추가: let event = self | |
| 328 | 추가: .event(policy, checkpoint, progress) | |
| 329 | 추가: .ok_or(zip_create::Stop::Cancelled)?; | |
| 330 | 추가: observe(event)?; | |
| 331 | 추가: if self.cancelled() { | |
| 332 | 추가: Err(zip_create::Stop::Cancelled) | |
| 333 | 추가: } else { | |
| 334 | 추가: Ok(()) | |
| 335 | 추가: } | |
| 336 | 추가: }); | |
| 337 | 추가: self.finish(policy, result) | |
| 338 | 추가: } | |
| 339 | 추가: } | |
| 340 | 추가: | |
| 341 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq)] | |
| 342 | 추가: pub enum Delivery { | |
| 343 | 추가: Accepted, | |
| 344 | 추가: IgnoredStale, | |
| 345 | 추가: } | |
| 346 | 추가: | |
| 347 | 추가: #[derive(Clone, Copy, Debug, PartialEq, Eq)] | |
| 348 | 추가: pub enum DeliveryError { | |
| 349 | 추가: Sequence { expected: u64, received: u64 }, | |
| 350 | 추가: AlreadyTerminal, | |
| 351 | 추가: Faulted, | |
| 352 | 추가: } | |
| 353 | 추가: | |
| 354 | 추가: pub struct Receiver { | |
| 355 | 추가: operation: OperationId, | |
| 356 | 추가: next_sequence: u64, | |
| 357 | 추가: terminal: bool, | |
| 358 | 추가: faulted: bool, | |
| 359 | 추가: } | |
| 360 | 추가: | |
| 361 | 추가: impl Receiver { | |
| 362 | 추가: pub fn new(operation: OperationId) -> Self { | |
| 363 | 추가: Self { | |
| 364 | 추가: operation, | |
| 365 | 추가: next_sequence: 0, | |
| 366 | 추가: terminal: false, | |
| 367 | 추가: faulted: false, | |
| 368 | 추가: } | |
| 369 | 추가: } | |
| 370 | 추가: | |
| 371 | 추가: pub fn progress<C>(&mut self, event: &Event<C>) -> Result<Delivery, DeliveryError> { | |
| 372 | 추가: self.accept(event.stamp, false) | |
| 373 | 추가: } | |
| 374 | 추가: | |
| 375 | 추가: pub fn terminal<T, E>(&mut self, event: &Terminal<T, E>) -> Result<Delivery, DeliveryError> { | |
| 376 | 추가: self.accept(event.stamp, true) | |
| 377 | 추가: } | |
| 378 | 추가: | |
| 379 | 추가: fn accept(&mut self, stamp: Stamp, terminal: bool) -> Result<Delivery, DeliveryError> { | |
| 380 | 추가: // 이전 작업 이벤트는 현재 순번이나 종료 상태를 바꾸지 않음. | |
| 381 | 추가: if stamp.operation != self.operation { | |
| 382 | 추가: return Ok(Delivery::IgnoredStale); | |
| 383 | 추가: } | |
| 384 | 추가: if self.faulted { | |
| 385 | 추가: return Err(DeliveryError::Faulted); | |
| 386 | 추가: } | |
| 387 | 추가: if self.terminal { | |
| 388 | 추가: return Err(DeliveryError::AlreadyTerminal); | |
| 389 | 추가: } | |
| 390 | 추가: if stamp.sequence != self.next_sequence || (!terminal && stamp.sequence == u64::MAX) { | |
| 391 | 추가: self.faulted = true; | |
| 392 | 추가: return Err(DeliveryError::Sequence { | |
| 393 | 추가: expected: self.next_sequence, | |
| 394 | 추가: received: stamp.sequence, | |
| 395 | 추가: }); | |
| 396 | 추가: } | |
| 397 | 추가: if terminal { | |
| 398 | 추가: self.terminal = true; | |
| 399 | 추가: } else { | |
| 400 | 추가: self.next_sequence = self | |
| 401 | 추가: .next_sequence | |
| 402 | 추가: .checked_add(1) | |
| 403 | 추가: .ok_or(DeliveryError::Faulted)?; | |
| 404 | 추가: } | |
| 405 | 추가: Ok(Delivery::Accepted) | |
| 406 | 추가: } | |
| 407 | 추가: } |
| @@ -0,0 +1,100 @@ | ||
| 1 | 추가: # This file is automatically @generated by Cargo. | |
| 2 | 추가: # It is not intended for manual editing. | |
| 3 | 추가: version = 4 | |
| 4 | 추가: | |
| 5 | 추가: [[package]] | |
| 6 | 추가: name = "block-buffer" | |
| 7 | 추가: version = "0.10.4" | |
| 8 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 9 | 추가: checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" | |
| 10 | 추가: dependencies = [ | |
| 11 | 추가: "generic-array", | |
| 12 | 추가: ] | |
| 13 | 추가: | |
| 14 | 추가: [[package]] | |
| 15 | 추가: name = "cfg-if" | |
| 16 | 추가: version = "1.0.5" | |
| 17 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 18 | 추가: checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" | |
| 19 | 추가: | |
| 20 | 추가: [[package]] | |
| 21 | 추가: name = "cpufeatures" | |
| 22 | 추가: version = "0.2.17" | |
| 23 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 24 | 추가: checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" | |
| 25 | 추가: dependencies = [ | |
| 26 | 추가: "libc", | |
| 27 | 추가: ] | |
| 28 | 추가: | |
| 29 | 추가: [[package]] | |
| 30 | 추가: name = "crypto-common" | |
| 31 | 추가: version = "0.1.7" | |
| 32 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 33 | 추가: checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" | |
| 34 | 추가: dependencies = [ | |
| 35 | 추가: "generic-array", | |
| 36 | 추가: "typenum", | |
| 37 | 추가: ] | |
| 38 | 추가: | |
| 39 | 추가: [[package]] | |
| 40 | 추가: name = "digest" | |
| 41 | 추가: version = "0.10.7" | |
| 42 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 43 | 추가: checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" | |
| 44 | 추가: dependencies = [ | |
| 45 | 추가: "block-buffer", | |
| 46 | 추가: "crypto-common", | |
| 47 | 추가: ] | |
| 48 | 추가: | |
| 49 | 추가: [[package]] | |
| 50 | 추가: name = "generic-array" | |
| 51 | 추가: version = "0.14.7" | |
| 52 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 53 | 추가: checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" | |
| 54 | 추가: dependencies = [ | |
| 55 | 추가: "typenum", | |
| 56 | 추가: "version_check", | |
| 57 | 추가: ] | |
| 58 | 추가: | |
| 59 | 추가: [[package]] | |
| 60 | 추가: name = "libc" | |
| 61 | 추가: version = "0.2.191" | |
| 62 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 63 | 추가: checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" | |
| 64 | 추가: | |
| 65 | 추가: [[package]] | |
| 66 | 추가: name = "sha2" | |
| 67 | 추가: version = "0.10.9" | |
| 68 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 69 | 추가: checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" | |
| 70 | 추가: dependencies = [ | |
| 71 | 추가: "cfg-if", | |
| 72 | 추가: "cpufeatures", | |
| 73 | 추가: "digest", | |
| 74 | 추가: ] | |
| 75 | 추가: | |
| 76 | 추가: [[package]] | |
| 77 | 추가: name = "subtle" | |
| 78 | 추가: version = "2.6.1" | |
| 79 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 80 | 추가: checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" | |
| 81 | 추가: | |
| 82 | 추가: [[package]] | |
| 83 | 추가: name = "typenum" | |
| 84 | 추가: version = "1.20.1" | |
| 85 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 86 | 추가: checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" | |
| 87 | 추가: | |
| 88 | 추가: [[package]] | |
| 89 | 추가: name = "version_check" | |
| 90 | 추가: version = "0.9.5" | |
| 91 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 92 | 추가: checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | |
| 93 | 추가: | |
| 94 | 추가: [[package]] | |
| 95 | 추가: name = "zipelo-memory-ustar-reader" | |
| 96 | 추가: version = "0.1.0" | |
| 97 | 추가: dependencies = [ | |
| 98 | 추가: "sha2", | |
| 99 | 추가: "subtle", | |
| 100 | 추가: ] |
| @@ -0,0 +1,16 @@ | ||
| 1 | 추가: [package] | |
| 2 | 추가: name = "zipelo-memory-ustar-reader" | |
| 3 | 추가: version = "0.1.0" | |
| 4 | 추가: edition = "2024" | |
| 5 | 추가: license = "MIT" | |
| 6 | 추가: publish = false | |
| 7 | 추가: autotests = false | |
| 8 | 추가: | |
| 9 | 추가: [lib] | |
| 10 | 추가: path = "src/lib.rs" | |
| 11 | 추가: | |
| 12 | 추가: [dependencies] | |
| 13 | 추가: sha2 = { version = "=0.10.9", default-features = false, features = ["std", "force-soft"] } | |
| 14 | 추가: subtle = { version = "=2.6.1", default-features = false } | |
| 15 | 추가: | |
| 16 | 추가: [workspace] |
| @@ -0,0 +1,21 @@ | ||
| 1 | 추가: MIT License | |
| 2 | 추가: | |
| 3 | 추가: Copyright (c) 2026 Team-LJY contributors | |
| 4 | 추가: | |
| 5 | 추가: Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | 추가: of this software and associated documentation files (the "Software"), to deal | |
| 7 | 추가: in the Software without restriction, including without limitation the rights | |
| 8 | 추가: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | 추가: copies of the Software, and to permit persons to whom the Software is | |
| 10 | 추가: furnished to do so, subject to the following conditions: | |
| 11 | 추가: | |
| 12 | 추가: The above copyright notice and this permission notice shall be included in all | |
| 13 | 추가: copies or substantial portions of the Software. | |
| 14 | 추가: | |
| 15 | 추가: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | 추가: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | 추가: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | 추가: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | 추가: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | 추가: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | 추가: SOFTWARE. |
| @@ -0,0 +1,9 @@ | ||
| 1 | 추가: 2a5d774e8cd96caa426d2d97d9c112062a57c156a026ae588932bced0af015ae experiments/rust-memory-ustar-reader/Cargo.lock | |
| 2 | 추가: 08f2cb43c2f541c4420deab0c6097ce732cd7ca6e32f9895c9cbc48dc7722734 experiments/rust-memory-ustar-reader/Cargo.toml | |
| 3 | 추가: 0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62 experiments/rust-memory-ustar-reader/LICENSE | |
| 4 | 추가: e4d82397ea8ad7780bfcf97344548f2a7784e2ae6384441e54193b351bf8dad6 experiments/rust-memory-ustar-reader/THIRD-PARTY-NOTICES.txt | |
| 5 | 추가: 21cb673b63a14af1641406d8adb20cfcfd47adfad1ce15ff3c7c2d9840077b06 experiments/rust-memory-ustar-reader/contract.json | |
| 6 | 추가: 7c793eb80dbc167fddc8c0660123507fc80c6ebb763cbd06821f6b95735b9271 experiments/rust-memory-ustar-reader/dependencies.json | |
| 7 | 추가: 5d511a2519ed26e0fa8fb84b2d8cc0479679e9c3b5815a3c0e20790a283c923e experiments/rust-memory-ustar-reader/src/budget.rs | |
| 8 | 추가: 263c2a610d522c0f5bf24ceef14be184735b4858a40277963252bae439d4112e experiments/rust-memory-ustar-reader/src/header.rs | |
| 9 | 추가: 9b57f771c1d89ffc74aea604d7f3476202ad62914c91a5246802706294e5bfcd experiments/rust-memory-ustar-reader/src/lib.rs |
Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기| @@ -0,0 +1,116 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "schema_version": 1, | |
| 3 | 추가: "base_commit": "018e7593ecb2b3a7ae0bc17a440ecf2c0de8b4dd", | |
| 4 | 추가: "branch": "features/rust-memory-ustar-reader", | |
| 5 | 추가: "baseline_sources": [ | |
| 6 | 추가: "src/Zipelo.Worker/Tar/UstarReader.cs", | |
| 7 | 추가: "src/Zipelo.Core/OutputPathPolicy.cs", | |
| 8 | 추가: "src/Zipelo.Core/JobBudget.cs", | |
| 9 | 추가: "tests/tar-stream-reader/Program.cs", | |
| 10 | 추가: "tests/tar-stream-reader/contract.json" | |
| 11 | 추가: ], | |
| 12 | 추가: "scope": "독점 소유 Box<[u8]>의 엄격한 USTAR 일반 파일과 디렉터리를 Linux 이름 정책으로 읽는 실험 library임. 파일시스템, worker, IPC, 게시, UI, 암호, 복구와 압축 wrapper는 범위 밖임.", | |
| 13 | 추가: "api": { | |
| 14 | 추가: "signature": "read<E, S, C>(Request, select: S, checkpoint: C) -> Result<Completed, Error<E>>", | |
| 15 | 추가: "select": "FnOnce(&[Entry]) -> Result<Vec<String>, E>. 전체 1차 검증 후 호출함. 목록은 콜백 관찰용이며 최종 Completed와 구별함.", | |
| 16 | 추가: "checkpoint": "FnMut(Checkpoint) -> Result<(), Stop>. Start, Read { pass, offset }, Entry { pass, index }, BeforeSelection, AfterSelection, SelectionId { index }, Finish를 노출함. pass는 1 또는 2임.", | |
| 17 | 추가: "request": "input: Box<[u8]>, policy: NamePolicy, limits: Limits. 안전한 Rust 소유권으로 외부 변경을 배제함. 호출 후 입력은 소비되며 실패에서도 반환하지 않음.", | |
| 18 | 추가: "entry": "id: String, name: String, kind: File | Directory, size: u64. ID는 0부터 시작하는 정확한 십진 문자열임.", | |
| 19 | 추가: "completed": "entries: Vec<Entry> 전체 목록, files: Vec<SelectedFile { id, bytes: Vec<u8> }>, usage: Usage { entries, processed, output }, input_sha256: [u8;32], content_verification: Unavailable", | |
| 20 | 추가: "errors": [ | |
| 21 | 추가: "InvalidRequest", | |
| 22 | 추가: "Unsupported", | |
| 23 | 추가: "Integrity", | |
| 24 | 추가: "UnsafePath", | |
| 25 | 추가: "Conflict", | |
| 26 | 추가: "Budget", | |
| 27 | 추가: "Cancelled", | |
| 28 | 추가: "Allocation", | |
| 29 | 추가: "Selection(E)" | |
| 30 | 추가: ], | |
| 31 | 추가: "mapping": "오류는 Error::Reader(Failure) 또는 Error::Selection(E)임. 기한 초과와 Stop::Deadline은 Budget임. 선택 ID 중복, 미등록, 개수 초과와 Windows 정책은 Unsupported임. 실제 해시 불일치는 Integrity임.", | |
| 32 | 추가: "precedence": "선택 콜백이 Err이면 후속 checkpoint 없이 원형 E를 Error::Selection(E)로 즉시 반환함. 성공한 선택 결과에만 AfterSelection 취소/기한 검사와 후속 검증을 수행함. 그 외 최초로 관찰한 오류에서 즉시 종료함. 중간 결과와 작업 객체를 재사용하지 않음.", | |
| 33 | 추가: "timing": "Instant를 호출 시작에 생성하고 콜백 소요 시간을 포함함. checkpoint 종료 후 경과 >= duration이면 Budget임. Stop::Cancelled가 해당 검사에서 기한보다 우선함. 콜백을 강제 중단하지 못함." | |
| 34 | 추가: }, | |
| 35 | 추가: "selection": [ | |
| 36 | 추가: "1차 전체 검증과 SHA256 완료 후 선택함. 손상된 미선택 항목도 거부함.", | |
| 37 | 추가: "빈 선택은 1차만 수행하고 전체 목록과 빈 files를 반환함.", | |
| 38 | 추가: "디렉터리만 선택해도 2차 전체 검증과 전체 SHA256 비교를 수행함. 하위 파일을 자동 선택하지 않음.", | |
| 39 | 추가: "선택 개수 > 전체 항목 수, 중복과 미등록 ID를 2차 전에 거부함. 01, +1, 공백은 1로 정규화하지 않음.", | |
| 40 | 추가: "전체 목록과 files는 archive 순서임. 선택 요청 순서는 결과 순서에 영향을 주지 않음.", | |
| 41 | 추가: "선택한 빈 파일은 bytes가 빈 SelectedFile로 남음. 디렉터리는 files에 넣지 않음.", | |
| 42 | 추가: "모든 성공 조건과 최종 취소/기한 검사를 통과한 Completed만 반환함. 실패하면 누적 payload와 목록 결과를 폐기함." | |
| 43 | 추가: ], | |
| 44 | 추가: "strict_format": [ | |
| 45 | 추가: "입력 길이는 1024 이상이며 512의 배수임. 각 헤더의 checksum을 unsigned 합으로 확인함.", | |
| 46 | 추가: "정확한 ustar NUL magic과 00 version, 일반 파일 0/NUL과 크기 0인 디렉터리 5만 허용함.", | |
| 47 | 추가: "mode/uid/gid/size/mtime은 비음수 ASCII octal, 최대 i64::MAX임. 선행 공백 허용, 숫자 뒤 공백 또는 NUL 뒤에는 공백/NUL만 허용함. device 필드만 빈 값 허용하며 값은 0이어야 함.", | |
| 48 | 추가: "name/prefix/uname/gname은 엄격한 UTF-8이며 NUL 뒤 영역은 0임. linkname과 마지막 12바이트는 전부 0임.", | |
| 49 | 추가: "name은 비어 있으면 안 됨. prefix를 /로 연결하고 디렉터리의 마지막 / 하나만 제거함.", | |
| 50 | 추가: "Linux 경로는 전체 4096 UTF-16 단위, 각 구성요소 UTF-8 255바이트 이하임. 빈 구성요소, 점/상위 경로, NUL, 역슬래시를 거부함. NFC나 casing을 변경하지 않으며 한국어/Jamo를 ASCII로 제한하지 않음.", | |
| 51 | 추가: "정확한 중복과 양방향 파일/자식 충돌을 모든 항목에서 거부함. 디렉터리 조상은 허용함.", | |
| 52 | 추가: "본문 padding은 0임. 종료 0블록 두 개 필수, 이후 정렬된 0블록만 허용함.", | |
| 53 | 추가: "두 번째 순회도 같은 parser로 전체 목록과 순서를 대조하며 모든 입력 바이트 SHA256을 비교함. 자체 SHA/Unicode/상수 시간 비교 코드를 만들지 않음.", | |
| 54 | 추가: "SHA256 32바이트 슬라이스에 subtle::ConstantTimeEq를 사용함. 저장된 본문 무결성 검사가 아니므로 Unavailable을 유지함." | |
| 55 | 추가: ], | |
| 56 | 추가: "limits": { | |
| 57 | 추가: "input": 16777216, | |
| 58 | 추가: "output": 16777216, | |
| 59 | 추가: "entries": 1024, | |
| 60 | 추가: "processed": 134217728, | |
| 61 | 추가: "metadata_per_pass": 1048576, | |
| 62 | 추가: "duration_seconds": 300, | |
| 63 | 추가: "chunk": 65536, | |
| 64 | 추가: "rule": "모든 caller 한도는 양수이며 각 hard cap과 작은 값을 사용함. 모든 입력 bytes, 미선택 본문, padding, 종료와 후행 0도 순회별 처리량에 포함함. entries는 1차만, metadata는 순회별 비종료 헤더 512바이트만 셈. 선택 파일 전체 출력 예산을 할당 전에 예약하며 fallible reserve 후 최대 64 KiB씩 복사함." | |
| 65 | 추가: }, | |
| 66 | 추가: "limitations": [ | |
| 67 | 추가: "전체 heap/CPU 강제 상한과 콜백 강제 중단을 제공하지 않음. 최대 16 MiB 입력 외에 선택 payload 최대 16 MiB와 목록/allocator 비용이 필요함.", | |
| 68 | 추가: "선택 및 checkpoint 콜백의 자체 할당, 부수효과, panic은 호출자 책임임. 라이브러리는 panic을 catch하지 않으며 OOM 전체 회수나 zeroization을 보장하지 않음.", | |
| 69 | 추가: "subtle은 release 모드 사용을 전제로 한 best-effort 공개 API임. debug assertion과 컴파일러/하드웨어 한계가 있으며 실제 타이밍 검증을 수행하지 않음.", | |
| 70 | 추가: "Windows 정책, GNU/PAX/sparse/link/특수 항목, 압축 wrapper, 암호와 복구를 지원하지 않음. 전체 제품 지원 또는 배포 준비 완료를 의미하지 않음.", | |
| 71 | 추가: "기존 C#의 password-attempt 한도는 암호를 다루지 않는 이 Request에서 제거됨. 기준은 Request 생성이 아닌 read 시작부터 기한을 계산함.", | |
| 72 | 추가: "C# InputSha256의 대문자 hex 문자열 대신 고정 [u8;32]를 반환함. sink의 임시 청크 대신 최종 파일별 Vec를 반환함." | |
| 73 | 추가: ], | |
| 74 | 추가: "test_applicability": { | |
| 75 | 추가: "baseline_count": 103, | |
| 76 | 추가: "status": "기존 C# 103개를 Rust에서 실행하거나 전체 동등 통과로 판정하지 않음. 독립 회귀는 별도 담당자가 root tests 아래에 추가할 예정임.", | |
| 77 | 추가: "preserve": "목록, prefix, 헤더/숫자/UTF-8/padding/종료 거부, Linux 이름/충돌, 모든 예산 정확한 경계와 초과, 선택 중복/미등록/빈 선택/디렉터리 선택 의미를 보존함.", | |
| 78 | 추가: "adapt": [ | |
| 79 | 추가: "selected.hash.chunks: 파일별 완료 bytes와 SHA/usage로 검사하고 내부 최대 청크는 checkpoint offset으로 별도 확인함.", | |
| 80 | 추가: "cancel.before.read/cancel.during.read/cancel.sink: Start/Read/최종 checkpoint 취소로 변경함. sink 단계는 없음.", | |
| 81 | 추가: "duration.cumulative: 실제 Instant 누적 기한과 주입 Stop::Deadline 매핑 시험을 구분함. 가상 TimeProvider는 없음.", | |
| 82 | 추가: "single.use: Request 소유권 소비와 실패 결과 없음으로 대체함. 재사용 가능한 reader 객체가 없음.", | |
| 83 | 추가: "invalid.limits: 현재 Limits 양수 검사만 적용하며 password-attempt 필드는 없음." | |
| 84 | 추가: ], | |
| 85 | 추가: "not_directly_applicable": [ | |
| 86 | 추가: "input.changed.between.passes", | |
| 87 | 추가: "input.unselected.changed", | |
| 88 | 추가: "nonseekable.rejected", | |
| 89 | 추가: "sink.failure.propagates", | |
| 90 | 추가: "FragmentedStream의 분할 읽기와 Stream I/O 오류", | |
| 91 | 추가: "Windows 이름 정책의 기존 성공/실패 세부 조건" | |
| 92 | 추가: ], | |
| 93 | 추가: "add": [ | |
| 94 | 추가: "역순 선택이어도 archive 순서", | |
| 95 | 추가: "01/+1/공백 ID 거부", | |
| 96 | 추가: "디렉터리만 선택 시 processed가 입력 길이의 2배", | |
| 97 | 추가: "디렉터리 선택의 하위 자동 선택 없음", | |
| 98 | 추가: "선택 콜백 원형 오류와 전후 취소/기한", | |
| 99 | 추가: "Finish 취소 시 전체 결과 없음", | |
| 100 | 추가: "한글/Jamo 원문과 Linux 대소문자 보존", | |
| 101 | 추가: "Windows 정책 Unsupported", | |
| 102 | 추가: "완료 결과 SHA256과 독립 표준 해시 비교" | |
| 103 | 추가: ] | |
| 104 | 추가: }, | |
| 105 | 추가: "validation": { | |
| 106 | 추가: "toolchain": "기존 Rust/Cargo 1.99.1", | |
| 107 | 추가: "build": "cargo +1.99.1 build --manifest-path experiments/rust-memory-ustar-reader/Cargo.toml --locked --offline --lib --target-dir tests/rust-memory-ustar-reader-build/target", | |
| 108 | 추가: "build_exit": 0, | |
| 109 | 추가: "format": "rustfmt +1.99.1 --edition 2024 --check experiments/rust-memory-ustar-reader/src/*.rs", | |
| 110 | 추가: "dependencies": "locked/offline metadata, 기존 registry 10 records 보존, subtle 2.6.1 하나 추가. Linux 선택 외부 패키지 10개, 전체 lock registry 11개. 각 cache archive checksum과 해제된 source 전체를 대조함.", | |
| 111 | 추가: "tests_executed": 0, | |
| 112 | 추가: "test_result": "미실행임. library build는 회귀 통과가 아님.", | |
| 113 | 추가: "notices": "THIRD-PARTY-NOTICES.txt의 LICENSE/NOTICE 19개와 dependencies.json은 Linux x86_64 선택 10개 package 범위임. lock 전체 registry 11개 중 미선택 libc는 inventory와 고지 묶음에 포함하지 않음. generic-array 0.14.7 LICENSE는 묶음 생성 시 CRLF가 LF로 정규화되어 원본 hash와 달랐으므로 해당 섹션의 CRLF 20개만 캐시 원본 bytes로 복원함. 원본 SHA256은 변경하지 않음. 최종 모든 플랫폼 배포 고지 완료를 의미하지 않음.", | |
| 114 | 추가: "security": "전체 advisory DB audit와 실제 타이밍 검증은 미실행임. 취약점 부재를 주장하지 않음." | |
| 115 | 추가: } | |
| 116 | 추가: } |
| @@ -0,0 +1,220 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "target": "x86_64-unknown-linux-gnu", | |
| 3 | 추가: "sha2_baseline": "experiments/rust-live-supervisor/Cargo.lock at PR32 e2ff54826efab083d175d56d442daa9ff2dd99dd", | |
| 4 | 추가: "registry_records_preserved": 10, | |
| 5 | 추가: "added_registry_packages": [ | |
| 6 | 추가: "subtle 2.6.1" | |
| 7 | 추가: ], | |
| 8 | 추가: "archive_and_source_checksums_verified": true, | |
| 9 | 추가: "packages": [ | |
| 10 | 추가: { | |
| 11 | 추가: "package": "block-buffer", | |
| 12 | 추가: "version": "0.10.4", | |
| 13 | 추가: "license": "MIT OR Apache-2.0", | |
| 14 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 15 | 추가: "checksum": "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71", | |
| 16 | 추가: "features": [], | |
| 17 | 추가: "selected_linux": true, | |
| 18 | 추가: "source_files_compared": 10, | |
| 19 | 추가: "notices": [ | |
| 20 | 추가: { | |
| 21 | 추가: "file": "LICENSE-APACHE", | |
| 22 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 23 | 추가: }, | |
| 24 | 추가: { | |
| 25 | 추가: "file": "LICENSE-MIT", | |
| 26 | 추가: "sha256": "d5c22aa3118d240e877ad41c5d9fa232f9c77d757d4aac0c2f943afc0a95e0ef" | |
| 27 | 추가: } | |
| 28 | 추가: ] | |
| 29 | 추가: }, | |
| 30 | 추가: { | |
| 31 | 추가: "package": "cfg-if", | |
| 32 | 추가: "version": "1.0.5", | |
| 33 | 추가: "license": "MIT OR Apache-2.0", | |
| 34 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 35 | 추가: "checksum": "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600", | |
| 36 | 추가: "features": [], | |
| 37 | 추가: "selected_linux": true, | |
| 38 | 추가: "source_files_compared": 14, | |
| 39 | 추가: "notices": [ | |
| 40 | 추가: { | |
| 41 | 추가: "file": "LICENSE-APACHE", | |
| 42 | 추가: "sha256": "a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2" | |
| 43 | 추가: }, | |
| 44 | 추가: { | |
| 45 | 추가: "file": "LICENSE-MIT", | |
| 46 | 추가: "sha256": "378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397" | |
| 47 | 추가: } | |
| 48 | 추가: ] | |
| 49 | 추가: }, | |
| 50 | 추가: { | |
| 51 | 추가: "package": "cpufeatures", | |
| 52 | 추가: "version": "0.2.17", | |
| 53 | 추가: "license": "MIT OR Apache-2.0", | |
| 54 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 55 | 추가: "checksum": "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280", | |
| 56 | 추가: "features": [], | |
| 57 | 추가: "selected_linux": true, | |
| 58 | 추가: "source_files_compared": 16, | |
| 59 | 추가: "notices": [ | |
| 60 | 추가: { | |
| 61 | 추가: "file": "LICENSE-APACHE", | |
| 62 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 63 | 추가: }, | |
| 64 | 추가: { | |
| 65 | 추가: "file": "LICENSE-MIT", | |
| 66 | 추가: "sha256": "ae9baa7beea910273c2f384c2a6b721fb7bd02bda3436074a1072e4ee689f985" | |
| 67 | 추가: } | |
| 68 | 추가: ] | |
| 69 | 추가: }, | |
| 70 | 추가: { | |
| 71 | 추가: "package": "crypto-common", | |
| 72 | 추가: "version": "0.1.7", | |
| 73 | 추가: "license": "MIT OR Apache-2.0", | |
| 74 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 75 | 추가: "checksum": "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a", | |
| 76 | 추가: "features": [ | |
| 77 | 추가: "std" | |
| 78 | 추가: ], | |
| 79 | 추가: "selected_linux": true, | |
| 80 | 추가: "source_files_compared": 9, | |
| 81 | 추가: "notices": [ | |
| 82 | 추가: { | |
| 83 | 추가: "file": "LICENSE-APACHE", | |
| 84 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 85 | 추가: }, | |
| 86 | 추가: { | |
| 87 | 추가: "file": "LICENSE-MIT", | |
| 88 | 추가: "sha256": "3521672491a3479422d5fe1aca6645dd2984090f85da6e5205abfb18fb7a6897" | |
| 89 | 추가: } | |
| 90 | 추가: ] | |
| 91 | 추가: }, | |
| 92 | 추가: { | |
| 93 | 추가: "package": "digest", | |
| 94 | 추가: "version": "0.10.7", | |
| 95 | 추가: "license": "MIT OR Apache-2.0", | |
| 96 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 97 | 추가: "checksum": "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292", | |
| 98 | 추가: "features": [ | |
| 99 | 추가: "alloc", | |
| 100 | 추가: "block-buffer", | |
| 101 | 추가: "core-api", | |
| 102 | 추가: "default", | |
| 103 | 추가: "std" | |
| 104 | 추가: ], | |
| 105 | 추가: "selected_linux": true, | |
| 106 | 추가: "source_files_compared": 21, | |
| 107 | 추가: "notices": [ | |
| 108 | 추가: { | |
| 109 | 추가: "file": "LICENSE-APACHE", | |
| 110 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 111 | 추가: }, | |
| 112 | 추가: { | |
| 113 | 추가: "file": "LICENSE-MIT", | |
| 114 | 추가: "sha256": "9e0dfd2dd4173a530e238cb6adb37aa78c34c6bc7444e0e10c1ab5d8881f63ba" | |
| 115 | 추가: } | |
| 116 | 추가: ] | |
| 117 | 추가: }, | |
| 118 | 추가: { | |
| 119 | 추가: "package": "generic-array", | |
| 120 | 추가: "version": "0.14.7", | |
| 121 | 추가: "license": "MIT", | |
| 122 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 123 | 추가: "checksum": "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a", | |
| 124 | 추가: "features": [ | |
| 125 | 추가: "more_lengths" | |
| 126 | 추가: ], | |
| 127 | 추가: "selected_linux": true, | |
| 128 | 추가: "source_files_compared": 16, | |
| 129 | 추가: "notices": [ | |
| 130 | 추가: { | |
| 131 | 추가: "file": "LICENSE", | |
| 132 | 추가: "sha256": "c09aae9d3c77b531f56351a9947bc7446511d6b025b3255312d3e3442a9a7583" | |
| 133 | 추가: } | |
| 134 | 추가: ] | |
| 135 | 추가: }, | |
| 136 | 추가: { | |
| 137 | 추가: "package": "sha2", | |
| 138 | 추가: "version": "0.10.9", | |
| 139 | 추가: "license": "MIT OR Apache-2.0", | |
| 140 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 141 | 추가: "checksum": "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283", | |
| 142 | 추가: "features": [ | |
| 143 | 추가: "force-soft", | |
| 144 | 추가: "std" | |
| 145 | 추가: ], | |
| 146 | 추가: "selected_linux": true, | |
| 147 | 추가: "source_files_compared": 31, | |
| 148 | 추가: "notices": [ | |
| 149 | 추가: { | |
| 150 | 추가: "file": "LICENSE-APACHE", | |
| 151 | 추가: "sha256": "a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5" | |
| 152 | 추가: }, | |
| 153 | 추가: { | |
| 154 | 추가: "file": "LICENSE-MIT", | |
| 155 | 추가: "sha256": "b4eb00df6e2a4d22518fcaa6a2b4646f249b3a3c9814509b22bd2091f1392ff1" | |
| 156 | 추가: } | |
| 157 | 추가: ] | |
| 158 | 추가: }, | |
| 159 | 추가: { | |
| 160 | 추가: "package": "subtle", | |
| 161 | 추가: "version": "2.6.1", | |
| 162 | 추가: "license": "BSD-3-Clause", | |
| 163 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 164 | 추가: "checksum": "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292", | |
| 165 | 추가: "features": [], | |
| 166 | 추가: "selected_linux": true, | |
| 167 | 추가: "source_files_compared": 10, | |
| 168 | 추가: "notices": [ | |
| 169 | 추가: { | |
| 170 | 추가: "file": "LICENSE", | |
| 171 | 추가: "sha256": "d1fc1bc0d155df60b2e7705b6b2ae02a05c96f948e1cec6e2fb86360b09f346b" | |
| 172 | 추가: } | |
| 173 | 추가: ] | |
| 174 | 추가: }, | |
| 175 | 추가: { | |
| 176 | 추가: "package": "typenum", | |
| 177 | 추가: "version": "1.20.1", | |
| 178 | 추가: "license": "MIT OR Apache-2.0", | |
| 179 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 180 | 추가: "checksum": "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20", | |
| 181 | 추가: "features": [], | |
| 182 | 추가: "selected_linux": true, | |
| 183 | 추가: "source_files_compared": 26, | |
| 184 | 추가: "notices": [ | |
| 185 | 추가: { | |
| 186 | 추가: "file": "LICENSE", | |
| 187 | 추가: "sha256": "db11fec9946737df39ca3898d9cd8c10ec6f6c3a884a6802b0ad0b81b4e8f23a" | |
| 188 | 추가: }, | |
| 189 | 추가: { | |
| 190 | 추가: "file": "LICENSE-APACHE", | |
| 191 | 추가: "sha256": "516b24e051bf5630880ebbd55c40a25ce9552ebaf8970a53e8976eb70e522406" | |
| 192 | 추가: }, | |
| 193 | 추가: { | |
| 194 | 추가: "file": "LICENSE-MIT", | |
| 195 | 추가: "sha256": "a825bd853ab71619a4923d7b4311221427848070ff44d990da39b0b274c1683f" | |
| 196 | 추가: } | |
| 197 | 추가: ] | |
| 198 | 추가: }, | |
| 199 | 추가: { | |
| 200 | 추가: "package": "version_check", | |
| 201 | 추가: "version": "0.9.5", | |
| 202 | 추가: "license": "MIT/Apache-2.0", | |
| 203 | 추가: "source": "registry+https://github.com/rust-lang/crates.io-index", | |
| 204 | 추가: "checksum": "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a", | |
| 205 | 추가: "features": [], | |
| 206 | 추가: "selected_linux": true, | |
| 207 | 추가: "source_files_compared": 13, | |
| 208 | 추가: "notices": [ | |
| 209 | 추가: { | |
| 210 | 추가: "file": "LICENSE-APACHE", | |
| 211 | 추가: "sha256": "a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2" | |
| 212 | 추가: }, | |
| 213 | 추가: { | |
| 214 | 추가: "file": "LICENSE-MIT", | |
| 215 | 추가: "sha256": "b7e650f3fce5c53249d1cdc608b54df156a97edd636cf9d23498d0cfe7aec63e" | |
| 216 | 추가: } | |
| 217 | 추가: ] | |
| 218 | 추가: } | |
| 219 | 추가: ] | |
| 220 | 추가: } |
| @@ -0,0 +1,76 @@ | ||
| 1 | 추가: use std::time::Instant; | |
| 2 | 추가: | |
| 3 | 추가: use crate::{ | |
| 4 | 추가: Checkpoint, Failure, Limits, MAX_BYTES, MAX_DURATION, MAX_ENTRIES, MAX_METADATA, MAX_PROCESSED, | |
| 5 | 추가: Stop, Usage, | |
| 6 | 추가: }; | |
| 7 | 추가: | |
| 8 | 추가: pub(crate) struct Budget<C> { | |
| 9 | 추가: pub(crate) limits: Limits, | |
| 10 | 추가: pub(crate) usage: Usage, | |
| 11 | 추가: started: Instant, | |
| 12 | 추가: checkpoint: C, | |
| 13 | 추가: } | |
| 14 | 추가: | |
| 15 | 추가: impl<C: FnMut(Checkpoint) -> Result<(), Stop>> Budget<C> { | |
| 16 | 추가: pub(crate) fn new(mut limits: Limits, checkpoint: C) -> Result<Self, Failure> { | |
| 17 | 추가: if limits.input == 0 | |
| 18 | 추가: || limits.entries == 0 | |
| 19 | 추가: || limits.processed == 0 | |
| 20 | 추가: || limits.output == 0 | |
| 21 | 추가: || limits.metadata == 0 | |
| 22 | 추가: || limits.duration.is_zero() | |
| 23 | 추가: { | |
| 24 | 추가: return Err(Failure::InvalidRequest); | |
| 25 | 추가: } | |
| 26 | 추가: limits.input = limits.input.min(MAX_BYTES); | |
| 27 | 추가: limits.entries = limits.entries.min(MAX_ENTRIES); | |
| 28 | 추가: limits.processed = limits.processed.min(MAX_PROCESSED); | |
| 29 | 추가: limits.output = limits.output.min(MAX_BYTES); | |
| 30 | 추가: limits.metadata = limits.metadata.min(MAX_METADATA); | |
| 31 | 추가: limits.duration = limits.duration.min(MAX_DURATION); | |
| 32 | 추가: Ok(Self { | |
| 33 | 추가: limits, | |
| 34 | 추가: usage: Usage::default(), | |
| 35 | 추가: started: Instant::now(), | |
| 36 | 추가: checkpoint, | |
| 37 | 추가: }) | |
| 38 | 추가: } | |
| 39 | 추가: | |
| 40 | 추가: pub(crate) fn check(&mut self, point: Checkpoint) -> Result<(), Failure> { | |
| 41 | 추가: // 체크 콜백 시간도 같은 기한에 포함함. 호출 자체의 강제 중단은 제공하지 않음. | |
| 42 | 추가: match (self.checkpoint)(point) { | |
| 43 | 추가: Err(Stop::Cancelled) => return Err(Failure::Cancelled), | |
| 44 | 추가: Err(Stop::Deadline) => return Err(Failure::Budget), | |
| 45 | 추가: Ok(()) => {} | |
| 46 | 추가: } | |
| 47 | 추가: if self.started.elapsed() >= self.limits.duration { | |
| 48 | 추가: return Err(Failure::Budget); | |
| 49 | 추가: } | |
| 50 | 추가: Ok(()) | |
| 51 | 추가: } | |
| 52 | 추가: | |
| 53 | 추가: pub(crate) fn entry(&mut self) -> Result<(), Failure> { | |
| 54 | 추가: if self.usage.entries >= self.limits.entries { | |
| 55 | 추가: return Err(Failure::Budget); | |
| 56 | 추가: } | |
| 57 | 추가: self.usage.entries += 1; | |
| 58 | 추가: Ok(()) | |
| 59 | 추가: } | |
| 60 | 추가: | |
| 61 | 추가: pub(crate) fn processed(&mut self, count: u64) -> Result<(), Failure> { | |
| 62 | 추가: if count > self.limits.processed - self.usage.processed { | |
| 63 | 추가: return Err(Failure::Budget); | |
| 64 | 추가: } | |
| 65 | 추가: self.usage.processed += count; | |
| 66 | 추가: Ok(()) | |
| 67 | 추가: } | |
| 68 | 추가: | |
| 69 | 추가: pub(crate) fn output(&mut self, count: u64) -> Result<(), Failure> { | |
| 70 | 추가: if count > self.limits.output - self.usage.output { | |
| 71 | 추가: return Err(Failure::Budget); | |
| 72 | 추가: } | |
| 73 | 추가: self.usage.output += count; | |
| 74 | 추가: Ok(()) | |
| 75 | 추가: } | |
| 76 | 추가: } |
| @@ -0,0 +1,157 @@ | ||
| 1 | 추가: use crate::{Entry, Failure, Kind}; | |
| 2 | 추가: | |
| 3 | 추가: pub(crate) fn zero(bytes: &[u8]) -> bool { | |
| 4 | 추가: bytes.iter().all(|byte| *byte == 0) | |
| 5 | 추가: } | |
| 6 | 추가: | |
| 7 | 추가: pub(crate) fn copy(value: &str) -> Result<String, Failure> { | |
| 8 | 추가: let mut result = String::new(); | |
| 9 | 추가: result | |
| 10 | 추가: .try_reserve_exact(value.len()) | |
| 11 | 추가: .map_err(|_| Failure::Allocation)?; | |
| 12 | 추가: result.push_str(value); | |
| 13 | 추가: Ok(result) | |
| 14 | 추가: } | |
| 15 | 추가: | |
| 16 | 추가: fn text(field: &[u8]) -> Result<&str, Failure> { | |
| 17 | 추가: let end = field | |
| 18 | 추가: .iter() | |
| 19 | 추가: .position(|byte| *byte == 0) | |
| 20 | 추가: .unwrap_or(field.len()); | |
| 21 | 추가: if !zero(&field[end..]) { | |
| 22 | 추가: return Err(Failure::Integrity); | |
| 23 | 추가: } | |
| 24 | 추가: std::str::from_utf8(&field[..end]).map_err(|_| Failure::Integrity) | |
| 25 | 추가: } | |
| 26 | 추가: | |
| 27 | 추가: fn octal(field: &[u8], allow_empty: bool) -> Result<u64, Failure> { | |
| 28 | 추가: let mut value = 0_u64; | |
| 29 | 추가: let mut digits = 0; | |
| 30 | 추가: let mut ended = false; | |
| 31 | 추가: for &byte in field { | |
| 32 | 추가: if byte == 0 || byte == b' ' { | |
| 33 | 추가: if digits > 0 || byte == 0 { | |
| 34 | 추가: ended = true; | |
| 35 | 추가: } | |
| 36 | 추가: continue; | |
| 37 | 추가: } | |
| 38 | 추가: if ended || !(b'0'..=b'7').contains(&byte) { | |
| 39 | 추가: return Err(Failure::Integrity); | |
| 40 | 추가: } | |
| 41 | 추가: let digit = u64::from(byte - b'0'); | |
| 42 | 추가: if value > (i64::MAX as u64 - digit) / 8 { | |
| 43 | 추가: return Err(Failure::Integrity); | |
| 44 | 추가: } | |
| 45 | 추가: value = value * 8 + digit; | |
| 46 | 추가: digits += 1; | |
| 47 | 추가: } | |
| 48 | 추가: if digits == 0 && !allow_empty { | |
| 49 | 추가: return Err(Failure::Integrity); | |
| 50 | 추가: } | |
| 51 | 추가: Ok(value) | |
| 52 | 추가: } | |
| 53 | 추가: | |
| 54 | 추가: pub(crate) fn parse(h: &[u8], index: usize) -> Result<Entry, Failure> { | |
| 55 | 추가: let checksum = octal(&h[148..156], false)?; | |
| 56 | 추가: let sum: u64 = h | |
| 57 | 추가: .iter() | |
| 58 | 추가: .enumerate() | |
| 59 | 추가: .map(|(index, byte)| { | |
| 60 | 추가: if (148..156).contains(&index) { | |
| 61 | 추가: 32 | |
| 62 | 추가: } else { | |
| 63 | 추가: u64::from(*byte) | |
| 64 | 추가: } | |
| 65 | 추가: }) | |
| 66 | 추가: .sum(); | |
| 67 | 추가: if checksum != sum { | |
| 68 | 추가: return Err(Failure::Integrity); | |
| 69 | 추가: } | |
| 70 | 추가: if &h[257..263] != b"ustar\0" || &h[263..265] != b"00" { | |
| 71 | 추가: return Err(Failure::Unsupported); | |
| 72 | 추가: } | |
| 73 | 추가: let kind = match h[156] { | |
| 74 | 추가: 0 | b'0' => Kind::File, | |
| 75 | 추가: b'5' => Kind::Directory, | |
| 76 | 추가: _ => return Err(Failure::Unsupported), | |
| 77 | 추가: }; | |
| 78 | 추가: for range in [100..108, 108..116, 116..124, 136..148] { | |
| 79 | 추가: octal(&h[range], false)?; | |
| 80 | 추가: } | |
| 81 | 추가: let size = octal(&h[124..136], false)?; | |
| 82 | 추가: if octal(&h[329..337], true)? != 0 | |
| 83 | 추가: || octal(&h[337..345], true)? != 0 | |
| 84 | 추가: || !zero(&h[157..257]) | |
| 85 | 추가: || !zero(&h[500..512]) | |
| 86 | 추가: { | |
| 87 | 추가: return Err(Failure::Integrity); | |
| 88 | 추가: } | |
| 89 | 추가: text(&h[265..297])?; | |
| 90 | 추가: text(&h[297..329])?; | |
| 91 | 추가: let leaf = text(&h[..100])?; | |
| 92 | 추가: let prefix = text(&h[345..500])?; | |
| 93 | 추가: if leaf.is_empty() { | |
| 94 | 추가: return Err(Failure::Integrity); | |
| 95 | 추가: } | |
| 96 | 추가: let mut name = String::new(); | |
| 97 | 추가: name.try_reserve_exact(prefix.len() + 1 + leaf.len()) | |
| 98 | 추가: .map_err(|_| Failure::Allocation)?; | |
| 99 | 추가: if !prefix.is_empty() { | |
| 100 | 추가: name.push_str(prefix); | |
| 101 | 추가: name.push('/'); | |
| 102 | 추가: } | |
| 103 | 추가: name.push_str(leaf); | |
| 104 | 추가: if kind == Kind::Directory { | |
| 105 | 추가: if name.ends_with('/') { | |
| 106 | 추가: name.pop(); | |
| 107 | 추가: } | |
| 108 | 추가: if size != 0 { | |
| 109 | 추가: return Err(Failure::Integrity); | |
| 110 | 추가: } | |
| 111 | 추가: } | |
| 112 | 추가: if name.is_empty() | |
| 113 | 추가: || name.encode_utf16().count() > 4096 | |
| 114 | 추가: || name.contains(['\0', '\\']) | |
| 115 | 추가: || name | |
| 116 | 추가: .split('/') | |
| 117 | 추가: .any(|part| part.is_empty() || part == "." || part == ".." || part.len() > 255) | |
| 118 | 추가: { | |
| 119 | 추가: return Err(Failure::UnsafePath); | |
| 120 | 추가: } | |
| 121 | 추가: // 순번은 정규화 없이 정확한 십진 문자열로 비교함. | |
| 122 | 추가: let mut digits = [0_u8; 20]; | |
| 123 | 추가: let mut cursor = digits.len(); | |
| 124 | 추가: let mut number = index; | |
| 125 | 추가: loop { | |
| 126 | 추가: cursor -= 1; | |
| 127 | 추가: digits[cursor] = b'0' + (number % 10) as u8; | |
| 128 | 추가: number /= 10; | |
| 129 | 추가: if number == 0 { | |
| 130 | 추가: break; | |
| 131 | 추가: } | |
| 132 | 추가: } | |
| 133 | 추가: let id = copy(std::str::from_utf8(&digits[cursor..]).map_err(|_| Failure::Integrity)?)?; | |
| 134 | 추가: Ok(Entry { | |
| 135 | 추가: id, | |
| 136 | 추가: name, | |
| 137 | 추가: kind, | |
| 138 | 추가: size, | |
| 139 | 추가: }) | |
| 140 | 추가: } | |
| 141 | 추가: | |
| 142 | 추가: pub(crate) fn unique(entry: &Entry, previous: &[Entry]) -> Result<(), Failure> { | |
| 143 | 추가: for other in previous { | |
| 144 | 추가: if entry.name == other.name | |
| 145 | 추가: || (other.kind == Kind::File && descendant(&entry.name, &other.name)) | |
| 146 | 추가: || (entry.kind == Kind::File && descendant(&other.name, &entry.name)) | |
| 147 | 추가: { | |
| 148 | 추가: return Err(Failure::Conflict); | |
| 149 | 추가: } | |
| 150 | 추가: } | |
| 151 | 추가: Ok(()) | |
| 152 | 추가: } | |
| 153 | 추가: | |
| 154 | 추가: fn descendant(path: &str, ancestor: &str) -> bool { | |
| 155 | 추가: path.strip_prefix(ancestor) | |
| 156 | 추가: .is_some_and(|suffix| suffix.starts_with('/')) | |
| 157 | 추가: } |
Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기