-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (40 loc) · 1.48 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "geodesy-wasm"
version = "0.7.0"
rust-version = "1.70"
keywords = ["geospatial", "geodesy", "cartography", "geography"]
categories = ["science"]
authors = ["Sean Rennie <[email protected]>"]
description = "A WASM wrapper around the Rust Geodesy crate"
repository = "https://github.com/Rennzie/geodesy-wasm"
license = "MIT OR Apache-2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook", "console_log"]
[dependencies]
wasm-bindgen = "0.2.92"
geodesy_rs = { package = "geodesy", git = "https://github.com/Rennzie/geodesy.git", rev = "02b3c87bbbdd4cd292ec38de6ac5dbb687068792", version = "0.13.0", default-features = false, features = [
"js",
] }
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.7", optional = true }
js-sys = "0.3.69"
thiserror = "1.0.61"
console_log = { version = "1.0.0", features = ["color"], optional = true }
log = "0.4.21"
float_eq = "1.0.1"
wasm-bindgen-futures = "0.4.42"
reqwest = "0.12.5"
[dev-dependencies]
wasm-bindgen-test = "0.3.42"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
# For tiny binaries
lto = true