Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update der-parser requirement from 8 to 9 #194

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2024

Updates the requirements on der-parser to permit the latest version.

Changelog

Sourced from der-parser's changelog.

9.0.0

Changed/Fixed

  • Upgrade asn1-rs to 0.6.0
  • Set MSRV to 1.63.0
  • Update hex-literal to 0.4.0
  • Implement BerObject::try_from(Any) (#67)

8.2.0

Changed/Fixed

  • Fix parser name to parse_der_visiblestring for VisibleString (Closes #64). Keep previous function for compatibility (mark it as deprecated).
  • Fix clippy warnings (rustc 1.67.1)
  • Update test-case from 2.0 to 3.0

8.1.0

Changed/Fixed

  • Upgrade asn1-rs to 0.5.0 (new features only: only increment minor number)

8.0.0

Changed/Fixed

  • Upgrade asn1-rs to 0.4.0 This causes an increment of the major number, because asn1-rs is re-exported

7.0.0

This release marks the beginning of the merge with the asn1-rs crate. This will break things.

However, this is necessary, because the asn1-rs crate is much cleaner and supports more types and features (like serialization, custom derive, etc.). Ultimately, this crate will become a frontend to asn1-rs, that will be optional: crate users can switch to asn1-rs and use it directly.

Changed/Fixed

MSRV: The minimum supported rust version is now 1.53.

BerObjectHeader:

  • BerSize has been renamed to Length
  • BerClass has been renamed to Class
  • BerTag has been renamed to Tag
  • Header fields are now private. Getters/setters have been added, and must be used to access/modify fields

... (truncated)

Commits
  • eb6094e Prepare release 9.0.0
  • 6781082 Implement BerObject::try_from(Any) (Closes #67)
  • c0bcf16 Update hex-literal to 0.4.0
  • dcd183a Update asn1-rs to 0.6.0
  • 77261ea Set MSRV to 1.63.0
  • dbe5a08 Set next version to 9.0.0
  • 5b28ebb tests: use expect_err (fix clippy warning)
  • 886517d Doc: fix small logic error in doc example
  • 4a9239c Prepare release 8.2.0
  • df9ef62 Fix parser name to parse_der_visiblestring for VisibleString (Closes #64)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [der-parser](https://github.com/rusticata/der-parser) to permit the latest version.
- [Release notes](https://github.com/rusticata/der-parser/releases)
- [Changelog](https://github.com/rusticata/der-parser/blob/master/CHANGELOG.md)
- [Commits](rusticata/der-parser@der-parser-8.0.0...der-parser-9.0.0)

---
updated-dependencies:
- dependency-name: der-parser
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 23, 2024
Copy link

Benchmark for 1216401

Click to view benchmark
Test Base PR %
chunk_size_decompress_mutilfiles_random/Layers(0x0)/1024 611.8±74.66ns 639.6±61.12ns +4.54%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/1048576 70.3±20.42µs 48.1±2.99µs -31.58%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/16777216 777.9±31.93µs 777.0±22.03µs -0.12%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/65536 4.1±0.16µs 3.9±0.21µs -4.88%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/1024 818.8±451.74µs 800.8±446.96µs -2.20%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/1048576 41.0±0.13ms 40.1±0.14ms -2.20%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/16777216 163.7±0.37ms 160.8±0.67ms -1.77%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/65536 6.9±3.93ms 6.7±3.76ms -2.90%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/1024 1072.0±595.48µs 1052.5±584.89µs -1.82%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/1048576 41.6±0.32ms 41.1±0.20ms -1.20%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/16777216 265.8±0.55ms 263.6±0.92ms -0.83%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/65536 6.9±3.27ms 6.8±3.26ms -1.45%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/1024 841.6±202.98µs 831.8±200.64µs -1.16%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/1048576 8.0±0.21ms 8.0±0.21ms 0.00%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/16777216 115.8±0.11ms 114.7±0.16ms -0.95%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/65536 1402.2±33.06µs 1390.6±32.91µs -0.83%
failsafe_multiple_layers_repair/Layers(0x0)/4194304 27.5±0.33ms 27.0±0.18ms -1.82%
failsafe_multiple_layers_repair/Layers(COMPRESS)/4194304 70.1±0.24ms 68.8±0.29ms -1.85%
failsafe_multiple_layers_repair/Layers(ENCRYPT | COMPRESS)/4194304 78.2±0.32ms 77.7±0.53ms -0.64%
failsafe_multiple_layers_repair/Layers(ENCRYPT)/4194304 38.5±0.55ms 38.0±0.28ms -1.30%
reader_multiple_layers_multiple_block_size/Layers(0x0)/1024 94.5±25.10ns 89.3±25.12ns -5.50%
reader_multiple_layers_multiple_block_size/Layers(0x0)/1048576 169.9±155.00µs 49.0±1.97µs -71.16%
reader_multiple_layers_multiple_block_size/Layers(0x0)/16777216 5.7±0.02ms 752.0±27.80µs -86.81%
reader_multiple_layers_multiple_block_size/Layers(0x0)/65536 10.9±9.76µs 3.1±0.21µs -71.56%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/1024 3.2±2.61µs 3.1±2.56µs -3.13%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/1048576 5.1±3.08ms 5.0±2.97ms -1.96%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/16777216 122.9±0.49ms 120.3±0.64ms -2.12%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/65536 214.0±171.85µs 208.9±167.30µs -2.38%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1024 15.5±1.42µs 15.2±1.38µs -1.94%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1048576 15.8±0.04ms 15.5±0.02ms -1.90%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/16777216 258.8±0.45ms 253.8±0.44ms -1.93%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/65536 954.2±78.98µs 936.6±77.77µs -1.84%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1024 6.9±0.24µs 6.9±0.22µs 0.00%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1048576 7.1±0.22ms 7.0±0.20ms -1.41%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/16777216 115.4±0.16ms 114.1±0.18ms -1.13%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/65536 443.8±13.64µs 438.2±13.87µs -1.26%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/1024 464.2±18.16ns 461.6±14.30ns -0.56%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/1048576 49.3±2.52µs 49.1±1.97µs -0.41%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/16777216 762.0±23.73µs 741.5±20.22µs -2.69%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/65536 3.7±0.16µs 3.7±0.08µs 0.00%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/1024 11.5±0.21µs 11.3±0.13µs -1.74%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/1048576 10.3±0.09ms 10.0±0.05ms -2.91%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/16777216 163.6±0.36ms 159.5±0.43ms -2.51%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/65536 648.2±6.33µs 632.0±4.30µs -2.50%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/1024 18.0±0.24µs 17.7±0.14µs -1.67%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/1048576 16.1±0.52ms 15.7±0.06ms -2.48%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/16777216 255.5±0.47ms 250.0±0.75ms -2.15%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/65536 995.5±6.63µs 977.8±6.71µs -1.78%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/1024 8.3±0.12µs 8.2±0.09µs -1.20%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/1048576 8.2±0.04ms 7.7±0.03ms -6.10%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/16777216 132.4±0.15ms 123.6±0.22ms -6.65%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/65536 476.9±14.80µs 462.8±7.58µs -2.96%
writer_multiple_layers_multiple_block_size/Layers(0x0)/1024 3.5±0.05µs 3.5±0.05µs 0.00%
writer_multiple_layers_multiple_block_size/Layers(0x0)/1048576 3.4±0.10ms 3.4±0.10ms 0.00%
writer_multiple_layers_multiple_block_size/Layers(0x0)/16777216 54.2±0.74ms 54.0±0.75ms -0.37%
writer_multiple_layers_multiple_block_size/Layers(0x0)/65536 211.0±6.52µs 210.1±6.19µs -0.43%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/1024 6.8±0.52µs 6.2±0.25µs -8.82%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/1048576 11.0±0.39ms 9.8±0.36ms -10.91%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/16777216 337.0±1.95ms 339.1±2.87ms +0.62%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/65536 436.8±36.53µs 438.3±40.97µs +0.34%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1024 6.4±0.49µs 6.3±0.51µs -1.56%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1048576 12.4±0.08ms 12.4±0.04ms 0.00%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/16777216 429.4±1.59ms 427.5±1.61ms -0.44%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/65536 465.3±5.36µs 384.3±3.39µs -17.41%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1024 11.1±0.04µs 11.2±0.07µs +0.90%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1048576 10.6±0.06ms 10.7±0.06ms +0.94%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/16777216 170.4±0.80ms 172.2±0.65ms +1.06%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/65536 666.8±3.80µs 671.7±4.12µs +0.73%

@commial commial merged commit 14bbbc5 into master Jun 17, 2024
33 of 34 checks passed
@commial commial deleted the dependabot/cargo/der-parser-9 branch June 17, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant