-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
51 lines (44 loc) · 1.37 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
49
50
51
[package]
authors = ["Dustin Knopoff <[email protected]>"]
edition = "2021"
homepage = "https://github.com/dustinknopoff/recipe-grabber"
include = ["src/**", "README.md", "LICENSE_MIT", "LICENSE_APACHE"]
license = "MIT or Apache 2.0"
name = "recipe-grabber"
readme = "README.md"
repository = "https://github.com/dustinknopoff/recipe-grabber"
version = "0.5.0"
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "recipe-grabber"
path = "src/bin.rs"
[features]
default = ["console_error_panic_hook"]
[dependencies]
cfg-if = "1"
wasm-bindgen = {version = "0.2", features = ["serde-serialize"]}
# 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", optional = true}
anyhow = "1"
lexical-core = "0.8"
nom = "7"
parking_lot_core = "0.9"
scraper = "0.15"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
thiserror = "1"
worker = "0.0.14"
http = "0.2"
[dev-dependencies]
dissimilar = "1"
wasm-bindgen-test = "0.3"
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-O2", "--enable-mutable-globals"]
[profile.dev]
# Disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much.
debug = 0