PackageTrack
Sign in Get early access

scale-type-resolver

A low level trait to be generic over how to resolve SCALE type information

0.2.0 5.1M downloads/mo #4478 most downloaded on crates.io paritytech/scale-type-resolver

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 6 weeks

Nearly every release is documented

notes for 3 of 3 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

3 releases · first in 2024

0 releases in the last 12 months

see the full history below

Release timeline

3 releases · Feb 2024 to Apr 2024
2025 2026
Release Pre-release

Releases

latest 3
  1. 0.2.0 29 Apr 2024
    Release notes

    0.2.0 - 29-04-2024

    • Provide a path iterator to composite, variant and sequence callbacks in ResolveTypeVisitor, so that people can access the path/name of these types. The path is also exposed in the concrete visitor implementation.
    • Make TypeId be passed by value and not lifetime. This is done because:
      1. scale-info uses a TypeId = u32, so it does not matter either way, and
      2. scale-info-legacy uses TypeId = TypeName, and needs to modify the TypeNames provided back in some cases, making pass-by-reference impossible.
    Open source →
    Release notes
    • Provide a path iterator to composite, variant and sequence callbacks in ResolveTypeVisitor, so that people can access the path/name of these types. The path is also exposed in the concrete visitor implementation.
    • Make TypeId be passed by value and not lifetime. This is done because:
      1. scale-info uses a TypeId = u32, so it does not matter either way, and
      2. scale-info-legacy uses TypeId = TypeName, and needs to modify the TypeNames provided back in some cases, making pass-by-reference impossible.
    Open source →
  2. 0.1.1 15 Feb 2024
    Release notes

    Just a patch release to make a small addition and no API changes:

    • Add a scale_type_resolver::visitor::new() function which allows you to construct a closure based implementation of ResolveTypeVisitor. This is much easier to use than implementing the trait yourself in most cases, since the closures provided can capture state etc from the environment.
    Open source →
  3. 0.1.0 02 Feb 2024
    Release notes

    Initial release.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive