projvar 0.19.9

A tiny CLI tool that tries to gather project specific meta-data in different ways, to store them into key=value pairs in a file for later use by other tools. See --list for the keys set by this tool.
Documentation
// SPDX-FileCopyrightText: 2021 Robin Vobruba <hoijui.quaero@gmail.com>
//
// SPDX-License-Identifier: AGPL-3.0-or-later

pub const DEFAULT_KEY_PREFIX: &str = "PROJECT_";

pub const D_GIT_HUB_COM: &str = "github.com";
pub const D_GIT_HUB_COM_RAW: &str = "raw.githubusercontent.com";
pub const DS_GIT_HUB_IO_SUFFIX: &str = "github.io";

pub const D_GIT_LAB_COM: &str = "gitlab.com";
pub const DS_GIT_LAB_IO_SUFFIX: &str = "gitlab.io";

pub const D_BIT_BUCKET_ORG: &str = "bitbucket.org";

pub const D_GIT_SOURCE_HUT: &str = "git.sr.ht";

pub const D_REPO_OR_CZ: &str = "repo.or.cz";

pub const D_ROCKET_GIT_COM: &str = "rocketgit.com";
pub const D_SSH_ROCKET_GIT_COM: &str = "ssh.rocketgit.com";
pub const D_GIT_ROCKET_GIT_COM: &str = "git.rocketgit.com";

pub const D_CODE_BERG_ORG: &str = "codeberg.org";
pub const DS_CODE_BERG_PAGE: &str = "codeberg.page";

pub const D_SOURCE_FORGE_NET: &str = "sourceforge.net";
pub const DS_SOURCE_FORGE_IO: &str = "sourceforge.io";

pub const VALID_OS_FAMILIES: &[&str] = &["linux", "unix", "bsd", "osx", "windows"]; // TODO
pub const VALID_ARCHS: &[&str] = &["x86", "x86_64", "arm", "arm64"]; // TODO