Skip to content

Commit 653fb05

Browse files
committed
Use qimalloc for size savings
1 parent f8b01c1 commit 653fb05

File tree

13 files changed

+49
-15
lines changed

13 files changed

+49
-15
lines changed

blake2/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ edition = "2018"
1010

1111
[dependencies]
1212
blake2 = "0.7"
13-
ewasm_api = "0.9"
13+
14+
[dependencies.ewasm_api]
15+
version = "0.9"
16+
default-features = false
17+
features = ["std", "qimalloc"]
1418

1519
[lib]
1620
crate-type = ["cdylib"]

bls12pairing/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ publish = false
99
edition = "2018"
1010

1111
[dependencies]
12-
ewasm_api = "0.9"
1312
ethereum-bls12 = { git = "https://github.com/ewasm/ethereum-bls12.rs", tag = "0.1.1" }
1413
parity-bytes = { git = "https://github.com/paritytech/parity-common", version = "0.1.0" }
1514

15+
[dependencies.ewasm_api]
16+
version = "0.9"
17+
default-features = false
18+
features = ["std", "qimalloc"]
19+
1620
[lib]
1721
crate-type = ["cdylib"]

ecadd/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ publish = false
99
edition = "2018"
1010

1111
[dependencies]
12-
ewasm_api = "0.9"
1312
ethereum-bn128 = { git = "https://github.com/ewasm/ethereum-bn128.rs", tag = "0.0.1" }
1413
parity-bytes = { git = "https://github.com/paritytech/parity-common", version = "0.1.0" }
1514

15+
[dependencies.ewasm_api]
16+
version = "0.9"
17+
default-features = false
18+
features = ["std", "qimalloc"]
19+
1620
[lib]
1721
crate-type = ["cdylib"]

ecmul/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ publish = false
99
edition = "2018"
1010

1111
[dependencies]
12-
ewasm_api = "0.9"
1312
ethereum-bn128 = { git = "https://github.com/ewasm/ethereum-bn128.rs", tag = "0.0.1" }
1413
parity-bytes = { git = "https://github.com/paritytech/parity-common", version = "0.1.0" }
1514

15+
[dependencies.ewasm_api]
16+
version = "0.9"
17+
default-features = false
18+
features = ["std", "qimalloc"]
19+
1620
[lib]
1721
crate-type = ["cdylib"]

ecpairing/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ publish = false
99
edition = "2018"
1010

1111
[dependencies]
12-
ewasm_api = "0.9"
1312
ethereum-bn128 = { git = "https://github.com/ewasm/ethereum-bn128.rs", tag = "0.0.1" }
1413
parity-bytes = { git = "https://github.com/paritytech/parity-common", version = "0.1.0" }
1514

15+
[dependencies.ewasm_api]
16+
version = "0.9"
17+
default-features = false
18+
features = ["std", "qimalloc"]
19+
1620
[lib]
1721
crate-type = ["cdylib"]

ecrecover/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ publish = false
99
edition = "2018"
1010

1111
[dependencies]
12-
ewasm_api = "0.9"
1312
libsecp256k1 = "^0.2.1"
1413
sha3 = "^0.6"
1514

15+
[dependencies.ewasm_api]
16+
version = "0.9"
17+
default-features = false
18+
features = ["std", "qimalloc"]
19+
1620
[dev-dependencies]
1721
rustc-hex = "1.0"
1822

1923
[lib]
20-
crate-type = ["cdylib"]
24+
crate-type = ["cdylib"]

ed25519/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@ publish = false
99
edition = "2018"
1010

1111
[dependencies]
12-
ewasm_api = "0.9"
1312
parity-bytes = { git = "https://github.com/paritytech/parity-common", version = "0.1.0" }
1413
hex = "0.3.1"
1514
sha2 = "0.7.1"
1615

16+
[dependencies.ewasm_api]
17+
version = "0.9"
18+
default-features = false
19+
features = ["std", "qimalloc"]
20+
1721
[dependencies.rand]
1822
version = "^0.5.5"
1923

identity/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ description = "Ethereum identity precompile in Rust"
88
publish = false
99
edition = "2018"
1010

11-
[dependencies]
12-
ewasm_api = "0.9"
11+
[dependencies.ewasm_api]
12+
version = "0.9"
13+
default-features = false
14+
features = ["std", "qimalloc"]
1315

1416
[lib]
1517
crate-type = ["cdylib"]

keccak256/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ publish = false
99
edition = "2018"
1010

1111
[dependencies]
12-
ewasm_api = "0.9"
1312
sha3 = "^0.6"
1413

14+
[dependencies.ewasm_api]
15+
version = "0.9"
16+
default-features = false
17+
features = ["std", "qimalloc"]
18+
1519
[lib]
1620
crate-type = ["cdylib"]

modexp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ publish = false
99
edition = "2018"
1010

1111
[dependencies]
12-
ewasm_api = "0.9"
12+
ewasm_api = { version = "0.9", default-features = false, features = ["std", "qimalloc"] }
1313
num = { version = "0.1.36", default-features = false }
1414
num-bigint = { version = "0.1.36", default-features = false }
1515

0 commit comments

Comments
 (0)