2022-03-27 23:45:31 +05:30
|
|
|
[package]
|
2022-04-02 16:28:56 +05:30
|
|
|
name = "starchart"
|
|
|
|
repository = "https://github.com/forgeflux-org/starchart"
|
|
|
|
version = "0.1.0"
|
2022-03-27 23:45:31 +05:30
|
|
|
authors = ["realaravinth <realaravinth@batsense.net>"]
|
2022-03-30 10:10:14 +05:30
|
|
|
description = "ForgeFlux StarChart - Federated forge spider"
|
2022-03-27 23:45:31 +05:30
|
|
|
documentation = "https://forgeflux.org/"
|
|
|
|
edition = "2021"
|
|
|
|
license = "AGPLv3 or later version"
|
2022-04-02 16:28:56 +05:30
|
|
|
build = "build.rs"
|
|
|
|
|
2022-05-17 19:58:11 +05:30
|
|
|
[workspace]
|
2022-05-18 20:28:07 +05:30
|
|
|
exclude = ["db/migrator", "utils/cache-bust"]
|
2022-05-17 19:58:11 +05:30
|
|
|
members = [
|
|
|
|
".",
|
|
|
|
"db/db-core",
|
|
|
|
"db/db-sqlx-sqlite",
|
|
|
|
"forge/forge-core",
|
|
|
|
"forge/gitea",
|
|
|
|
"federate/federate-core",
|
|
|
|
"federate/publiccodeyml"
|
|
|
|
]
|
|
|
|
|
2022-03-27 23:45:31 +05:30
|
|
|
[dependencies]
|
2022-03-30 10:10:14 +05:30
|
|
|
actix-rt = "2.7"
|
2022-05-18 17:39:53 +05:30
|
|
|
actix-web = "4.0.1"
|
|
|
|
actix-identity = "0.4.0"
|
2022-05-19 18:25:18 +05:30
|
|
|
actix-files = "0.6.0"
|
2022-05-17 01:15:37 +05:30
|
|
|
async-trait = "0.1.51"
|
2022-05-05 00:49:23 +05:30
|
|
|
config = "0.13.0"
|
2022-03-30 10:10:14 +05:30
|
|
|
lazy_static = "1.4.0"
|
2022-05-18 20:28:07 +05:30
|
|
|
mime = "0.3.16"
|
|
|
|
mime_guess = "2.0.3"
|
2022-03-30 10:10:14 +05:30
|
|
|
rand = "0.8.5"
|
|
|
|
tera = "1.15"
|
2022-07-15 20:20:59 +05:30
|
|
|
tokio = { version = "1.17", features = ["fs", "time", "sync"] }
|
2022-04-03 19:58:52 +05:30
|
|
|
url = { version = "2.2.2", features = ["serde"] }
|
2022-05-05 00:49:23 +05:30
|
|
|
validator = { version = "0.15", features = ["derive"]}
|
2022-04-02 16:28:56 +05:30
|
|
|
derive_more = "0.99.17"
|
|
|
|
log = "0.4.16"
|
2022-05-18 17:39:53 +05:30
|
|
|
pretty_env_logger = "0.4"
|
2022-05-18 20:28:07 +05:30
|
|
|
rust-embed = "6.3.0"
|
|
|
|
urlencoding = "2.1.0"
|
2023-02-23 11:41:16 +05:30
|
|
|
clap = { version = "4.0.32", features = ["derive"] }
|
|
|
|
api_routes = { path ="./api_routes/"}
|
2023-03-04 16:41:48 +05:30
|
|
|
actix = "0.13.0"
|
|
|
|
derive_builder = "0.12.0"
|
2022-05-18 20:28:07 +05:30
|
|
|
|
|
|
|
[dependencies.cache-buster]
|
|
|
|
git = "https://github.com/realaravinth/cache-buster"
|
2022-03-30 10:10:14 +05:30
|
|
|
|
2022-05-19 14:33:16 +05:30
|
|
|
[dependencies.actix-web-codegen-const-routes]
|
|
|
|
git = "https://github.com/realaravinth/actix-web-codegen-const-routes"
|
|
|
|
|
2022-03-30 10:10:14 +05:30
|
|
|
[dependencies.reqwest]
|
|
|
|
features = ["rustls-tls-native-roots", "gzip", "deflate", "brotli", "json"]
|
|
|
|
version = "0.11.10"
|
|
|
|
|
|
|
|
[dependencies.serde]
|
|
|
|
features = ["derive"]
|
|
|
|
version = "1"
|
|
|
|
|
|
|
|
[dependencies.serde_json]
|
|
|
|
version = "1"
|
2022-03-27 23:45:31 +05:30
|
|
|
|
|
|
|
[dependencies.trust-dns-resolver]
|
|
|
|
features = ["tokio-runtime", "dns-over-tls", "dns-over-rustls"]
|
|
|
|
version = "0.21.1"
|
2022-04-06 10:04:37 +05:30
|
|
|
|
2022-04-12 17:34:25 +05:30
|
|
|
[dependencies.db-core]
|
|
|
|
path = "./db/db-core"
|
|
|
|
|
|
|
|
[dependencies.db-sqlx-sqlite]
|
|
|
|
path = "./db/db-sqlx-sqlite"
|
|
|
|
|
2022-05-17 01:15:37 +05:30
|
|
|
[dependencies.gitea]
|
|
|
|
path = "./forge/gitea"
|
|
|
|
|
|
|
|
[dependencies.forge-core]
|
|
|
|
path = "./forge/forge-core"
|
|
|
|
|
2022-05-17 20:12:14 +05:30
|
|
|
[dependencies.federate-core]
|
|
|
|
path = "./federate/federate-core"
|
|
|
|
|
|
|
|
[dependencies.publiccodeyml]
|
|
|
|
path = "./federate/publiccodeyml"
|
|
|
|
|
2022-04-12 17:34:25 +05:30
|
|
|
[dependencies.sqlx]
|
|
|
|
features = ["runtime-actix-rustls", "uuid", "postgres", "time", "offline", "sqlite"]
|
2023-02-23 11:41:16 +05:30
|
|
|
version = "0.6.2"
|
2022-05-17 20:12:14 +05:30
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
mktemp = "0.4.1"
|