sonalake / snmp-sim-rust

SNMP Simulator (Rust)
Apache License 2.0
23 stars 3 forks source link

Update konst requirement from 0.2.13 to 0.3.5 #81

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on konst to permit the latest version.

Changelog

Sourced from konst's changelog.

0.3.5

Added typewit = "1.1" dependency.

Removed konst::docs module.

Replaced konst::polymorphism::{HasTypeWitness,MakeTypeWitness,TypeWitnessTypeArg,TypeEq} from the same-named items in typewit

Added reexport of typewit::{self, CallFn, simple_type_witness,TypeFn,type_fn} in konst::polymorphism

0.3.4

Fixed Parser::parse_direction's const-ness by making it a const fn.

0.3.0

Removed konst::array::try_into_array macro (it's superceeded by the function of the same name)

Removed functions

Removed these functions because the std equivalent is stably const:

  • konst::maybe_uninit::{as_ptr, assume_init, assume_init_ref}
  • konst::ptr::{deref, deref_mut}
  • konst::slice::{first, last, split_first, split_last}

Removed extra from parameter of:

  • konst::slice::{bytes_contain, bytes_rcontain, bytes_find, bytes_rfind}
  • konst::string::{find, contains, rfind, rcontains}

Added these items in konst::polymorphism:

  • HasTypeWitness(trait)
  • MakeTypeWitness(trait)
  • TypeEq(struct)
  • TypeWitnessTypeArg(trait)
  • type_eq_projection_fn(macro)

Added konst::docs::type_witnesses documentation module.

Added konst::chr module, with these items:

  • Utf8Encoded
  • encode_utf8
  • from_u32_unchecked
  • from_u32

Renamed IntoIterKind to ConstIntoIter.

Added Item and IntoIter assoc types to ConstIntoIter, and added checks in iterator macros that Item matches the item's type.

Moved comparison-related from konst::polymorphism to new konst::cmp module.

... (truncated)

Commits


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)