Commit Graph

51 Commits

Author SHA1 Message Date
Alexander Theißen 72626a566a Add a clippy job to the CI (#163)
* Add clippy CI check

* Fix remaining clippy lints

* Cargo fmt
2021-07-27 15:50:50 +02:00
Alexander Theißen a0b548b37d Add rustfmt.toml from substrate repo (#161)
* Add rustfmt.toml from substrate repo

* Apply rustfmt to code base

* Fix formatting

* Move rustfmt job to the top
2021-07-27 14:46:28 +02:00
Alexander Theißen 1b0ed1b383 Transition to Rust 2018 style imports 2021-05-26 14:59:04 +02:00
Alexander Theißen f05f43b883 Unify pwasm-utils and pwasm-utils-cli packet 2020-10-21 20:24:49 +02:00
Alexander Theißen af761da031 Add repository metadata to Cargo.toml files 2020-10-21 11:37:30 +02:00
Alexander Theißen fbaae277fc bump to 0.15 2020-10-21 11:17:15 +02:00
Alexander Theißen 880d273861 Make the rules passed to gas metering injection generic 2020-10-14 13:26:48 +02:00
Alexander Theißen c09a924a81 Address all clippy lints
These changes do not change the behaviour of the
code and should be non-controversial.
2020-10-13 15:42:01 +02:00
Alexander Theißen 2306999c9c Fix using Write::write without checking the return value
Use write_all instead which garantues that the whole buffer
was written.
2020-10-13 11:43:40 +02:00
NikVolf 016425a25b bump to 0.14 2020-08-04 13:54:57 +03:00
Alexander Theißen 409ced002a Allow specifying the module of the imported 'gas' function (#140)
* No need for mem::replace when doing a simple assignment

* Allow specifying the module of the imported 'gas' function

This allows users to place the imported function inside a custom
module instead of the generic 'env' module.
2020-08-04 13:53:53 +03:00
NikVolf b61f6dd52f bump to 0.13 2020-08-03 14:59:57 +03:00
Andrew Dirksen a881cf12bb Bump 'parity-wasm' version to enable no_std builds on stable.
Bump own version in preparation for cargo publish.
Bump cli verion to match.
2019-10-31 15:52:09 -07:00
NikVolf 2fe761f8c4 bump cli to 0.11 as well 2019-09-09 16:58:21 +03:00
Sergey Pepyakin 87761dad61 Bump pwasm-utils 2019-09-05 22:58:03 +02:00
Demi M. Obenour ea4cde0e7d Bump parity-wasm to latest version
to allow Substrate to do the same
2019-09-04 18:14:10 -04:00
NikVolf f9d8b722b5 bump to 0.10 2019-08-29 18:57:46 +03:00
NikVolf 155c7253c3 bump to 0.9 2019-08-02 15:21:44 +03:00
Sergey Pepyakin a774a2cb29 Update parity-wasm to 0.39 2019-07-30 16:44:05 +02:00
NikVolf 2c173fee26 bump to 0.8.0 due to change in gas counting 2019-07-17 16:57:28 +03:00
NikVolf 0d40703c6e fix identation 2019-04-09 19:02:07 +03:00
NikVolf 124de6c2db update dependency 2019-04-09 18:57:16 +03:00
NikVolf 5a617c3aae bump cli to 0.7 2019-04-09 18:56:54 +03:00
holygits 1e68a862f8 Fix '-V/--version' output 2019-02-26 16:43:33 +13:00
holygits c47adc1bd4 Refactor TargetRuntime as enum
Don't rename create symbol for substrate binaries
2019-01-23 17:03:53 +13:00
NikVolf fe25beca2b bump all to 0.6 2018-09-30 19:02:14 +01:00
Sergey Pepyakin 836ec93008 Introduce substrate contracts support. 2018-09-30 18:24:36 +01:00
NikVolf 5238b41af2 bump cli to 0.4.1 2018-08-06 16:51:35 +03:00
NikVolf a9f5058b4f fix not saving raw module when no constructor specified 2018-08-06 16:09:11 +03:00
NikVolf 4b8b07a0b5 bump versions 2018-08-06 15:43:46 +03:00
Nikolay Volf 67d67f3fba Merge pull request #100 from paritytech/no-constructor
The constructor arg removed from
2018-08-06 15:40:04 +03:00
fro 3a7f8836dd the constructor arg removed from 2018-08-06 15:19:01 +03:00
NikVolf abb5ae6f22 bump cli to 0.3.0 2018-08-03 14:11:29 +03:00
NikVolf 9d0ad5b309 bump to 0.4.0 2018-08-03 14:10:51 +03:00
Alexey e491789127 Move build logic to lib (#97)
* refactored out build to lib

* save_raw returns

* fix indentations and other small fixes

* fix build API

* rename Target to SourceTarget

* fix formatting

* make join runtime_type into runtime_type and runtime_version
2018-08-01 17:26:22 +03:00
Nikolay Volf 41839664bb wasm-check utility (#94)
* wasm-check utility

* more runtime externs

* couple more imports
2018-07-12 18:49:09 +03:00
NikVolf 7366384861 bump to lib to 0.3 and cli to 0.2 2018-07-04 12:17:42 +03:00
Wei Tang af2d61b9f8 Fix tests and cli 2018-06-29 19:06:33 +08:00
Nikolay Volf de23bfac0a Merge pull request #84 from paritytech/public-api
Add public api switch to wasm-build
2018-05-21 22:57:27 +03:00
Nikolay Volf 261c823b63 Merge pull request #82 from paritytech/pack-cli
Standalone wasm-pack binary
2018-05-20 22:51:40 +04:00
NikVolf ce865c1e8a add public api switch 2018-05-18 17:51:37 +04:00
NikVolf 5609a08e99 change to expect 2018-05-18 16:47:06 +04:00
NikVolf edabee0649 more fixes to fixes 2018-05-18 16:45:04 +04:00
NikVolf 367514ae07 actual implementation of packer 2018-05-18 16:37:49 +04:00
NikVolf 816f14eac7 also call/deploy update 2018-05-18 16:29:35 +04:00
NikVolf f9540c5423 some fixes 2018-05-18 16:22:41 +04:00
NikVolf 04ac17c3d5 additional binary 2018-05-18 16:21:25 +04:00
NikVolf 7f8811cb2c readme for cli 2018-05-15 18:18:49 +04:00
NikVolf 4112b4b961 bump/set versions 2018-05-15 18:14:23 +04:00
Sergey Pepyakin 867a6a185d Use parity-wasm 0.30 instead of git 2018-05-15 16:54:02 +03:00