-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
498 additions
and
314 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[package] | ||
name = "fastside-actualizer" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
fastside-shared = { path = "../fastside-shared" } | ||
|
||
reqwest = { version = "0.12.4", default-features = false, features = [ | ||
"rustls-tls", | ||
"http2", | ||
] } # http client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// Fastside services.json actualizer. | ||
|
||
fn main() { | ||
println!("Hello, world!"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[package] | ||
name = "fastside-shared" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
serde = { version = "1.0.201", features = ["derive"] } # serialization | ||
serde_json = "1.0.117" # serialization | ||
url = { version = "2.5.0", features = ["serde"] } # url | ||
base64 = "0.22.1" # base64 | ||
thiserror = "1.0.60" # error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pub mod serde_types; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[package] | ||
name = "fastside" | ||
description = "A smart redirecting gateway for various frontend services." | ||
version = "0.2.0" | ||
edition = "2021" | ||
default-run = "fastside" | ||
|
||
[dependencies] | ||
fastside-shared = { path = "../fastside-shared" } | ||
|
||
actix-web = { version = "4.5.1", features = [ | ||
"macros", | ||
"cookies", | ||
], default-features = false } # web framework | ||
askama = "0.12.1" # templating engine | ||
reqwest = { version = "0.12.4", default-features = false, features = [ | ||
"rustls-tls", | ||
"http2", | ||
"socks", | ||
] } # http client | ||
|
||
clap = { version = "4.5.4", features = ["derive"] } # cli | ||
config = "0.14.0" # config | ||
serde = { version = "1.0.201", features = ["derive"] } # serialization | ||
serde_json = "1.0.117" # serialization | ||
serde_qs = "0.13.0" # serialization | ||
url = { version = "2.5.0", features = ["serde"] } # url | ||
log = "0.4.21" # logging | ||
pretty_env_logger = "0.5.0" # logging | ||
anyhow = "1.0.83" # error | ||
thiserror = "1.0.60" # error | ||
tokio = { version = "1.37.0", features = ["full"] } # async | ||
futures = "0.3.30" # async | ||
num_cpus = "1.16.0" # get number of cpus | ||
rand = "0.8.5" # random | ||
chrono = "0.4.38" # datetime | ||
time = "0.3.36" # time offsets | ||
regex = "1.10.5" # regex | ||
base64 = "0.22.1" # base64 | ||
urlencoding = "2.1.3" # url encoding |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.