We'll use a JWT in the `Authorization` request header to identify the user saving a page. The token will need to be set in the _authorization token_ field in the SingleFile configuration so it will be included when uploading.
18 lines
547 B
TOML
18 lines
547 B
TOML
[package]
|
|
name = "seensite"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4.40", default-features = false, features = ["std", "clock", "serde"] }
|
|
html5ever = "0.27.0"
|
|
jsonwebtoken = { version = "9.3.1", default-features = false }
|
|
markup5ever_rcdom = "0.3.0"
|
|
meilisearch-sdk = "0.28.0"
|
|
rand = "0.9.0"
|
|
rocket = { version = "0.5.1", features = ["json"] }
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
thiserror = "2.0.12"
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|