You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.4 KiB

[package]
name = "lolicron"
version = "0.1.0"
authors = ["Avril <flanchan@cumallover.me>", "Mx. Package Install <boku@plum.moe>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["threaded",
"watcher_timeout",
"debug_logger"]
# Run with threads (TODO: rename to `threads`. What does this do?? We need `rt-threaded` for fs watcher to work...)
threaded = ["tokio/rt-threaded"]
# Enable `Debug` log level printing option at runtime in release mode.
debug_logger = []
# Hot-reload config files
# When `threaded` is off, this should spawn in a child process with `fork`.
watcher = []
# FS watcher will have infinite backlog, instead of ignoring if it goes over its backlog.
# This can help DoS, but potentially cause OOM.
watcher_unlimited = ["watcher"]
# FS watcher hooks have a defined timeout
# This can help with DoS, and hooks that hog resources
watcher_timeout = ["watcher"]
[dependencies]
tokio = {version = "0.2", features=["time", "macros", "io-driver", "sync", "rt-core", "fs", "blocking"]}
notify = "5.0.0-pre.3"
futures= "0.3"
sexp = "1.1"
once_cell = "1.4"
lazy_static = "1.4"
recolored = "1.9.3"
chrono = "0.4"
libc = "0.2"
cfg-if = "0.1"
generational-arena = "0.2"
mopa = "0.2"
readable-perms = "0.1"
malloc-array = "1.4"
[build-dependencies]
rustc_version = "0.2"
config_struct = {version= "0.5", features=["toml-parsing"]}