renaming things back to libpt, its kinda responsible

This commit is contained in:
Christoph J. Scherr 2023-09-20 18:37:06 +02:00
parent 3334920d18
commit 341a64a0f5
4 changed files with 21 additions and 3 deletions

View File

@ -36,7 +36,7 @@ categories = ["command-line-utilities", "development-tools", "development-tools:
pyo3 = "0.19"
[package]
name = "pt"
name = "libpt"
publish.workspace = true
version.workspace = true
edition.workspace = true
@ -59,6 +59,16 @@ net = []
ccc = ["math"]
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
[dependencies]

View File

@ -15,5 +15,5 @@ categories.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
pt = { path = "../../" }
libpt = { path = "../../" }
pyo3 = { workspace = true }

View File

@ -1,4 +1,4 @@
use pt::{
use libpt::{
log::*,
};

View File

@ -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")]
pub use pt_core as core;
#[cfg(feature = "bintols")]