PronounsToday/web/Cargo.toml

40 lines
1.5 KiB
TOML

[package]
name = "pronouns-today-web"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
pronouns_today = {path = ".."}
actix-web = "3"
log = "0.4"
env_logger = "0.9"
askama = "0.10"
argh = "0.1.6"
serde = "1.0"
serde_yaml = "0.8"
rusttype = { version = "0.9.2", optional = true }
image = { version = "0.23.14", optional = true }
lazy_static = { version = "1.4.0", optional = true }
[features]
# Enables support for generating images for Open Graph Protocol cards. This means that
# when someone shares a link to their pronoun page on Twitter, Discord, or another app
# that supports OGP, the card will include a visual of their pronouns.
ogp_images = ["rusttype", "image", "lazy_static"]
# Several assets are unchanging static assets, which by default can be served directly
# from the binary. If so, these assets will be embeded into the binary and copied into
# memory when the binary runs. To improve performance, you may elect to serve these
# binaries using a webserver and reverse proxy. If you choose to do so, you may
# optionally disable this feature. Doing so will remove the --dump-static-assets feature
# flag, and will remove the ability to serve any static assets.
embed_static_assets = []
# Adjust some of the default values for commandline and config values to be sane defaults
# for use within a Docker container
docker = []
default = ["ogp_images", "embed_static_assets"]