aboutsummaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-04-26 15:42:39 -0700
committerFuwn <[email protected]>2021-04-26 15:42:39 -0700
commitf4c92fbf8362f789ce3c00de6cf6a64ebc2502d8 (patch)
tree78545fde636ec248aa039aa2ec1581b9b9055338 /src/constants.rs
parentfmt: Change case (diff)
downloadapi-worker-f4c92fbf8362f789ce3c00de6cf6a64ebc2502d8.tar.xz
api-worker-f4c92fbf8362f789ce3c00de6cf6a64ebc2502d8.zip
major: :star:
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs
new file mode 100644
index 0000000..adbde90
--- /dev/null
+++ b/src/constants.rs
@@ -0,0 +1,8 @@
+// Copyleft 2021-2021 The Senpy Club
+// SPDX-License-Identifier: GPL-3.0-only
+
+pub const GITHUB_USER_CONTENT: &str =
+ "https://raw.githubusercontent.com/laynH/Anime-Girls-Holding-Programming-Books/master/";
+pub const GITHUB_API_ENDPOINT: &str = "https://api.github.com/repos/laynH/Anime-Girls-Holding-Progr\
+amming-Books/git/trees/master?recursive=1";
+pub const USER_AGENT: &str = env!("CARGO_PKG_NAME");