45 lines
1.6 KiB
TOML
45 lines
1.6 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 = ".."}
|
|
async-scgi = "0.1.0"
|
|
async-executor = "1.4"
|
|
async-net = "1.6"
|
|
futures-lite = "1.12"
|
|
log = "0.4"
|
|
env_logger = "0.9"
|
|
askama = "0.10"
|
|
argh = "0.1.6"
|
|
serde = "1.0"
|
|
serde_yaml = "0.8"
|
|
form_urlencoded = "1.0.1"
|
|
percent-encoding = "2.1.0"
|
|
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"]
|