2021-10-24 00:44:08 +00:00
|
|
|
[package]
|
2021-10-25 10:24:57 +00:00
|
|
|
name = "pronouns-today-web"
|
2021-10-24 00:44:08 +00:00
|
|
|
version = "0.1.0"
|
2021-10-26 01:51:14 +00:00
|
|
|
edition = "2021"
|
2021-10-24 00:44:08 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
pronouns_today = {path = ".."}
|
2021-11-01 03:04:25 +00:00
|
|
|
async-scgi = "0.1.0"
|
|
|
|
smol = "1.2"
|
2021-10-24 05:24:56 +00:00
|
|
|
log = "0.4"
|
|
|
|
env_logger = "0.9"
|
|
|
|
askama = "0.10"
|
2021-10-28 00:00:45 +00:00
|
|
|
argh = "0.1.6"
|
2021-10-29 16:48:20 +00:00
|
|
|
serde = "1.0"
|
|
|
|
serde_yaml = "0.8"
|
2021-10-25 15:43:52 +00:00
|
|
|
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"]
|
|
|
|
|
2021-10-26 17:49:24 +00:00
|
|
|
# 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 = []
|
|
|
|
|
2021-10-28 00:00:45 +00:00
|
|
|
# Adjust some of the default values for commandline and config values to be sane defaults
|
|
|
|
# for use within a Docker container
|
|
|
|
docker = []
|
|
|
|
|
2021-10-26 17:49:24 +00:00
|
|
|
default = ["ogp_images", "embed_static_assets"]
|