generated from PlexSheep/baserepo
restructuring complete
Cargo Check, Format, Fix and Test / cargo CI (push) Failing after 41s
Details
Cargo Check, Format, Fix and Test / cargo CI (push) Failing after 41s
Details
This commit is contained in:
parent
b179693399
commit
7f4b3ce63a
|
@ -55,7 +55,7 @@ math = []
|
|||
log = []
|
||||
bintols = []
|
||||
net = []
|
||||
bin = ["bintols", "math", "dep:clap", "dep:clap-num", "dep:clap-verbosity-flag"]
|
||||
bin = ["dep:clap", "dep:clap-num", "dep:clap-verbosity-flag"]
|
||||
|
||||
[lib]
|
||||
name = "libpt"
|
||||
|
@ -68,10 +68,12 @@ crate-type = [
|
|||
[[bin]]
|
||||
name = "ccc"
|
||||
path = "src/ccc/mod.rs"
|
||||
required-features = ["bin", "math"]
|
||||
|
||||
[[bin]]
|
||||
name = "hedu"
|
||||
path = "src/hedu/mod.rs"
|
||||
required-features = ["bin", "bintols"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
//! This crate is currently empty.
|
||||
|
||||
use anyhow::{bail, Result};
|
||||
use libpt_bintols::display::{bytes_to_bin, humanbytes};
|
||||
use crate::display::{bytes_to_bin, humanbytes};
|
||||
use libpt_log::{debug, error, info, trace, warn};
|
||||
use std::io::{prelude::*, BufReader, Read, SeekFrom};
|
||||
|
||||
|
|
|
@ -25,3 +25,4 @@ pub const YOBI: u128 = 2u128.pow(80);
|
|||
// use libpt_core;
|
||||
pub mod datalayout;
|
||||
pub mod display;
|
||||
pub mod hedu;
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
#![warn(clippy::pedantic)]
|
||||
|
||||
//// IMPORTS ///////////////////////////////////////////////////////////////////////////////////////
|
||||
use libpt_log;
|
||||
use libpt_math;
|
||||
|
||||
//// TYPES /////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#![warn(clippy::pedantic)]
|
||||
|
||||
//// IMPORTS ///////////////////////////////////////////////////////////////////////////////////////
|
||||
pub mod ccc;
|
||||
|
||||
//// TYPES /////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
//// IMPORTS ///////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
use libpt::{hedu::*, log::*};
|
||||
use libpt::{log::*, bintols::hedu::*};
|
||||
|
||||
use clap::Parser;
|
||||
use clap_verbosity_flag::{InfoLevel, Verbosity};
|
||||
|
@ -88,6 +88,11 @@ pub struct Cli {
|
|||
/// If left empty or set as "-", the program will read from stdin.
|
||||
pub data_source: Option<String>,
|
||||
}
|
||||
impl Cli {
|
||||
fn parse() -> Cli {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
//// IMPLEMENTATION ////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
@ -12,8 +12,6 @@ pub use libpt_bintols as bintols;
|
|||
pub use libpt_ccc as ccc;
|
||||
#[cfg(feature = "core")]
|
||||
pub use libpt_core as core;
|
||||
#[cfg(feature = "hedu")]
|
||||
pub use libpt_hedu as hedu;
|
||||
#[cfg(feature = "log")]
|
||||
pub use libpt_log as log;
|
||||
#[cfg(feature = "math")]
|
||||
|
|
Reference in New Issue