1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-09-30 00:43:44 +02:00
crowbook/Cargo.toml
Elisabeth Henry 39cebebd5c Use mime_guess library to guess mime types from extension
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.
2016-03-04 17:41:24 +01:00

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"