forked from NSoiffer/MathCAT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
70 lines (60 loc) · 1.8 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "mathcat"
version = "0.1.24"
authors = ["Neil Soiffer <[email protected]>"]
license = "MIT"
description = "MathCAT: Math Capable Assistive Technology ('Speech and braille from MathML')"
repository = "https://github.com/NSoiffer/MathCAT"
homepage = "https://nsoiffer.github.io/MathCAT/"
documentation = "https://nsoiffer.github.io/MathCAT/"
edition = "2018"
exclude = ["src/main.rs"] # should have "Rules/", but then one can't run build.rs to build the zip file
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
sxd-document = "0.3.2"
sxd-xpath = "0.4.2"
yaml-rust = "0.4.5"
lazy_static = "1.4.0"
strum = "0.23.0"
strum_macros = "0.23.0"
error-chain = "0.12.4"
regex = "1.5.4"
dirs = "4.0"
bitflags = "1.2.1"
phf = { version = "0.10.0", features = ["macros"] }
rand = "0.8.0"
radix_fmt = "1.0.0"
internment = "0.5.4"
log = "0.4.0"
env_logger = "0.8.4"
cfg-if = "1.0"
zip = { version = "0.6.2", default-features = false, features = ["deflate"] }
getrandom = { version = "0.2.3", features = ["js"] }
# # dependencies because of need to build wasm version for file i/o
# yew = "0.18.0"
# wasm-bindgen = "0.2.78"
# wasm-bindgen-futures = "0.4.28"
# js-sys = "0.3.35"
# futures = "0.3.15"
# [dependencies.web-sys]
# version = "0.3.35"
# features = [
# "HtmlInputElement",
# # probably not all of these are needed -- copied from an example
# "Headers",
# "Request",
# "RequestInit",
# "RequestMode",
# "Response",
# "Window",
# ]
[build-dependencies]
bitflags = "1.2.1"
phf = { version = "0.8.0", features = ["macros"] }
zip = { version = "0.6.2", default-features = false, features = ["deflate"] }
[lib]
name = "libmathcat"
crate-type = ["rlib", "cdylib"]
[profile.release]
lto = true
# opt-level = "z" # Optimize for size.