Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow(unused_imports)]
use std::fs::File;
use std::io::Read;
use std::process;

pub fn requirements() {
	// todo: activate on deployment
	// if std::env::consts::OS != "linux" {
	// 	eprintln!("Only ubuntu are supported for now.");
	// 	process::exit(1);
	// }
	// #[cfg(all(target_os = "linux", any(target_arch = "x86", target_arch = "x86_64")))]
	// if !nix::unistd::Uid::effective().is_root() {
	// 	eprintln!("You must run this executable with root permissions");
	// 	process::exit(1);
	// }
}