mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
72 lines
1.7 KiB
TOML
72 lines
1.7 KiB
TOML
[package]
|
|
name = "zola"
|
|
version = "0.16.0"
|
|
authors = ["Vincent Prouillet <hello@vincentprouillet.com>"]
|
|
edition = "2018"
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
description = "A fast static site generator with everything built-in"
|
|
homepage = "https://www.getzola.org"
|
|
repository = "https://github.com/getzola/zola"
|
|
keywords = ["static", "site", "generator", "blog"]
|
|
|
|
include = ["src/**/*", "LICENSE", "README.md"]
|
|
|
|
[build-dependencies]
|
|
clap = "3"
|
|
clap_complete = "3"
|
|
winres = "0.1"
|
|
time = "0.3"
|
|
|
|
[[bin]]
|
|
name = "zola"
|
|
|
|
[dependencies]
|
|
atty = "0.2.11"
|
|
clap = { version = "3", features = ["derive"] }
|
|
lazy_static = "1.1"
|
|
termcolor = "1.0.4"
|
|
# Below is for the serve cmd
|
|
hyper = { version = "0.14.1", default-features = false, features = ["runtime", "server", "http2", "http1"] }
|
|
tokio = { version = "1.0.1", default-features = false, features = ["rt", "fs", "time"] }
|
|
notify = "4"
|
|
ws = "0.9"
|
|
ctrlc = "3"
|
|
open = "2"
|
|
pathdiff = "0.2"
|
|
# For mimetype detection in serve mode
|
|
mime_guess = "2.0"
|
|
|
|
site = { path = "components/site" }
|
|
errors = { path = "components/errors" }
|
|
front_matter = { path = "components/front_matter" }
|
|
utils = { path = "components/utils" }
|
|
search = { path = "components/search" }
|
|
libs = { path = "components/libs" }
|
|
|
|
|
|
[dev-dependencies]
|
|
same-file = "1"
|
|
|
|
[features]
|
|
default = ["rust-tls"]
|
|
rust-tls = ["libs/rust-tls"]
|
|
native-tls = ["libs/native-tls"]
|
|
indexing-zh = ["libs/indexing-zh"]
|
|
indexing-ja = ["libs/indexing-ja"]
|
|
|
|
[workspace]
|
|
members = ["components/*"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
[profile.dev]
|
|
# Disabling debug info speeds up builds a bunch,
|
|
# and we don't rely on it for debugging that much.
|
|
debug = 0
|
|
|
|
[package.metadata.winres]
|
|
OriginalFilename = "zola.exe"
|
|
InternalName = "zola"
|