Derivable Encode & Decode (#509)
* Derive macro for simple structs. * Derive Encode/Decode wherever we can. * Derive for enums. * Support discriminant. * Get rid of some repetition. * Support custom indices. * Derive codec for enums wherever possible. * Fix no_std * WASM rebuilt * Avoid excessive import. * Fix compilation. * Address review grumbles.
Showing
- polkadot/network/Cargo.toml 1 addition, 0 deletionspolkadot/network/Cargo.toml
- polkadot/network/src/collator_pool.rs 1 addition, 18 deletionspolkadot/network/src/collator_pool.rs
- polkadot/network/src/lib.rs 5 additions, 81 deletionspolkadot/network/src/lib.rs
- polkadot/parachain/Cargo.toml 1 addition, 0 deletionspolkadot/parachain/Cargo.toml
- polkadot/parachain/src/lib.rs 6 additions, 33 deletionspolkadot/parachain/src/lib.rs
- polkadot/parachain/tests/adder.rs 13 additions, 44 deletionspolkadot/parachain/tests/adder.rs
- polkadot/parachain/tests/res/adder.wasm 0 additions, 0 deletionspolkadot/parachain/tests/res/adder.wasm
- polkadot/primitives/Cargo.toml 1 addition, 0 deletionspolkadot/primitives/Cargo.toml
- polkadot/primitives/src/lib.rs 6 additions, 16 deletionspolkadot/primitives/src/lib.rs
- polkadot/primitives/src/parachain.rs 8 additions, 129 deletionspolkadot/primitives/src/parachain.rs
- polkadot/runtime/wasm/Cargo.lock 17 additions, 3 deletionspolkadot/runtime/wasm/Cargo.lock
- polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm 0 additions, 0 deletions...m32-unknown-unknown/release/polkadot_runtime.compact.wasm
- polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm 0 additions, 0 deletions...rget/wasm32-unknown-unknown/release/polkadot_runtime.wasm
- polkadot/statement-table/Cargo.toml 1 addition, 0 deletionspolkadot/statement-table/Cargo.toml
- polkadot/statement-table/src/generic.rs 9 additions, 76 deletionspolkadot/statement-table/src/generic.rs
- polkadot/statement-table/src/lib.rs 3 additions, 0 deletionspolkadot/statement-table/src/lib.rs
- polkadot/test-parachains/adder/Cargo.toml 1 addition, 0 deletionspolkadot/test-parachains/adder/Cargo.toml
- polkadot/test-parachains/adder/src/lib.rs 6 additions, 37 deletionspolkadot/test-parachains/adder/src/lib.rs
Please register or sign in to comment