From 7bd062230b43f8bd9cf2ec0f0db92704c5765f26 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 26 Apr 2021 15:42:39 +0000 Subject: major: :star: --- src/constants.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/constants.rs (limited to 'src/constants.rs') 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"); -- cgit v1.2.3