-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathCargo.toml
42 lines (36 loc) · 1.1 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
[package]
name = "epub-builder"
version = "0.8.0-alpha"
authors = ["Elisabeth Henry <[email protected]>"]
description = "A Rust library for generating EPUB files"
readme = "README.md"
keywords = ["epub"]
repository = "https://github.com/lise-henry/epub-builder/"
documentation = "https://docs.rs/epub-builder"
license = "MPL-2.0"
edition = "2021"
[lib]
name = "epub_builder"
path = "src/lib.rs"
[features]
default = ["zip-command", "zip-library"]
zip-command = ["tempfile"]
# Enable `libzip` directly to avoid non-reproducible timestamps in the zip file.
zip-library = ["libzip", "libzip/time"]
[dependencies]
thiserror = "1.0"
once_cell = "1"
upon = "0.8"
chrono = { version = "0.4", default-features = false, features = ["clock", "std", "wasmbind"] }
uuid = { version = "1", features = ["v4"] }
tempfile = { version = "3", optional = true }
libzip = { version = "2.1", optional = true, default-features = false, features = ["deflate"], package = "zip"}
html-escape = "0.2"
log = "0.4"
[dev-dependencies]
pretty_assertions = "1"
env_logger = "0.11"
[[example]]
name = "builder"
[[example]]
name = "procedural"