Now using handlebars instead of format! for page generation. Added quick and dirty logging with SimpleLogger. `Board` objects now have a `last_active` field. Bit of a version gap, but whatever. This is a significant enough update I think it deserves a change in the major version. 0 Warnings, 0 Errors Handlebars eliminated the XSS vulnerability because it automatically escapes text. Added comments to src/main.rs Moved some static HTML blobs into static/ rather than baking them into the binary. Now licensed under Zlib libBoarders is now compiled separately as a library. It may have VERY little application, but whatever. Made banner 3D, and thus cooler. Replaced "Boarders" with the banner used in the backend.
34 lines
705 B
TOML
34 lines
705 B
TOML
[package]
|
|
name = "board_server"
|
|
version = "2.0.0"
|
|
edition = "2018"
|
|
license = "Zlib"
|
|
repository = "https://git.solow.xyz/cgit.cgi/Boarders/"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
actix-web = "3.3.2"
|
|
actix-files = "0.5.0"
|
|
toml = "0.5"
|
|
serde = "1.0.125"
|
|
serde_json = "1.0"
|
|
bcrypt-bsd = "0.1.3"
|
|
rand = "0.8.3"
|
|
console = "0.14.1"
|
|
colored = "2.0.0"
|
|
tokio = {version = "1.7.1", features=["net", "rt-multi-thread", "sync", "macros"]}
|
|
futures = "0.3.15"
|
|
handlebars = "4.0.1"
|
|
maplit = "1.0.2"
|
|
simple_logger = "1.11.0"
|
|
|
|
[lib]
|
|
name = "boarders"
|
|
path = "src/lib/mod.rs"
|
|
test = false
|
|
bench = false
|
|
doc = false
|
|
harness = false
|
|
edition = "2018"
|