license
This commit is contained in:
parent
4fd9a9832a
commit
b22616e209
24
LICENSE
Normal file
24
LICENSE
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
BSD 2-Clause License
|
||||||
|
|
||||||
|
Copyright (c) 2024, Love Billenius
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||||
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX: BSD-2-Clause
|
||||||
|
|
||||||
use anyhow::{Context, Result};
|
use anyhow::{Context, Result};
|
||||||
use log::{error, info};
|
use log::{error, info};
|
||||||
use reqwest::Client;
|
use reqwest::Client;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX: BSD-2-Clause
|
||||||
|
|
||||||
use anyhow;
|
use anyhow;
|
||||||
use dirs;
|
use dirs;
|
||||||
use log::warn;
|
use log::warn;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX: BSD-2-Clause
|
||||||
|
|
||||||
mod cloudflare;
|
mod cloudflare;
|
||||||
mod config;
|
mod config;
|
||||||
mod logging;
|
mod logging;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX: BSD-2-Clause
|
||||||
|
|
||||||
use chrono::Local;
|
use chrono::Local;
|
||||||
use colored::*;
|
use colored::*;
|
||||||
use log::LevelFilter;
|
use log::LevelFilter;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX: BSD-2-Clause
|
||||||
|
|
||||||
use std::sync::{
|
use std::sync::{
|
||||||
atomic::{AtomicBool, Ordering},
|
atomic::{AtomicBool, Ordering},
|
||||||
Arc,
|
Arc,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX: BSD-2-Clause
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use log::{debug, error, info};
|
use log::{debug, error, info};
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX: BSD-2-Clause
|
||||||
|
|
||||||
use anyhow::{anyhow, Context, Result};
|
use anyhow::{anyhow, Context, Result};
|
||||||
use log::error;
|
use log::error;
|
||||||
use reqwest::Client;
|
use reqwest::Client;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX: BSD-2-Clause
|
||||||
|
|
||||||
use crate::{get_config_path, read_config, Config};
|
use crate::{get_config_path, read_config, Config};
|
||||||
use log::error;
|
use log::error;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user