1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-05 16:06:20 +02:00
crowbook/Cargo.toml
Geobert Quach cd1739382b chore: update dependencies
Mainly `indicatif` and `clap` needed work
2023-01-01 16:05:44 +00:00

85 lines
2.1 KiB
INI

[package]
name = "crowbook"
version = "0.16.0"
edition = "2021"
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 = "https://docs.rs/crowbook/"
readme = "README.md"
keywords = ["markdown", "book"]
categories = ["command-line-utilities", "text-processing"]
license = "LGPL-2.1+"
publish = true
build = "build.rs"
autobins = false
exclude = [
"docs/*",
"/img/*",
"ci/*",
".travis.yml",
"appveyor.yml",
]
[badges]
travis-ci = { repository = "lise-henry/crowbook" }
appveyor = { repository = "lise-henry/crowbook" }
[lib]
name = "crowbook"
path = "src/lib/lib.rs"
doctest = false
[[bin]]
name = "crowbook"
path = "src/bin/main.rs"
doc = false
[features]
default = ["binary", "proofread", "syntect"]
proofread = ["caribon", "reqwest", "url", "serde", "serde", "serde_json", "serde_derive"]
binary = ["clap", "simplelog", "tempdir", "console", "indicatif", "textwrap"]
nightly = ["punkt", "hyphenation"]
odt = []
[build-dependencies]
crowbook-intl = "0.2"
[dependencies]
mime_guess = "2"
comrak = "0.15"
yaml-rust = "0.4"
mustache = "0.9"
uuid = { version = "1", features = ["v4"] }
walkdir = "2"
rustc-serialize = "0.3"
rayon = "1.6"
crowbook-text-processing = "1"
lazy_static = "1"
crowbook-intl-runtime = "0.1"
numerals = "0.1"
epub-builder = "0.5"
log = "0.4"
punkt = { version = "1.0", optional = true }
hyphenation = { version = "0.8", optional = true, features = ["embed_all"] }
textwrap = { version = "0.16", optional = true }
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
serde_derive = { version = "1", optional = true }
indicatif = { version = "0.17", optional = true }
console = { version = "0.15", optional = true }
caribon = { version = "0.8", optional = true }
clap = { version = "4", optional = true }
simplelog = { version = "0.12", optional = true }
url = { version = "2", optional = true }
syntect = { version = "5", optional = true }
tempdir = { version = "0.3", optional = true }
[dependencies.reqwest]
version = "0.11"
optional = true
features = ["blocking"]