PackageTrack
Sign in Get early access

scale-info-derive

Derive type info for SCALE encodable types

2.11.6 25M downloads/mo #1879 most downloaded on crates.io paritytech/scale-info

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 6 months

Nearly every release is documented

notes for 28 of 30 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

30 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

30 releases · Jun 2020 to Nov 2024
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 30
  1. 2.11.6 20 Nov 2024
    Release notes

    [2.11.6] - 2024-11-20

    • add #[allow(deprecated)] attribute to the generated code.

    Full Changelog: v2.11.4...v2.11.6

    Open source →
    Release notes
    • add #[allow(deprecated)] attribute to the generated code.
    Open source →
  2. 2.11.5 24 Oct 2024
    Release notes
    • Bump syn to 2.
    Open source →
  3. 2.11.4 22 Oct 2024
    Release notes

    [2.11.4] - 2024-10-22

    • Bump derive_more to version 1.0.0.

    Full Changelog: v2.11.3...v2.11.4

    Open source →
    Release notes
    • Bump derive_more to version 1.0.0.
    Open source →
  4. 2.11.3 08 May 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.11.2...v2.11.3

    Open source →
    Release notes
    • Bump proc-macro-crate to version 3.
    Open source →
  5. 2.11.2 08 Apr 2024
    Release notes

    [2.11.2] - 2024-04-05

    • Fix a bug in the PortableRegistry::retain() method where recursive types (types containing themselves) were not properly handled.
    Open source →
    Release notes
    • Fix a bug in the PortableRegistry::retain() method where recursive types (types containing themselves) were not properly handled.
    Open source →
  6. 2.11.1 25 Mar 2024
    Release notes

    [2.11.1] - 2024-03-22

    • Fix a bug in the PortableRegistry::retain() method, where a type's id field was not adjusted to the new position of the type in the retained Vec.
    Open source →
    Release notes
    • Fix a bug in the PortableRegistry::retain() method, where a type's id field was not adjusted to the new position of the type in the retained Vec.
    Open source →
  7. 2.11.0 12 Mar 2024
    Release notes

    [2.11.0] - 2024-03-12

    Added

    • Implement TypeInfo for BinaryHeap (#200).
    Open source →
    Release notes

    Added

    • Implement TypeInfo for BinaryHeap (#200).
    Open source →
  8. 2.10.0 20 Oct 2023
    Release notes

    [2.10.0] - 2023-10-20

    Added

    • Implement replace_segment attribute (#197)
    Open source →
    Release notes

    Added

    • Implement replace_segment attribute (#197)
    Open source →
  9. 2.9.0 03 Jul 2023
    Release notes

    [2.9.0] - 2023-07-03

    Changed

    • Expose PortableType as public (#188)
    Open source →
    Release notes

    Changed

    • Expose PortableType as public (#188)
    Open source →
  10. 2.8.0 21 Jun 2023
    Release notes

    [2.8.0] - 2023-06-21

    Added

    • Implement TypeInfo for Rc (#185)
    • Implement TypeInfo for Duration (#184)
    Open source →
    Release notes

    Added

    • Implement TypeInfo for Rc (#185)
    • Implement TypeInfo for Duration (#184)
    Open source →
  11. 2.6.0 26 Apr 2023
    Release notes

    Added

    Open source →
  12. 2.5.0 29 Mar 2023
    Release notes

    Added

    • ty: Make type fields public (#176)
    Open source →
  13. 2.4.0 23 Mar 2023
    Release notes

    Added

    • portable: Retain the provided type IDs (#174)
    Open source →
  14. 2.3.1 09 Dec 2022
    Release notes

    Fixed

    • Change NonZero* TypeInfo implementation to not be recursive (#171)
    Open source →
  15. 2.3.0 31 Oct 2022
    Release notes

    Implement the missing pieces for constructing PortableRegistry dynamically at runtime. This allows languages where static rust types are not available to use it.

    Open source →
  16. 2.2.0 14 Sep 2022
    Release notes

    The minimum Rust version is bumped to 1.60.0 in this release owing to using weak dependency crate features. Otherwise there are no breaking changes.

    Changed

    • Loosen restriction on TypeDefBitSequence::new() so that bitvec isn't required, and try to avoid pulling in bitvec when the std feature is enabled (#168)
    Open source →
  17. 2.1.2 18 May 2022
    Release notes

    Fixed

    • Strip invisible delimiters from type name (#156)
    Open source →
  18. 2.1.1 13 Apr 2022
    Release notes

    Fixed

    • Restore leading :: for crate access (#152)
    Open source →
  19. 2.1.0 11 Apr 2022
    Release notes

    Added

    • Add ability to reexport crate (#145)

    Fixed

    • Allow raw identifiers e.g. r#mod (#149)
    Open source →
  20. 2.0.0 07 Feb 2022
    Release notes

    Changed

    • Upgraded to parity-scale-codec 3.0
    • Upgraded to bitvec 1.0
    • Minimum Rust version is 1.56.1 for edition 2021
    Open source →
  21. 1.0.0 01 Sep 2021
    Release notes

    Changed

    • Replace Range variant with built-in composite definitions (#130)
    Open source →
  22. 0.7.0 29 Jul 2021
    Release notes

    Added

    • Handle more SCALE attributes: skip, index (#44)
    • Implement TypeInfo for BTreeSet (#85)
    • Implement TypeInfo for Cow (#84)
    • Implement TypeInfo for up to 20 element tuples (#92)
    • Add StaticTypeInfo convenience trait (#91)
    • Capture doc comments, add variant and field builders (#87)
    • Handle #[codec(index = …)] in regular enums (#80)
    • Add new top-level attribute scale_info(bounds(T: SomeTrait + OtherTrait)) (#88)
    • (aj-vecdeque) Implement TypeInfo for VecDeque (#99)
    • Add BitVec support (#98)
    • Add docs feature (#101)

    Changed

    • Upgrade proc-macro-crate to v1 (#77)
    • Use const generics for array TypeInfo impls (#54)
    • Replace NonZeroU32 type lookup ids with u32 (#90)
    • Remove HasCompact::Type bounds (#83)
    • Unify sequence types (#100)

    Fixed

    • Fix serde and decode features without default features (#74)
    • Remove type parameter defaults (#71)
    • Fix trait bounds for associated types (#76)
    Open source →
  23. 0.6.1 06 Jul 2021

    Nothing published for this version

  24. 0.6.0 30 Jun 2021
    Release notes

    Added

    • Add a TypeDef to handle Compact types (#53)
    • Add feature for enabling decoding (#59)

    Fixed

    • Derive: use known crate name aliases (#61)
    Open source →
  25. 0.5.0 29 Jun 2021
    Release notes

    Added

    • Add a new TypeDef variant to handle PhantomData - (#48)
    • TypeInfo for up to 16 tuples, Clone PortableRegistry - (#50)
    • Enumerate RegistryReadOnly types, Display Path - (#27)
    • Add missing 256 bits types which are needed by Solang - (#25)

    Changed

    • Ensure only static lifetimes appear in derived types - (#39)
    • Remove unused function MetaType::of() - (#49)
    • Use PortableRegistry for encoding and serializing - (#40)
    • Rename Compact to Portable - (#41)
    • Parameterize CompactForm String for optional SCALE impl - (#35)
    • Derive TypeInfo for fields with associated types without bounds - (#20)
    • Optional serde feature - (#34)
    • Consolidate common prelude for std and no_std and usage - (#33)
    • Add informational field type name - (#30)
    • Unify transparent wrapper types e.g. references - (#26)
    • Bump parity-scale-codec from 1.0 to 2.0 (#55)
    Open source →
  26. 0.4.0 05 Feb 2021
    Release notes

    Added

    • Add public getters for fields in meta type hierarchy (#22)
    • Implement SCALE encoding and serde deserialization (#19)
    Open source →
  27. 0.3.0 27 Jan 2021
    Release notes

    Changed

    • Remove string table, inline strings (#17)
    Open source →
  28. 0.2.1 11 Oct 2020

    Nothing published for this version

  29. 0.2.0 17 Jun 2020
    Release notes

    Changed

    • Remove Metadata supertrait (#15)
    • Unflatten JSON for type def field (#14)
    • Improve intra doc links
    Open source →
  30. 0.1.0 12 Jun 2020
    Release notes

    Added

    • First 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