silicon/Cargo.toml

54 lines
1.0 KiB
TOML

[package]
name = "silicon"
version = "0.2.6"
description = "Create beautiful image of your code"
authors = ["Aloxaf <aloxafx@gmail.com>"]
categories = ["command-line-utilities"]
readme = "README.md"
repository = "https://github.com/Aloxaf/silicon"
license = "MIT"
edition = "2018"
[dependencies]
syntect = "3.2"
image = "0.21"
imageproc = "0.18"
font-kit = "0.4"
clipboard = "0.5.0"
tempfile = "3.1.0"
conv = "0.3.3"
euclid = "0.20"
log = "0.4.8"
[lib]
name = "silicon"
path = "src/lib.rs"
[[bin]]
name = "silicon"
path = "src/bin.rs"
[target.'cfg(target_os = "windows")'.dependencies.clipboard-win]
version = "2.2.0"
optional = true
[dependencies.failure]
version = "0.1.5"
optional = true
[dependencies.structopt]
version = "0.2"
default-features = false
features = [ "color", "wrap_help" ]
optional = true
[dependencies.env_logger]
version = "0.6.2"
default-features = false
features = [ "termcolor", "atty", "humantime" ]
optional = true
[features]
default = [ "bin" ]
bin = [ "structopt", "env_logger", "failure", "clipboard-win" ]