generated from PlexSheep/baserepo
renaming all my stuff to libpt
This commit is contained in:
parent
94cd2c4d84
commit
5e3b8a9cd8
46 changed files with 36 additions and 36 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
autobins = true
|
||||
name = "pt-bin"
|
||||
name = "libpt-bin"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
@ -20,7 +20,7 @@ name = "ccc"
|
|||
path = "src/ccc/mod.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "pt"
|
||||
name = "libpt"
|
||||
path = "src/main/mod.rs"
|
||||
|
||||
[dependencies]
|
|
@ -1,6 +1,6 @@
|
|||
//! # args module
|
||||
//!
|
||||
//! The args module of pt is used to parse commandline arguments. For this, it makes use of
|
||||
//! The args module of libpt is used to parse commandline arguments. For this, it makes use of
|
||||
//! [`clap`].
|
||||
|
||||
//// ATTRIBUTES ////////////////////////////////////////////////////////////////////////////////////
|
|
@ -1,4 +1,4 @@
|
|||
//! # Main executable of pt
|
||||
//! # Main executable of libpt
|
||||
//!
|
||||
//! This module contains all code specific to the executable version of [`pt`]: [`pt`](crate).
|
||||
//!
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "pt-bintols"
|
||||
name = "libpt-bintols"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
@ -16,5 +16,5 @@ categories.workspace = true
|
|||
|
||||
[dependencies]
|
||||
num-traits = "0.2.16"
|
||||
pt-core = { version = "0.1.0", path = "../pt-core" }
|
||||
pt-log = { version = "0.1.0", path = "../pt-log" }
|
||||
libpt-core = { version = "0.1.0", path = "../libpt-core" }
|
||||
libpt-log = { version = "0.1.0", path = "../libpt-log" }
|
|
@ -22,6 +22,6 @@ pub const ZEBI: u128 = 2u128.pow(70);
|
|||
/// 2^80
|
||||
pub const YOBI: u128 = 2u128.pow(80);
|
||||
|
||||
// use pt_core;
|
||||
// use libpt_core;
|
||||
pub mod datalayout;
|
||||
pub mod display;
|
|
@ -1,4 +1,4 @@
|
|||
use pt_bintols::*;
|
||||
use libpt_bintols::*;
|
||||
|
||||
#[test]
|
||||
fn mkdmp() {
|
|
@ -1,5 +1,5 @@
|
|||
use pt_bintols::*;
|
||||
use pt_bintols::display::*;
|
||||
use libpt_bintols::*;
|
||||
use libpt_bintols::display::*;
|
||||
|
||||
#[test]
|
||||
fn btobin() {
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "pt-ccc"
|
||||
name = "libpt-ccc"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
@ -17,6 +17,6 @@ categories.workspace = true
|
|||
[dependencies]
|
||||
num = "0.4.1"
|
||||
num-traits = "0.2.16"
|
||||
pt-core = { version = "0.1.7", path = "../pt-core" }
|
||||
pt-log = { version = "0.1.7", path = "../pt-log" }
|
||||
pt-math = { version = "0.1.7", path = "../pt-math" }
|
||||
libpt-core = { version = "0.1.7", path = "../libpt-core" }
|
||||
libpt-log = { version = "0.1.7", path = "../libpt-log" }
|
||||
libpt-math = { version = "0.1.7", path = "../libpt-math" }
|
|
@ -16,9 +16,9 @@ use std::fmt::Display;
|
|||
pub use num_traits::PrimInt;
|
||||
|
||||
#[allow(unused_imports)] // we possibly want to use all log levels
|
||||
use pt_log::*;
|
||||
use libpt_log::*;
|
||||
#[allow(unused_imports)] // import more complex math stuff from there
|
||||
use pt_math;
|
||||
use libpt_math;
|
||||
|
||||
//// TYPES /////////////////////////////////////////////////////////////////////////////////////////
|
||||
/// Quick Result with a ccc error
|
|
@ -25,9 +25,9 @@ pub mod term;
|
|||
pub use term::*;
|
||||
|
||||
#[allow(unused_imports)] // we possibly want to use all log levels
|
||||
use pt_log::*;
|
||||
use libpt_log::*;
|
||||
#[allow(unused_imports)] // import more complex math stuff from there
|
||||
use pt_math;
|
||||
use libpt_math;
|
||||
|
||||
//// TYPES /////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -22,9 +22,9 @@ use std::collections::VecDeque;
|
|||
//// IMPORTS ///////////////////////////////////////////////////////////////////////////////////////
|
||||
pub use super::{Error, Result, Value, base::{self, *}};
|
||||
#[allow(unused_imports)] // we possibly want to use all log levels
|
||||
use pt_log::*;
|
||||
use libpt_log::*;
|
||||
#[allow(unused_imports)] // import more complex math stuff from there
|
||||
use pt_math;
|
||||
use libpt_math;
|
||||
|
||||
//// TYPES /////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "pt-core"
|
||||
name = "libpt-core"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "pt-hedu"
|
||||
name = "libpt-hedu"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "pt-log"
|
||||
name = "libpt-log"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
|
@ -105,7 +105,7 @@ impl Logger {
|
|||
//
|
||||
// // if it's this lib, continue
|
||||
// filter |= metadata.target().contains(env!("CARGO_PKG_NAME"));
|
||||
// filter |= metadata.target().contains("pt");
|
||||
// filter |= metadata.target().contains("libpt");
|
||||
//
|
||||
// // if it's another crate, only show above debug
|
||||
// filter |= metadata.level() > &Level::DEBUG;
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "pt-math"
|
||||
name = "libpt-math"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "pt-net"
|
||||
name = "libpt-net"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
@ -16,9 +16,9 @@ categories.workspace = true
|
|||
|
||||
[dependencies]
|
||||
humantime = "2.1.0"
|
||||
pt-core = { version = "0.1.0", path = "../pt-core" }
|
||||
pt-log = { version = "0.1.0", path = "../pt-log" }
|
||||
pt-math = { version = "0.1.0", path = "../pt-math" }
|
||||
libpt-core = { version = "0.1.0", path = "../libpt-core" }
|
||||
libpt-log = { version = "0.1.0", path = "../libpt-log" }
|
||||
libpt-math = { version = "0.1.0", path = "../libpt-math" }
|
||||
reqwest = { version = "0.11.20", features = ["blocking"] }
|
||||
serde = { version = "1.0.188", features = ["serde_derive"] }
|
||||
serde_json = "1.0.107"
|
|
@ -19,7 +19,7 @@
|
|||
use std::{fmt, time::Duration};
|
||||
|
||||
//// IMPORTS ///////////////////////////////////////////////////////////////////////////////////////
|
||||
use pt_log::*;
|
||||
use libpt_log::*;
|
||||
|
||||
use reqwest;
|
||||
|
||||
|
@ -29,7 +29,7 @@ use std::time::SystemTime;
|
|||
use serde::{Deserialize, Serialize};
|
||||
use serde_json;
|
||||
|
||||
use pt_core::divider;
|
||||
use libpt_core::divider;
|
||||
|
||||
//// TYPES /////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "pt-py"
|
||||
name = "libpt-py"
|
||||
publish.workspace = true
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
@ -14,9 +14,9 @@ categories.workspace = true
|
|||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[lib]
|
||||
name = "pt_py"
|
||||
name = "libpt_py"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
libpt = { version = "0.1.7", path = "../..", features = ["all"] }
|
||||
pyo3 = { workspace = true }
|
||||
libpt = { version = "0.1.7", path = "../../" }
|
|
@ -16,7 +16,7 @@ classifiers = [
|
|||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://git.cscherr.de/PlexSheep/pt"
|
||||
Homepage = "https://git.cscherr.de/PlexSheep/libpt"
|
||||
|
||||
|
||||
[tool.maturin]
|
Reference in a new issue