This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #![allow(unused_imports)] | |
| #![allow(non_snake_case)] | |
| #[macro_use] extern crate log; | |
| extern crate simple_logger; | |
| extern crate xml; | |
| extern crate yaserde; | |
| #[macro_use] extern crate yaserde_derive; | |
| use std::{io::BufReader, fs::File, fs::read_to_string, io::Read, io::Write}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "crypto/ed25519" | |
| "crypto/x509" | |
| "encoding/base64" | |
| "encoding/pem" | |
| "flag" | |
| "fmt" | |
| "io" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Safely run 'cargo clean' on all Rust project roots | |
| # | |
| # SAFETY: This script ONLY executes 'cargo clean' command. | |
| # It does NOT use rm, rmdir, or any direct deletion commands. | |
| # Don't use set -e as we handle errors manually and want to continue on failures | |
| ROOT_DIR="${1:-.}" | |
| # Function to check if a directory is inside another Cargo project |