chore: vers 0.1.3 rust 2021 and dependencies update

This commit is contained in:
Jesús Pérez Lorenzo 2022-01-25 19:37:41 +00:00
parent 3fb4125ddb
commit 055fef7b16
3 changed files with 11 additions and 9 deletions

View File

@ -23,7 +23,7 @@ use crate::helpers::{BoilerplateOpts, HELP_TEMPLATE};
// use crate::validators::path_readable_file; // use crate::validators::path_readable_file;
use crate::clouds::{on_cloud}; use crate::clouds::{on_cloud};
use crate::defs::{BxDynResult}; use crate::defs::{BxDynResult};
use clds::clouds::on_clouds::clear_specs; use clds::clouds::utils::clear_specs;
use tkdr::crypt_lib::{encrypt, decrypt}; use tkdr::crypt_lib::{encrypt, decrypt};
use tkdr::tera_lib::{hash_from_data, data_templated, hash_content}; use tkdr::tera_lib::{hash_from_data, data_templated, hash_content};
@ -64,7 +64,7 @@ pub const KEY_PATH: &str = ".k";
/// the top-level help output's list of subcommands. /// the top-level help output's list of subcommands.
#[derive(StructOpt, Debug)] #[derive(StructOpt, Debug)]
#[structopt(template = HELP_TEMPLATE, #[structopt(template = HELP_TEMPLATE,
about = "Coder is a command utility to manage keys (generation,encrypt,hash) and make content with Tera templates", about = "CloudMandala Declarative command line interface, to create and maintain open, free and sustainable Clouds",
global_setting = structopt::clap::AppSettings::ColoredHelp)] global_setting = structopt::clap::AppSettings::ColoredHelp)]
pub struct CliOpts { pub struct CliOpts {
#[allow(clippy::missing_docs_in_private_items)] // StructOpt compile-time errors if we doc this #[allow(clippy::missing_docs_in_private_items)] // StructOpt compile-time errors if we doc this

View File

@ -23,7 +23,7 @@ use clds::clouds::defs::{
TskSrvc, TskSrvc,
MainResourcesConfig, MainResourcesConfig,
}; };
use clds::clouds::on_clouds::env_cloud; use clds::clouds::utils::env_cloud;
use clds::tsksrvcs::run_tsksrvcs_on_providers; use clds::tsksrvcs::run_tsksrvcs_on_providers;
use crate::defs::{load_key}; use crate::defs::{load_key};

View File

@ -14,16 +14,18 @@ pub const HELP_TEMPLATE: &str = "{bin} {version}
{about} {about}
TskSrvcs: A Mandala is a geometric configuration of symbols.
- Create a Random Key In various spiritual traditions, mandalas may be employed
- Hash content Blake3 for focusing attention of practitioners and adepts, as a spiritual guidance tool,
- Encrypt/Decrypt XChaCha20Poly1305 and random nonce for establishing a sacred space and as an aid to meditation and trance induction.
- Tera template with json-data
Clouds sometime look like some kind of sacred or mystical spaces.
More info: cloudmandala.librecloud.online
USAGE: USAGE:
{usage} {usage}
{all-args} {all-args}
"; ";