검증된 Rust 후보를 원본 보존으로 통합
- 작성자
- 호시노 히나타
- 작성 시각
- 커밋
e015332bbbfdfd334cfcc78e26c2fe23068b3fa6
변경된 파일 154개
+2,676-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,94 @@ | ||
| 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 = "typenum" | |
| 78 | 추가: version = "1.20.1" | |
| 79 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 80 | 추가: checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" | |
| 81 | 추가: | |
| 82 | 추가: [[package]] | |
| 83 | 추가: name = "version_check" | |
| 84 | 추가: version = "0.9.5" | |
| 85 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 86 | 추가: checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | |
| 87 | 추가: | |
| 88 | 추가: [[package]] | |
| 89 | 추가: name = "zipelo-file-snapshot" | |
| 90 | 추가: version = "0.1.0" | |
| 91 | 추가: dependencies = [ | |
| 92 | 추가: "libc", | |
| 93 | 추가: "sha2", | |
| 94 | 추가: ] |
| @@ -0,0 +1,21 @@ | ||
| 1 | 추가: [package] | |
| 2 | 추가: name = "zipelo-file-snapshot" | |
| 3 | 추가: version = "0.1.0" | |
| 4 | 추가: edition = "2024" | |
| 5 | 추가: rust-version = "1.99" | |
| 6 | 추가: license = "MIT" | |
| 7 | 추가: publish = false | |
| 8 | 추가: autotests = false | |
| 9 | 추가: autoexamples = false | |
| 10 | 추가: autobenches = false | |
| 11 | 추가: | |
| 12 | 추가: [lib] | |
| 13 | 추가: doctest = false | |
| 14 | 추가: | |
| 15 | 추가: [dependencies] | |
| 16 | 추가: sha2 = { version = "=0.10.9", default-features = false, features = ["std", "force-soft"] } | |
| 17 | 추가: | |
| 18 | 추가: [target.'cfg(target_os = "linux")'.dependencies] | |
| 19 | 추가: libc = { version = "=0.2.191", default-features = false, features = ["std"] } | |
| 20 | 추가: | |
| 21 | 추가: [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 | 추가: ba55ac17dc748d1f91d7a6e5d5ebb4c6b9c84d09173a17d4cac31cf149fb771b experiments/rust-file-snapshot/Cargo.lock | |
| 2 | 추가: e641f091c0acabd3e6fbfa3ed6bf53e05be3ca6c2fc90d67980721b378840f0f experiments/rust-file-snapshot/Cargo.toml | |
| 3 | 추가: 0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62 experiments/rust-file-snapshot/LICENSE | |
| 4 | 추가: 066b8c0623b870c0c3998a0499b0323f3cfe8d3cfd60bf6bbc833be0e523a06e experiments/rust-file-snapshot/THIRD-PARTY-NOTICES.txt | |
| 5 | 추가: 8b54705382c3af1168b684fbcf3e25efd256eb145c636972fe6e26b8cb898ff2 experiments/rust-file-snapshot/contract.json | |
| 6 | 추가: ea113f15ec27f9903eed985e1e55f49114b9867b0c7c707e2cd15009fa02c6c0 experiments/rust-file-snapshot/dependencies.json | |
| 7 | 추가: e087714fc3e30b8efdd1cf16e1d8944ebc3518c757b8917d6e32d3b3dc3936c9 experiments/rust-file-snapshot/src/lib.rs | |
| 8 | 추가: 88aa71907bfd07ef61697eb2c71e8ffbdc178c68ea9fcae8d26957be4751fa21 experiments/rust-file-snapshot/src/linux.rs |
Diff가 표시 한도를 넘어서 생략했어요.
Raw로 열기| @@ -0,0 +1,109 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "schema": "zipelo.file-snapshot.candidate.v1", | |
| 3 | 추가: "base_head": "23b8d1c615f24f42469138fcc63e7fce7cda4f24", | |
| 4 | 추가: "branch": "features/rust-file-snapshot", | |
| 5 | 추가: "status": "source-only; not compiled or executed", | |
| 6 | 추가: "api": { | |
| 7 | 추가: "capture": "capture<E>(Request { path: &Path, limits: Limits }, FnMut(Checkpoint) -> Result<(), Stop<E>>) -> Result<FileSnapshot, Failure<E>>", | |
| 8 | 추가: "ownership": "FileSnapshot and Identity fields are private, with no public constructors, Default, deserialization, from-bytes or from-fd hooks. bytes() only borrows; into_bytes consumes the snapshot and returns the original Vec. No worker/publication/atomic-snapshot proof type exists.", | |
| 9 | 추가: "output": "Owned bytes, SHA256 of those bytes, observed device/inode/length/nlink/mode/mtime/ctime, and per-attempt Usage. No source path retained. Debug for FileSnapshot omits bytes, identity and digest.", | |
| 10 | 추가: "failure": "Failure preserves Error<E> plus all accumulated Usage and never returns partial payload. Io preserves operation and std::io::Error including raw errno. Callback(E) preserves the original E without conversion.", | |
| 11 | 추가: "threading": "Synchronous API; no thread, queue, process, join or forced interrupt. E need not implement Send; sending Failure<E> across a thread requires E: Send and spawn-owned captures/results require 'static. No compile-time Send assertions have run." | |
| 12 | 추가: }, | |
| 13 | 추가: "scope": { | |
| 14 | 추가: "platform": "Linux source path uses openat2 and verified procfs. Non-Linux returns Unsupported(Platform) without touching the supplied path. x86_64 Linux is the initial metadata target; no OS runtime support is claimed.", | |
| 15 | 추가: "input": "Absolute OS-byte path, 2..4096 bytes, nonempty components <=255 bytes, no dot/dotdot/NUL/trailing or repeated slash. UTF-8 is not required. Backslash remains a Linux name byte. This is a host input path policy, not a replacement archive entry name policy.", | |
| 16 | 추가: "pinning": "openat2 with O_PATH|O_CLOEXEC and RESOLVE_NO_SYMLINKS pins the inode without opening FIFO/device data I/O. fstat must report regular file with exactly one hard link before any data open. FIFO/directory/socket/device and multiple hard links are rejected.", | |
| 17 | 추가: "reopen": "Open /proc using O_PATH|O_DIRECTORY|O_CLOEXEC and RESOLVE_NO_SYMLINKS, check fstatfs PROC_SUPER_MAGIC, then numeric PID/fd using BENEATH|NO_SYMLINKS|NO_XDEV. openat follows only the held numeric fd link with O_RDONLY|O_NONBLOCK|O_NOCTTY|O_CLOEXEC. Recheck identity before reading. No supplied source pathname reopen; no normal pathname fallback.", | |
| 18 | 추가: "trust": "Kernel/procfs, process fd table and process-local ownership are trusted. Does not defend against malicious code in the same process or a privileged actor controlling mounts/ptrace. Descriptor close is RAII, not measured OS cleanup proof. No temporary data file is created.", | |
| 19 | 추가: "copy": "Read from offset zero into one bounded Vec, accumulating positive short reads. Probe one byte at initial length for EOF after each pass. Compare reread bytes exactly with the retained first pass; compare metadata after copy and after the final callback. SHA256 covers owned bytes only.", | |
| 20 | 추가: "stability": "This is a two-pass observational copy, not an atomic source snapshot, coherent point-in-time guarantee, exclusion of concurrent writes, full ABA detection, archive integrity validation or pathname persistence guarantee. Rename/replacement can leave the held inode readable; observed metadata/link changes may reject it, but unchanged pathname association is not proved.", | |
| 21 | 추가: "preservation": "No write/unlink/rename/chmod/launch syscalls. Reading can update source atime. Source contents and existing outputs are never intentionally modified. No app-core/UI integration yet." | |
| 22 | 추가: }, | |
| 23 | 추가: "limits": { | |
| 24 | 추가: "memory_bytes": 16777216, | |
| 25 | 추가: "scratch_bytes": 65536, | |
| 26 | 추가: "max_io_reservations": 134217728, | |
| 27 | 추가: "max_read_calls": 131072, | |
| 28 | 추가: "max_duration_seconds": 300, | |
| 29 | 추가: "default_duration_seconds": 30, | |
| 30 | 추가: "empty": "Empty regular input is supported with two one-byte EOF reservations; max_bytes=0 permits it, max_io_bytes=0 cannot complete those probes. max_read_calls=0 is InvalidLimits.", | |
| 31 | 추가: "allocation": "try_reserve_exact before Vec resize. Bounds logical payload length, not allocator overhead/capacity rounding, total process RSS, callback allocations or infallible small path allocations. OOM abort is not covered.", | |
| 32 | 추가: "io": "Before every read_at attempt reserve the full requested buffer length and one read call. No refund on short read, EOF, native error or mismatch. actual_read_bytes records successful returned bytes, compared_bytes records all second-pass bytes including a mismatching chunk. Earlier usage survives failures.", | |
| 33 | 추가: "formula": "Normal full-chunk success for N bytes reserves 2*N+2 bytes, reads 2*N actual bytes, compares N bytes and takes 2*ceil(N/65536)+2 read calls. Positive short reads may consume more reservations and calls. Fixed acquisition path uses at most 4 open calls and 5 metadata calls, excluding automatic close.", | |
| 34 | 추가: "attempts": "Limits and time are per capture invocation; no hidden retry. A caller retry creates a new attempt and must aggregate Failure/Success Usage if it needs a job-wide budget. Native archive library Budgets are untouched.", | |
| 35 | 추가: "time": "Instant elapsed checks at checkpoints and after final metadata; cooperative only. Callback, open/stat/read/hash/allocator calls cannot be forcibly interrupted. No hard syscall timeout or worker isolation claim." | |
| 36 | 추가: }, | |
| 37 | 추가: "control": { | |
| 38 | 추가: "stages": [ | |
| 39 | 추가: "Opening", | |
| 40 | 추가: "Pinned", | |
| 41 | 추가: "Copying", | |
| 42 | 추가: "Comparing", | |
| 43 | 추가: "Finalizing" | |
| 44 | 추가: ], | |
| 45 | 추가: "checkpoint": "Opening before path validation/syscalls, Pinned after first metadata, Copying before allocation and each read plus EOF probe, Comparing before each read plus EOF probe, Finalizing after digest before final metadata. offset is stage-local; Usage is cumulative.", | |
| 46 | 추가: "priority": "InvalidLimits first. At a checkpoint callback Cancelled/Callback(E) precedes Deadline. Native operation failures, read reservation failures and observed mismatch return directly before a later callback; errors are never rewritten by a later cancellation. Final metadata failure precedes the post-metadata deadline check.", | |
| 47 | 추가: "late_cancel": "Finalizing is the final cancellation checkpoint. A request arriving after it can coexist with successful return; caller must not rewrite a returned snapshot. No public hook covers this narrow interval.", | |
| 48 | 추가: "observers": "Callbacks run synchronously and can block/panic; panic propagates and RAII drops local handles, without synthesizing a completion. No transport policy is implemented. A callback is not allowed to supply bytes/identity as evidence." | |
| 49 | 추가: }, | |
| 50 | 추가: "validation": { | |
| 51 | 추가: "performed": [ | |
| 52 | 추가: "rustfmt 1.99.1 syntax/format", | |
| 53 | 추가: "Cargo 1.99.1 offline lock generation", | |
| 54 | 추가: "locked/offline metadata x86_64-unknown-linux-gnu", | |
| 55 | 추가: "static API/bounds/manifest review", | |
| 56 | 추가: "dependency archive checksum and cached source equality" | |
| 57 | 추가: ], | |
| 58 | 추가: "not_performed": [ | |
| 59 | 추가: "Rust compile/type-check", | |
| 60 | 추가: "unit/integration tests", | |
| 61 | 추가: "capture syscall invocation", | |
| 62 | 추가: "synthetic or user file capture", | |
| 63 | 추가: "Send compilation checks", | |
| 64 | 추가: "Windows or other OS validation" | |
| 65 | 추가: ], | |
| 66 | 추가: "test_owner": "Independent regression source belongs to Kanon under root tests/rust-file-snapshot; none added here.", | |
| 67 | 추가: "future_cases": [ | |
| 68 | 추가: "empty and chunk/limit boundaries", | |
| 69 | 추가: "each path-component symlink and FIFO nonblocking rejection", | |
| 70 | 추가: "hard link and special-file rejection", | |
| 71 | 추가: "positive short reads and premature EOF", | |
| 72 | 추가: "native errno and callback E preservation", | |
| 73 | 추가: "append/truncate/same-size overwrite at checkpoints", | |
| 74 | 추가: "path replacement with pinned inode semantics", | |
| 75 | 추가: "cancel and deadline priority", | |
| 76 | 추가: "failed attempt usage", | |
| 77 | 추가: "opaque result and Send compile checks" | |
| 78 | 추가: ], | |
| 79 | 추가: "excluded": [ | |
| 80 | 추가: "publication", | |
| 81 | 추가: "worker launch", | |
| 82 | 추가: "execveat retry/bypass", | |
| 83 | 추가: "new installation or network restore", | |
| 84 | 추가: "held ZIP/Huffman probes", | |
| 85 | 추가: "C# edits", | |
| 86 | 추가: "main merge" | |
| 87 | 추가: ] | |
| 88 | 추가: }, | |
| 89 | 추가: "references": [ | |
| 90 | 추가: { | |
| 91 | 추가: "head": "018e7593ecb2b3a7ae0bc17a440ecf2c0de8b4dd", | |
| 92 | 추가: "path": "src/Zipelo.Core/OutputPathPolicy.cs", | |
| 93 | 추가: "use": "Host path vs archive name policy distinction" | |
| 94 | 추가: }, | |
| 95 | 추가: { | |
| 96 | 추가: "head": "06e5d6c17318349ea96efef81a9e7d8f54c1e1a1", | |
| 97 | 추가: "path": "src/Zipelo.Runtime/Streaming/StreamingZipWorkerClient.cs", | |
| 98 | 추가: "use": "SnapshotAsync two-pass comparison and non-atomic limitation; no C# code copied" | |
| 99 | 추가: }, | |
| 100 | 추가: { | |
| 101 | 추가: "url": "https://man7.org/linux/man-pages/man2/open.2.html", | |
| 102 | 추가: "use": "O_PATH type inspection, procfs held fd reopening, O_NONBLOCK" | |
| 103 | 추가: }, | |
| 104 | 추가: { | |
| 105 | 추가: "url": "https://man7.org/linux/man-pages/man2/openat2.2.html", | |
| 106 | 추가: "use": "Kernel path resolution restrictions; no fallback" | |
| 107 | 추가: } | |
| 108 | 추가: ] | |
| 109 | 추가: } |
| @@ -0,0 +1,118 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "target": "x86_64-unknown-linux-gnu", | |
| 3 | 추가: "registry_packages": [ | |
| 4 | 추가: { | |
| 5 | 추가: "name": "block-buffer", | |
| 6 | 추가: "version": "0.10.4", | |
| 7 | 추가: "checksum": "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71", | |
| 8 | 추가: "license": "MIT OR Apache-2.0", | |
| 9 | 추가: "archive_source_files_compared": 10, | |
| 10 | 추가: "license_files": [ | |
| 11 | 추가: "LICENSE-APACHE", | |
| 12 | 추가: "LICENSE-MIT" | |
| 13 | 추가: ] | |
| 14 | 추가: }, | |
| 15 | 추가: { | |
| 16 | 추가: "name": "cfg-if", | |
| 17 | 추가: "version": "1.0.5", | |
| 18 | 추가: "checksum": "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600", | |
| 19 | 추가: "license": "MIT OR Apache-2.0", | |
| 20 | 추가: "archive_source_files_compared": 14, | |
| 21 | 추가: "license_files": [ | |
| 22 | 추가: "LICENSE-APACHE", | |
| 23 | 추가: "LICENSE-MIT" | |
| 24 | 추가: ] | |
| 25 | 추가: }, | |
| 26 | 추가: { | |
| 27 | 추가: "name": "cpufeatures", | |
| 28 | 추가: "version": "0.2.17", | |
| 29 | 추가: "checksum": "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280", | |
| 30 | 추가: "license": "MIT OR Apache-2.0", | |
| 31 | 추가: "archive_source_files_compared": 16, | |
| 32 | 추가: "license_files": [ | |
| 33 | 추가: "LICENSE-APACHE", | |
| 34 | 추가: "LICENSE-MIT" | |
| 35 | 추가: ] | |
| 36 | 추가: }, | |
| 37 | 추가: { | |
| 38 | 추가: "name": "crypto-common", | |
| 39 | 추가: "version": "0.1.7", | |
| 40 | 추가: "checksum": "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a", | |
| 41 | 추가: "license": "MIT OR Apache-2.0", | |
| 42 | 추가: "archive_source_files_compared": 9, | |
| 43 | 추가: "license_files": [ | |
| 44 | 추가: "LICENSE-APACHE", | |
| 45 | 추가: "LICENSE-MIT" | |
| 46 | 추가: ] | |
| 47 | 추가: }, | |
| 48 | 추가: { | |
| 49 | 추가: "name": "digest", | |
| 50 | 추가: "version": "0.10.7", | |
| 51 | 추가: "checksum": "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292", | |
| 52 | 추가: "license": "MIT OR Apache-2.0", | |
| 53 | 추가: "archive_source_files_compared": 21, | |
| 54 | 추가: "license_files": [ | |
| 55 | 추가: "LICENSE-APACHE", | |
| 56 | 추가: "LICENSE-MIT" | |
| 57 | 추가: ] | |
| 58 | 추가: }, | |
| 59 | 추가: { | |
| 60 | 추가: "name": "generic-array", | |
| 61 | 추가: "version": "0.14.7", | |
| 62 | 추가: "checksum": "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a", | |
| 63 | 추가: "license": "MIT", | |
| 64 | 추가: "archive_source_files_compared": 16, | |
| 65 | 추가: "license_files": [ | |
| 66 | 추가: "LICENSE" | |
| 67 | 추가: ] | |
| 68 | 추가: }, | |
| 69 | 추가: { | |
| 70 | 추가: "name": "libc", | |
| 71 | 추가: "version": "0.2.191", | |
| 72 | 추가: "checksum": "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a", | |
| 73 | 추가: "license": "MIT OR Apache-2.0", | |
| 74 | 추가: "archive_source_files_compared": 452, | |
| 75 | 추가: "license_files": [ | |
| 76 | 추가: "LICENSE-APACHE", | |
| 77 | 추가: "LICENSE-MIT" | |
| 78 | 추가: ] | |
| 79 | 추가: }, | |
| 80 | 추가: { | |
| 81 | 추가: "name": "sha2", | |
| 82 | 추가: "version": "0.10.9", | |
| 83 | 추가: "checksum": "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283", | |
| 84 | 추가: "license": "MIT OR Apache-2.0", | |
| 85 | 추가: "archive_source_files_compared": 31, | |
| 86 | 추가: "license_files": [ | |
| 87 | 추가: "LICENSE-APACHE", | |
| 88 | 추가: "LICENSE-MIT" | |
| 89 | 추가: ] | |
| 90 | 추가: }, | |
| 91 | 추가: { | |
| 92 | 추가: "name": "typenum", | |
| 93 | 추가: "version": "1.20.1", | |
| 94 | 추가: "checksum": "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20", | |
| 95 | 추가: "license": "MIT OR Apache-2.0", | |
| 96 | 추가: "archive_source_files_compared": 26, | |
| 97 | 추가: "license_files": [ | |
| 98 | 추가: "LICENSE", | |
| 99 | 추가: "LICENSE-APACHE", | |
| 100 | 추가: "LICENSE-MIT" | |
| 101 | 추가: ] | |
| 102 | 추가: }, | |
| 103 | 추가: { | |
| 104 | 추가: "name": "version_check", | |
| 105 | 추가: "version": "0.9.5", | |
| 106 | 추가: "checksum": "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a", | |
| 107 | 추가: "license": "MIT/Apache-2.0", | |
| 108 | 추가: "archive_source_files_compared": 13, | |
| 109 | 추가: "license_files": [ | |
| 110 | 추가: "LICENSE-APACHE", | |
| 111 | 추가: "LICENSE-MIT" | |
| 112 | 추가: ] | |
| 113 | 추가: } | |
| 114 | 추가: ], | |
| 115 | 추가: "comparison": "10 registry records exactly match existing rust-live-supervisor lock; root package is new; no download/build", | |
| 116 | 추가: "direct": "libc 0.2.191 std Linux-only; sha2 0.10.9 std+force-soft; defaults disabled", | |
| 117 | 추가: "advisories": "No current vulnerability audit performed; source/hash/license verification only" | |
| 118 | 추가: } |
| @@ -0,0 +1,286 @@ | ||
| 1 | 추가: #![deny(unsafe_op_in_unsafe_fn)] | |
| 2 | 추가: | |
| 3 | 추가: use sha2::{Digest, Sha256}; | |
| 4 | 추가: use std::{ | |
| 5 | 추가: collections::TryReserveError, | |
| 6 | 추가: io, | |
| 7 | 추가: path::Path, | |
| 8 | 추가: time::{Duration, Instant}, | |
| 9 | 추가: }; | |
| 10 | 추가: | |
| 11 | 추가: #[cfg(target_os = "linux")] | |
| 12 | 추가: mod linux; | |
| 13 | 추가: | |
| 14 | 추가: pub const MAX_BYTES: u64 = 16 * 1024 * 1024; | |
| 15 | 추가: pub const MAX_IO_BYTES: u64 = 128 * 1024 * 1024; | |
| 16 | 추가: pub const MAX_READ_CALLS: u64 = 131_072; | |
| 17 | 추가: pub const CHUNK_BYTES: usize = 65_536; | |
| 18 | 추가: | |
| 19 | 추가: #[derive(Clone, Copy, Debug)] | |
| 20 | 추가: pub struct Limits { | |
| 21 | 추가: pub max_bytes: u64, | |
| 22 | 추가: pub max_io_bytes: u64, | |
| 23 | 추가: pub max_read_calls: u64, | |
| 24 | 추가: pub max_duration: Duration, | |
| 25 | 추가: } | |
| 26 | 추가: | |
| 27 | 추가: impl Default for Limits { | |
| 28 | 추가: fn default() -> Self { | |
| 29 | 추가: Self { | |
| 30 | 추가: max_bytes: MAX_BYTES, | |
| 31 | 추가: max_io_bytes: MAX_IO_BYTES, | |
| 32 | 추가: max_read_calls: MAX_READ_CALLS, | |
| 33 | 추가: max_duration: Duration::from_secs(30), | |
| 34 | 추가: } | |
| 35 | 추가: } | |
| 36 | 추가: } | |
| 37 | 추가: | |
| 38 | 추가: #[derive(Clone, Copy, Debug, Default, Eq, PartialEq)] | |
| 39 | 추가: pub struct Usage { | |
| 40 | 추가: pub open_calls: u64, | |
| 41 | 추가: pub metadata_calls: u64, | |
| 42 | 추가: pub read_calls: u64, | |
| 43 | 추가: pub reserved_read_bytes: u64, | |
| 44 | 추가: pub actual_read_bytes: u64, | |
| 45 | 추가: pub compared_bytes: u64, | |
| 46 | 추가: } | |
| 47 | 추가: | |
| 48 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 49 | 추가: pub enum Stage { | |
| 50 | 추가: Opening, | |
| 51 | 추가: Pinned, | |
| 52 | 추가: Copying, | |
| 53 | 추가: Comparing, | |
| 54 | 추가: Finalizing, | |
| 55 | 추가: } | |
| 56 | 추가: | |
| 57 | 추가: #[derive(Clone, Copy, Debug)] | |
| 58 | 추가: pub struct Checkpoint { | |
| 59 | 추가: pub stage: Stage, | |
| 60 | 추가: pub offset: u64, | |
| 61 | 추가: pub length: Option<u64>, | |
| 62 | 추가: pub usage: Usage, | |
| 63 | 추가: } | |
| 64 | 추가: | |
| 65 | 추가: #[derive(Debug)] | |
| 66 | 추가: pub enum Stop<E> { | |
| 67 | 추가: Cancelled, | |
| 68 | 추가: Callback(E), | |
| 69 | 추가: } | |
| 70 | 추가: | |
| 71 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 72 | 추가: pub enum LimitKind { | |
| 73 | 추가: Bytes, | |
| 74 | 추가: IoBytes, | |
| 75 | 추가: ReadCalls, | |
| 76 | 추가: Deadline, | |
| 77 | 추가: } | |
| 78 | 추가: | |
| 79 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 80 | 추가: pub enum Changed { | |
| 81 | 추가: Metadata, | |
| 82 | 추가: Contents, | |
| 83 | 추가: Length, | |
| 84 | 추가: Identity, | |
| 85 | 추가: } | |
| 86 | 추가: | |
| 87 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 88 | 추가: pub enum Unsupported { | |
| 89 | 추가: Platform, | |
| 90 | 추가: Procfs, | |
| 91 | 추가: FileType, | |
| 92 | 추가: MultipleLinks, | |
| 93 | 추가: } | |
| 94 | 추가: | |
| 95 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 96 | 추가: pub enum IoOperation { | |
| 97 | 추가: PinPath, | |
| 98 | 추가: Inspect, | |
| 99 | 추가: OpenProc, | |
| 100 | 추가: InspectProc, | |
| 101 | 추가: OpenProcDescriptors, | |
| 102 | 추가: ReopenPinned, | |
| 103 | 추가: Read, | |
| 104 | 추가: } | |
| 105 | 추가: | |
| 106 | 추가: #[derive(Debug)] | |
| 107 | 추가: pub enum Error<E> { | |
| 108 | 추가: InvalidLimits, | |
| 109 | 추가: InvalidPath, | |
| 110 | 추가: Unsupported(Unsupported), | |
| 111 | 추가: Limit(LimitKind), | |
| 112 | 추가: Changed(Changed), | |
| 113 | 추가: Cancelled, | |
| 114 | 추가: Callback(E), | |
| 115 | 추가: Allocation(TryReserveError), | |
| 116 | 추가: Io { | |
| 117 | 추가: operation: IoOperation, | |
| 118 | 추가: source: io::Error, | |
| 119 | 추가: }, | |
| 120 | 추가: } | |
| 121 | 추가: | |
| 122 | 추가: #[derive(Debug)] | |
| 123 | 추가: pub struct Failure<E> { | |
| 124 | 추가: pub cause: Error<E>, | |
| 125 | 추가: pub usage: Usage, | |
| 126 | 추가: } | |
| 127 | 추가: | |
| 128 | 추가: /// 열린 파일의 관측값임. 경로 지속성이나 원자적 snapshot 증거가 아님. | |
| 129 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 130 | 추가: pub struct Identity { | |
| 131 | 추가: device: u64, | |
| 132 | 추가: inode: u64, | |
| 133 | 추가: length: u64, | |
| 134 | 추가: links: u64, | |
| 135 | 추가: mode: u32, | |
| 136 | 추가: modified: (i64, i64), | |
| 137 | 추가: changed: (i64, i64), | |
| 138 | 추가: } | |
| 139 | 추가: | |
| 140 | 추가: impl Identity { | |
| 141 | 추가: pub fn device(&self) -> u64 { | |
| 142 | 추가: self.device | |
| 143 | 추가: } | |
| 144 | 추가: pub fn inode(&self) -> u64 { | |
| 145 | 추가: self.inode | |
| 146 | 추가: } | |
| 147 | 추가: pub fn length(&self) -> u64 { | |
| 148 | 추가: self.length | |
| 149 | 추가: } | |
| 150 | 추가: pub fn links(&self) -> u64 { | |
| 151 | 추가: self.links | |
| 152 | 추가: } | |
| 153 | 추가: pub fn mode(&self) -> u32 { | |
| 154 | 추가: self.mode | |
| 155 | 추가: } | |
| 156 | 추가: pub fn modified(&self) -> (i64, i64) { | |
| 157 | 추가: self.modified | |
| 158 | 추가: } | |
| 159 | 추가: pub fn changed(&self) -> (i64, i64) { | |
| 160 | 추가: self.changed | |
| 161 | 추가: } | |
| 162 | 추가: } | |
| 163 | 추가: | |
| 164 | 추가: /// 두 번 읽어 일치한 메모리 사본임. 동시 변경 전체 탐지나 게시 증거가 아님. | |
| 165 | 추가: pub struct FileSnapshot { | |
| 166 | 추가: bytes: Vec<u8>, | |
| 167 | 추가: identity: Identity, | |
| 168 | 추가: sha256: [u8; 32], | |
| 169 | 추가: usage: Usage, | |
| 170 | 추가: } | |
| 171 | 추가: | |
| 172 | 추가: impl FileSnapshot { | |
| 173 | 추가: pub fn bytes(&self) -> &[u8] { | |
| 174 | 추가: &self.bytes | |
| 175 | 추가: } | |
| 176 | 추가: pub fn identity(&self) -> Identity { | |
| 177 | 추가: self.identity | |
| 178 | 추가: } | |
| 179 | 추가: pub fn sha256(&self) -> [u8; 32] { | |
| 180 | 추가: self.sha256 | |
| 181 | 추가: } | |
| 182 | 추가: pub fn usage(&self) -> Usage { | |
| 183 | 추가: self.usage | |
| 184 | 추가: } | |
| 185 | 추가: /// 원본 bytes를 이동하며 snapshot 증명 객체는 소비함. | |
| 186 | 추가: pub fn into_bytes(self) -> Vec<u8> { | |
| 187 | 추가: self.bytes | |
| 188 | 추가: } | |
| 189 | 추가: } | |
| 190 | 추가: | |
| 191 | 추가: impl std::fmt::Debug for FileSnapshot { | |
| 192 | 추가: fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | |
| 193 | 추가: f.debug_struct("FileSnapshot") | |
| 194 | 추가: .field("length", &self.bytes.len()) | |
| 195 | 추가: .field("usage", &self.usage) | |
| 196 | 추가: .finish_non_exhaustive() | |
| 197 | 추가: } | |
| 198 | 추가: } | |
| 199 | 추가: | |
| 200 | 추가: pub struct Request<'a> { | |
| 201 | 추가: pub path: &'a Path, | |
| 202 | 추가: pub limits: Limits, | |
| 203 | 추가: } | |
| 204 | 추가: | |
| 205 | 추가: struct Run { | |
| 206 | 추가: limits: Limits, | |
| 207 | 추가: usage: Usage, | |
| 208 | 추가: started: Instant, | |
| 209 | 추가: } | |
| 210 | 추가: | |
| 211 | 추가: impl Run { | |
| 212 | 추가: fn checkpoint<E>( | |
| 213 | 추가: &self, | |
| 214 | 추가: stage: Stage, | |
| 215 | 추가: offset: u64, | |
| 216 | 추가: length: Option<u64>, | |
| 217 | 추가: callback: &mut impl FnMut(Checkpoint) -> Result<(), Stop<E>>, | |
| 218 | 추가: ) -> Result<(), Error<E>> { | |
| 219 | 추가: callback(Checkpoint { | |
| 220 | 추가: stage, | |
| 221 | 추가: offset, | |
| 222 | 추가: length, | |
| 223 | 추가: usage: self.usage, | |
| 224 | 추가: }) | |
| 225 | 추가: .map_err(|stop| match stop { | |
| 226 | 추가: Stop::Cancelled => Error::Cancelled, | |
| 227 | 추가: Stop::Callback(error) => Error::Callback(error), | |
| 228 | 추가: })?; | |
| 229 | 추가: if self.started.elapsed() >= self.limits.max_duration { | |
| 230 | 추가: return Err(Error::Limit(LimitKind::Deadline)); | |
| 231 | 추가: } | |
| 232 | 추가: Ok(()) | |
| 233 | 추가: } | |
| 234 | 추가: | |
| 235 | 추가: fn reserve_read<E>(&mut self, count: usize) -> Result<(), Error<E>> { | |
| 236 | 추가: if self.usage.read_calls >= self.limits.max_read_calls { | |
| 237 | 추가: return Err(Error::Limit(LimitKind::ReadCalls)); | |
| 238 | 추가: } | |
| 239 | 추가: if count as u64 > self.limits.max_io_bytes - self.usage.reserved_read_bytes { | |
| 240 | 추가: return Err(Error::Limit(LimitKind::IoBytes)); | |
| 241 | 추가: } | |
| 242 | 추가: self.usage.read_calls += 1; | |
| 243 | 추가: self.usage.reserved_read_bytes += count as u64; | |
| 244 | 추가: Ok(()) | |
| 245 | 추가: } | |
| 246 | 추가: } | |
| 247 | 추가: | |
| 248 | 추가: /// 일반 파일을 처음부터 캡처함. callback과 파일 I/O의 강제 종료 시간은 보장하지 않음. | |
| 249 | 추가: pub fn capture<E>( | |
| 250 | 추가: request: Request<'_>, | |
| 251 | 추가: mut checkpoint: impl FnMut(Checkpoint) -> Result<(), Stop<E>>, | |
| 252 | 추가: ) -> Result<FileSnapshot, Failure<E>> { | |
| 253 | 추가: let mut run = Run { | |
| 254 | 추가: limits: request.limits, | |
| 255 | 추가: usage: Usage::default(), | |
| 256 | 추가: started: Instant::now(), | |
| 257 | 추가: }; | |
| 258 | 추가: let limits = request.limits; | |
| 259 | 추가: if limits.max_bytes > MAX_BYTES | |
| 260 | 추가: || limits.max_io_bytes > MAX_IO_BYTES | |
| 261 | 추가: || limits.max_read_calls == 0 | |
| 262 | 추가: || limits.max_read_calls > MAX_READ_CALLS | |
| 263 | 추가: || limits.max_duration.is_zero() | |
| 264 | 추가: || limits.max_duration > Duration::from_secs(300) | |
| 265 | 추가: { | |
| 266 | 추가: return Err(Failure { | |
| 267 | 추가: cause: Error::InvalidLimits, | |
| 268 | 추가: usage: run.usage, | |
| 269 | 추가: }); | |
| 270 | 추가: } | |
| 271 | 추가: #[cfg(target_os = "linux")] | |
| 272 | 추가: let result = linux::capture(request.path, &mut run, &mut checkpoint); | |
| 273 | 추가: #[cfg(not(target_os = "linux"))] | |
| 274 | 추가: let result: Result<FileSnapshot, Error<E>> = { | |
| 275 | 추가: let _ = (&request.path, &mut checkpoint); | |
| 276 | 추가: Err(Error::Unsupported(Unsupported::Platform)) | |
| 277 | 추가: }; | |
| 278 | 추가: result.map_err(|cause| Failure { | |
| 279 | 추가: cause, | |
| 280 | 추가: usage: run.usage, | |
| 281 | 추가: }) | |
| 282 | 추가: } | |
| 283 | 추가: | |
| 284 | 추가: fn digest(bytes: &[u8]) -> [u8; 32] { | |
| 285 | 추가: Sha256::digest(bytes).into() | |
| 286 | 추가: } |
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로 열기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로 열기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로 열기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를 표시하지 않아요.
파일 내려받기바이너리 파일이라 Diff를 표시하지 않아요.
파일 내려받기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로 열기