generated from PlexSheep/baserepo
renaming things back to libpt, its kinda responsible
This commit is contained in:
parent
3334920d18
commit
341a64a0f5
12
Cargo.toml
12
Cargo.toml
|
@ -36,7 +36,7 @@ categories = ["command-line-utilities", "development-tools", "development-tools:
|
||||||
pyo3 = "0.19"
|
pyo3 = "0.19"
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "pt"
|
name = "libpt"
|
||||||
publish.workspace = true
|
publish.workspace = true
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
@ -59,6 +59,16 @@ net = []
|
||||||
ccc = ["math"]
|
ccc = ["math"]
|
||||||
hedu = ["bintols"]
|
hedu = ["bintols"]
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "libpt"
|
||||||
|
# I chose a bad name for my package and i will have to live with it.
|
||||||
|
# make issue here to make it possible to name the lib file in cargo
|
||||||
|
# https://github.com/rust-lang/cargo/issues/1970
|
||||||
|
crate-type = [
|
||||||
|
"dylib", # .dll, .so, .dynlib
|
||||||
|
"staticlib" # .lib, .a
|
||||||
|
]
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -15,5 +15,5 @@ categories.workspace = true
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
pt = { path = "../../" }
|
libpt = { path = "../../" }
|
||||||
pyo3 = { workspace = true }
|
pyo3 = { workspace = true }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use pt::{
|
use libpt::{
|
||||||
log::*,
|
log::*,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
//! # A library for common needs
|
||||||
|
//!
|
||||||
|
//! `pt` aims to implement a number of functionalities that might me useful to develop
|
||||||
|
//! programs in Rust. It aims to be a collection of generally, possibly useful things.
|
||||||
|
//!
|
||||||
|
//! `pt` is a project consisting of multiple smaller crates, all bundled together in this
|
||||||
|
//! "main crate". Most crates will only show up if you activate their feature.
|
||||||
|
|
||||||
#[cfg(feature = "core")]
|
#[cfg(feature = "core")]
|
||||||
pub use pt_core as core;
|
pub use pt_core as core;
|
||||||
#[cfg(feature = "bintols")]
|
#[cfg(feature = "bintols")]
|
||||||
|
|
Reference in New Issue