-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCargo.toml
48 lines (41 loc) · 940 Bytes
/
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 = "obsidian-rust-plugin"
version = "0.1.0"
authors = ["Stephen Solka <[email protected]>"]
edition = "2018"
[build]
rustflags = ["--cfg=web_sys_unstable_apis"]
[target.wasm32-unknown-unknown]
rustflags = ["--cfg=web_sys_unstable_apis"]
[lib]
crate-type = ["cdylib"]
[profile.release]
lto = true
opt-level = 'z'
[dependencies]
wasm-bindgen = { version = "^0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.22"
js-sys = "0.3.49"
url = "1"
html2md = "0.2.10"
thiserror = "1.0.24"
frontmatter = "^0.4"
yaml-rust = "^0.4"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
futures = "^0.3.14"
fancy-regex = "0.10.0"
lazy_static = "1.4.0"
scraper = "0.13.0"
[dependencies.readability]
git = "https://github.com/trashhalo/readability.git"
version = "^0"
default-features = false
[dependencies.web-sys]
version = "0.3.57"
features = [
'Window',
'console',
'Navigator',
'Clipboard'
]