mirror of
https://github.com/lise-henry/crowbook
synced 2024-11-18 00:13:55 +01:00
39cebebd5c
EPUB renderer needs to specify a mime type for each file in the manifest. For images, it previously used a simple function which only worked currently on png, jpg and gif extensions. Using this library should be more reliable. It is also a first step in adressing #6.
29 lines
633 B
INI
29 lines
633 B
INI
[package]
|
|
name = "crowbook"
|
|
version = "0.5.0-unreleased"
|
|
authors = ["Elisabeth Henry <liz.henry@ouvaton.org>"]
|
|
description = "Render a Markdown book in HTML, PDF or Epub"
|
|
repository = "https://github.com/lise-henry/crowbook"
|
|
documentation = "http://lise-henry.github.io/rust/crowbook/index.html"
|
|
readme = "README.md"
|
|
keywords = ["markdown", "book"]
|
|
license = "LGPL-2.1+"
|
|
|
|
[lib]
|
|
name = "crowbook"
|
|
path = "src/lib/lib.rs"
|
|
doctest = false
|
|
|
|
[[bin]]
|
|
name = "crowbook"
|
|
path = "src/bin/main.rs"
|
|
doc = false
|
|
|
|
[dependencies]
|
|
mime_guess = "1.4"
|
|
pulldown-cmark = "0.0.7"
|
|
yaml-rust = "0.3"
|
|
mustache = "0.6"
|
|
chrono = "0.2"
|
|
uuid = "0.1"
|
|
clap = "2" |