mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-04 21:51:20 +01:00
Fix build error for wasm version
This commit is contained in:
parent
6f757f88ae
commit
2fb38cfa55
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -180,7 +180,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "kalk"
|
||||
version = "3.0.0"
|
||||
version = "3.0.1"
|
||||
dependencies = [
|
||||
"gmp-mpfr-sys",
|
||||
"lazy_static",
|
||||
@ -193,7 +193,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "kalker"
|
||||
version = "2.0.0"
|
||||
version = "2.0.1"
|
||||
dependencies = [
|
||||
"ansi_term",
|
||||
"atty",
|
||||
|
@ -17,7 +17,7 @@ crate-type = ["cdylib", "rlib"]
|
||||
rug = { version = "1.17.0", features = ["float"], optional = true }
|
||||
lazy_static = "1.4.0"
|
||||
wasm-bindgen = "0.2.69"
|
||||
gmp-mpfr-sys = "1.4.9"
|
||||
gmp-mpfr-sys = { version = "1.4.9", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
wasm-bindgen-test = "0.3.19"
|
||||
@ -25,7 +25,7 @@ test-case = "1.0.0"
|
||||
regex = "1"
|
||||
|
||||
[features]
|
||||
default = ["rug"]
|
||||
default = ["rug", "gmp-mpfr-sys"]
|
||||
|
||||
# Breaks when optimizing for some reason.
|
||||
[package.metadata.wasm-pack.profile.release]
|
||||
|
Loading…
Reference in New Issue
Block a user