snmp-parser
snmp-parser copied to clipboard
Update der-parser requirement from 6.0.0 to 8.1.0
Updates the requirements on der-parser to permit the latest version.
Changelog
Sourced from der-parser's changelog.
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, becauseasn1-rs
is re-exported7.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 toasn1-rs
, that will be optional: crate users can switch toasn1-rs
and use it directly.Changed/Fixed
MSRV: The minimum supported rust version is now 1.53.
BerObjectHeader
:
BerSize
has been renamed toLength
BerClass
has been renamed toClass
BerTag
has been renamed toTag
- Header fields are now private. Getters/setters have been added, and must be used to access/modify fields
BerObjectContent
:
Unknown
variant now contains anAny
object, with both the header and object contentPrivate
variant has been merged intoUnknown
BmpString
,GeneralString
,GraphicString
,T61String
,VideotexString
andObjectDescriptor
are now decodedGeneralizedTime
andUtcTime
are now decoded
BerError
:
- Add error types
UnexpectedClass
andUnexpectedTag
- Store expected and found item in error to help debugging
- Keep
InvalidTag
for tags with invalid form (length/encoding/etc.)- Use
displaydoc
forBerError
- Parsing an indefinite length in DER now raises
IndefiniteLengthUnexpected
- Error: when a DER constraint fails, store constraint identifier
DER
:
DerClass
andDerTag
have been deprecated. UseClass
andTag
instead.
... (truncated)
Commits
2507780
Prepare release 8.1.07e077c0
Update asn1-rs to 0.5.0a146682
Upgradeasn1-rs
to 0.4.07db1f8c
Upgrade build-dependency on test-casec929856
Update CHANGELOG937bc5b
Re-export rusticata-macros (closes #55)2c14662
Add note fordepth
argument ofber_read_element_content_as
fbb4f3b
loosen some lifetime restrictionsf08888f
Add Visit and VisitMut patterns to iterate objects and update printer to use it74d3e27
Set version to 7.0.0 and update MSRV to 1.53- 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 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)