Squirrel 1ea3299208 add no_std support (#42)
* Metadata supporting scale-info can be decoded and serialized in no_std (#2)

* Metadata supporting scale-info can be decoded and serialized in no_std (feature flag scale_info)

* Changes from review: rename feature flag into full_derive

* Changes from review: std implies full-derive

* Changes from review: optimization

Co-authored-by: echevrier <edith.chevrier@scs.ch>

* split full_derive into decode and sered_codec features.

(drop new Debug impls)

* cargo fmt

* rename serde_codec to serde_full

* Prior to v14 everything was Debug.

Are there any downsides? Unused debug impls will just get optimised away won't they?

* rust fmt

* Debug for the masses. Make it work for no_std

* check all combos of features

(if this plays well with ci then we should double up,
doing the same again but target wasm32)

* all wasm feature combos

Co-authored-by: echevrier <84318241+echevrier@users.noreply.github.com>
Co-authored-by: echevrier <edith.chevrier@scs.ch>
2022-11-09 14:32:34 +00:00
2022-11-09 14:32:34 +00:00
2022-11-09 14:32:34 +00:00
2020-12-10 12:35:18 +01:00
2020-12-10 13:02:22 +01:00
2022-02-08 18:21:15 +00:00
2020-12-10 13:23:33 +01:00
2022-02-08 18:21:15 +00:00
2022-02-08 18:21:15 +00:00
2020-12-10 13:23:33 +01:00

frame-metadata

Defines FRAME metadata types for Substrate runtimes.

Originally part of the substrate repository, it was extracted here as part of https://github.com/paritytech/substrate/pull/8615.

Versioning

Starting from v8, all historical metadata type definitions are retained. These can be enabled via features e.g. v13. The latest version is enabled by default. All legacy versions are available under the legacy feature.

Tooling

The intention is to provide tooling here in the future to handle the different versions of metadata.

S
Description
No description provided
Readme 374 KiB
Languages
Rust 100%