Commit graph

  • 79b96bdfde
    add "std" feature to getrandom for io::Error conversion Danny McClanahan 2024-05-22 12:06:54 -04:00
  • d852c222fc
    review comments 1 Danny McClanahan 2024-05-22 11:59:33 -04:00
  • a7fd5874cf
    reduce visibility for all the blocks Danny McClanahan 2024-05-18 08:43:13 -04:00
  • 8d454d2277
    nitpick Danny McClanahan 2024-05-18 08:18:54 -04:00
  • 21d07e192c
    add ExtraFieldMagic and Zip64ExtraFieldBlock Danny McClanahan 2024-05-18 08:09:37 -04:00
  • 3d6c4d1ae4
    fix fuzz failure Danny McClanahan 2024-05-18 05:56:27 -04:00
  • acb0a6f0c4
    clarify the check being performed Danny McClanahan 2024-05-18 04:46:17 -04:00
  • 8fbc4039a8
    lean more on the ::MAGIC trait constants Danny McClanahan 2024-05-18 04:36:54 -04:00
  • 41813d242c
    move encrypted and data descriptor validation up higher Danny McClanahan 2024-05-18 04:32:06 -04:00
  • cf2d980612
    expose pub(crate) methods to convert compression methods Danny McClanahan 2024-05-18 04:29:26 -04:00
  • e1c92e2f21
    make SIG_BYTES const Danny McClanahan 2024-05-18 04:21:13 -04:00
  • 03c92a1184
    add to_and_from_le! macro Danny McClanahan 2024-05-18 04:13:11 -04:00
  • 83cdbadae8
    make window size assertions much less complex with Magic Danny McClanahan 2024-05-18 04:04:32 -04:00
  • 7eb5907622
    remove a lot of boilerplate for Block impls Danny McClanahan 2024-05-18 03:56:10 -04:00
  • 08385d52e1
    implement find_content() by parsing with blocks Danny McClanahan 2024-05-18 03:08:17 -04:00
  • 3fa0d84554
    make Magic into a wrapper struct Danny McClanahan 2024-05-18 02:38:57 -04:00
  • 46c42c7f82
    review comments 1 Danny McClanahan 2024-05-18 02:04:07 -04:00
  • ad1d51d099
    write file comment to central directory header Danny McClanahan 2024-05-13 00:40:53 -04:00
  • ea308499af
    bulk parsing and bulk writing Danny McClanahan 2024-05-03 14:28:28 -04:00
  • 011e5afe7b
    add test that breaks without the fix Danny McClanahan 2024-05-03 16:24:58 -04:00
  • 3d1728d796
    add stream benchmark Danny McClanahan 2024-05-18 09:13:52 -04:00
  • 0a573d3747
    make benchmarks report bytes/second Danny McClanahan 2024-05-18 08:53:56 -04:00
  • 7a55945743
    add benchmarks Danny McClanahan 2024-05-03 14:31:10 -04:00
  • 1e39276b2b
    feat: Support mutual conversion between DateTime and MS-DOS pair Shun Sakai 2024-05-24 19:36:08 +09:00
  • 94765a4a34
    Merge pull request #147 from zip-rs/release-plz-2024-05-23T16-06-05Z Chris Hennick 2024-05-24 04:03:16 +00:00
  • e5607ac276
    chore: release Chris Hennick 2024-05-23 18:22:52 -07:00
  • 6d1b5f7d6c
    Merge pull request #143 from agourlay/expose-aes-info Chris Hennick 2024-05-23 22:53:58 +00:00
  • da8be86761
    style: cargo fmt --all Chris Hennick 2024-05-23 15:53:37 -07:00
  • 7d61377503
    refactor: Change type of last_modified_time to Option<DateTime> Chris Hennick 2024-05-23 14:15:38 -07:00
  • 492a6b9d12
    chore: Guard AesInfo behind #[cfg(feature = "aes-crypto")] Chris Hennick 2024-05-23 13:04:31 -07:00
  • 74c604f29c
    Need aes-crypto feature to use crate::aes::PWD_VERIFY_LENGTH Chris Hennick 2024-05-23 12:42:35 -07:00
  • fd6c1548a4
    Merge branch 'master' into expose-aes-info Chris Hennick 2024-05-23 12:39:58 -07:00
  • e08548392d
    test: Tests in aes.rs can only run when aes-crypto is enabled Chris Hennick 2024-05-23 12:39:37 -07:00
  • 6db572ce65
    review & clippy Arnaud Gourlay 2024-05-23 20:12:22 +02:00
  • 6da1faa4f1
    code review Arnaud Gourlay 2024-05-23 08:25:25 +02:00
  • 985d3a7809
    Expose AES information Arnaud Gourlay 2024-05-22 08:58:17 +02:00
  • b0c666aa0c
    chore: Continue to accept archives with invalid DateTime, and use now_utc() as default only when writing, not reading Chris Hennick 2024-05-23 09:44:06 -07:00
  • 7a34aa5f41
    refactor!: Rename from_msdos to from_msdos_unchecked, make it unsafe, and add try_from_msdos (#145) Chris Hennick 2024-05-23 09:03:50 -07:00
  • ef74a26dd5
    Merge pull request #141 from sorairolake/deprecated-since Chris Hennick 2024-05-23 03:44:38 +00:00
  • 90fcad6e9a
    Merge pull request #142 from sorairolake/impl-more-traits Chris Hennick 2024-05-23 03:37:56 +00:00
  • 3f271b718f
    Merge branch 'master' into impl-more-traits Shun Sakai 2024-05-23 10:11:10 +09:00
  • 4ac4ae8504
    Merge branch 'master' into deprecated-since Shun Sakai 2024-05-23 10:10:51 +09:00
  • 9265e17cb8
    Merge branch 'master' into deprecated-since Chris Hennick 2024-05-22 13:50:05 -07:00
  • ef7c8026b7
    Merge branch 'master' into impl-more-traits Chris Hennick 2024-05-22 13:47:03 -07:00
  • c6255540fa
    Merge pull request #144 from cosmicexplorer/fix-fuzz-ci Chris Hennick 2024-05-22 20:33:31 +00:00
  • b4d6d3c8e2
    fix rust 2024 breakage with cargo v1 action Danny McClanahan 2024-05-22 12:37:58 -04:00
  • e3b12e313e
    feat: Add fmt::Display for DateTime Shun Sakai 2024-05-22 11:35:26 +09:00
  • 00be854b11
    feat: Implement more traits for DateTime Shun Sakai 2024-05-22 10:50:18 +09:00
  • e188a36d1c
    chore: Add since to deprecated Shun Sakai 2024-05-22 09:57:23 +09:00
  • 6c60c67d92
    Merge pull request #140 from zip-rs/release-plz-2024-05-21T19-09-46Z Chris Hennick 2024-05-22 00:38:45 +00:00
  • 65a0bde48e
    chore: release Chris Hennick 2024-05-21 12:29:12 -07:00
  • dbf2543301
    ci: Condition isn't working, so use continue-on-error Chris Hennick 2024-05-21 12:18:19 -07:00
  • 7d7e4256bd
    ci: Disable attestation step if nothing's been built Chris Hennick 2024-05-21 12:13:17 -07:00
  • fdc39352aa
    ci: Fix variable reference in release-plz workflow Chris Hennick 2024-05-21 12:08:28 -07:00
  • edd6a5823c
    Merge pull request #139 from sorairolake/zip-dt-to-time-offset-dt Chris Hennick 2024-05-21 15:44:08 +00:00
  • d171f2ef31
    test: Add .gitattributes to force test data files to be binary Chris Hennick 2024-05-21 09:15:44 -07:00
  • 42af7158e9
    style: cargo fmt --all Chris Hennick 2024-05-21 08:46:24 -07:00
  • ac8b04c0f1
    feat: Add TryFrom<DateTime> for OffsetDateTime Shun Sakai 2024-05-21 15:38:39 +09:00
  • 20fa9edd14
    refactor: Make deflate enable both default implementations Chris Hennick 2024-05-20 18:11:09 -07:00
  • a731f2a4c6
    refactor: Merge the hidden deflate-flate2 flag into the public one Chris Hennick 2024-05-20 18:02:30 -07:00
  • 870f915bc5
    refactor: Rename _deflate-non-zopfli to _deflate-flate2 Chris Hennick 2024-05-20 12:02:05 -07:00
  • 6071dc13b0
    perf: Change default compression implementation to flate2/zlib-ng Chris Hennick 2024-05-20 11:55:51 -07:00
  • 89b9b668ec
    refactor: Reject encrypted and using_data_descriptor files slightly faster in read_zipfile_from_stream Chris Hennick 2024-05-19 16:53:56 -07:00
  • 897cca50b3
    Merge pull request #137 from sorairolake/all-features-for-docsrs Chris Hennick 2024-05-19 18:57:31 +00:00
  • 3afe549161
    refactor: Convert impl TryInto<NaiveDateTime> for DateTime to impl TryFrom<DateTime> for NaiveDateTime (#136) Chris Hennick 2024-05-19 11:51:20 -07:00
  • 2148580a27
    doc: Add some missing license information Chris Hennick 2024-05-19 11:47:12 -07:00
  • e8276b26a5
    ci: Fix failure in attestation step Chris Hennick 2024-05-19 11:41:24 -07:00
  • d873e6d2c1
    chore: Enable all features for Docs.rs Shun Sakai 2024-05-19 20:32:56 +09:00
  • 4b295d3d5a
    Merge pull request #135 from sorairolake/docsrs Chris Hennick 2024-05-18 05:21:28 +00:00
  • 57eaa50e35
    ci(fuzz): Update seed corpora Chris Hennick 2024-05-17 22:39:01 -07:00
  • 6ae2cfbf52
    chore(#132): Attribution for some copied test data Chris Hennick 2024-05-17 19:19:07 -07:00
  • e5ea797014
    chore(#133): chmod -x src/result.rs Chris Hennick 2024-05-17 19:13:10 -07:00
  • 933ccc4f92
    Enable deflate-zlib as well, and keep deflate64 separate Chris Hennick 2024-05-17 18:55:22 -07:00
  • 62788e213b
    docs: Add package.metadata.docs.rs Shun Sakai 2024-05-18 09:42:23 +09:00
  • aa56c0a8be
    Revert "ci: Auto-merge PRs from within repo even if I'm the triggering actor" Chris Hennick 2024-05-17 09:01:06 -07:00
  • 102e31113d
    Merge pull request #131 from zip-rs/release-plz-2024-05-15T23-52-34Z Chris Hennick 2024-05-17 07:28:17 +00:00
  • 461fb58a02
    chore: release Chris Hennick 2024-05-16 21:03:31 -07:00
  • a8b2855910
    ci: Auto-merge PRs from within repo even if I'm the triggering actor Chris Hennick 2024-05-16 21:01:00 -07:00
  • 6fa4486089
    Enable attestation of release builds Chris Hennick 2024-05-15 20:44:04 -07:00
  • 3e81fddb78
    style: cargo fmt --all Chris Hennick 2024-05-15 17:47:20 -07:00
  • 1cb0e1b3b7
    refactor: Eliminate deprecation warning when --all-features implicitly enables the deprecated feature Chris Hennick 2024-05-15 17:13:20 -07:00
  • fbf111ef97
    style: cargo fmt --all Chris Hennick 2024-05-15 17:09:12 -07:00
  • 3e06f6433a
    chore: Fix borrow-of-moved-value Chris Hennick 2024-05-15 17:08:40 -07:00
  • 633a6733e6
    refactor: Check if archive contains a symlink's target, without borrowing both at the same time Chris Hennick 2024-05-15 17:06:57 -07:00
  • 17fee7938a
    refactor: Eliminate a clone that's no longer necessary Chris Hennick 2024-05-15 16:57:37 -07:00
  • 7536a98da1
    chore: Box<str> doesn't directly convert to PathBuf, so convert back to String first Chris Hennick 2024-05-15 16:55:00 -07:00
  • 267ab432cf
    chore: partial revert - only &str has chars(), but Box<str> should auto-deref Chris Hennick 2024-05-15 16:51:12 -07:00
  • d78f127039
    chore: contains_key needs a Box<str>, so generify is_dir to accept one Chris Hennick 2024-05-15 16:49:05 -07:00
  • b7ac989013
    refactor: is_dir only needs to look at the filename Chris Hennick 2024-05-15 16:44:59 -07:00
  • 09676e7bee
    chore: Add missing ZipFileData::is_dir() method Chris Hennick 2024-05-15 16:20:50 -07:00
  • 1e574a961a
    chore: Fix another Windows-specific error Chris Hennick 2024-05-15 16:14:57 -07:00
  • 91dcf305d7
    chore: More bug fixes for Windows-specific symlink code Chris Hennick 2024-05-15 16:11:37 -07:00
  • ce818e4df1
    chore: More bug fixes for Windows-specific symlink code Chris Hennick 2024-05-15 16:08:39 -07:00
  • aca750d616
    chore: Bug fix: variable name change Chris Hennick 2024-05-15 15:57:54 -07:00
  • 9d11f4cf68
    chore: Bug fix: need both internal and output path to determine whether to symlink_dir Chris Hennick 2024-05-15 15:53:26 -07:00
  • 2a67534fcb
    chore: Another bug fix Chris Hennick 2024-05-15 15:37:31 -07:00
  • 47a07fb964
    chore: Fix another error-type conversion error Chris Hennick 2024-05-15 15:32:08 -07:00
  • 819f86537c
    refactor: Remove unnecessary #[cfg] attributes Chris Hennick 2024-05-15 15:31:17 -07:00
  • 23068ad7c2
    chore: Fix error-type conversion on Windows Chris Hennick 2024-05-15 15:22:49 -07:00
  • 492c96c18f
    chore: Fix conditionally-unused import Chris Hennick 2024-05-15 15:12:18 -07:00