2023-09-15 17:00:22 +02:00
|
|
|
[workspace]
|
2023-09-20 14:28:40 +02:00
|
|
|
resolver = "2"
|
2024-07-09 19:41:34 +02:00
|
|
|
members = [".", "members/libpt-core", "members/libpt-log", "members/libpt-cli"]
|
2024-01-17 13:57:47 +01:00
|
|
|
default-members = [".", "members/libpt-core"]
|
2024-02-28 22:06:55 +01:00
|
|
|
|
2023-09-20 14:32:25 +02:00
|
|
|
[workspace.package]
|
2023-09-29 18:26:38 +02:00
|
|
|
publish = true
|
2024-09-07 23:47:38 +02:00
|
|
|
version = "0.7.2"
|
2023-09-20 14:32:25 +02:00
|
|
|
edition = "2021"
|
|
|
|
authors = ["Christoph J. Scherr <software@cscherr.de>"]
|
2024-06-28 08:56:21 +02:00
|
|
|
license = "GPL-3.0-or-later"
|
2023-09-20 14:32:25 +02:00
|
|
|
description = "Personal multitool"
|
|
|
|
readme = "README.md"
|
2024-01-17 18:08:56 +01:00
|
|
|
homepage = "https://git.cscherr.de/PlexSheep/pt"
|
|
|
|
repository = "https://git.cscherr.de/PlexSheep/pt"
|
2024-02-28 22:06:55 +01:00
|
|
|
keywords = ["library"]
|
2024-07-09 19:41:34 +02:00
|
|
|
categories = ["command-line-utilities", "development-tools"]
|
2023-09-15 17:00:22 +02:00
|
|
|
|
2023-09-20 14:32:25 +02:00
|
|
|
[workspace.dependencies]
|
2024-01-16 10:18:29 +01:00
|
|
|
anyhow = "1.0.79"
|
|
|
|
thiserror = "1.0.56"
|
2024-08-30 17:39:53 +02:00
|
|
|
libpt-core = { version = "0.5.0", path = "members/libpt-core" }
|
2024-05-13 15:23:18 +02:00
|
|
|
libpt-bintols = { version = "0.5.1", path = "members/libpt-bintols" }
|
2024-09-07 23:47:38 +02:00
|
|
|
libpt-log = { version = "0.6.1", path = "members/libpt-log" }
|
2024-09-06 17:33:57 +02:00
|
|
|
libpt-cli = { version = "0.2.1", path = "members/libpt-cli" }
|
2023-09-20 18:15:53 +02:00
|
|
|
|
|
|
|
[package]
|
2023-09-20 18:37:06 +02:00
|
|
|
name = "libpt"
|
2023-09-29 18:26:38 +02:00
|
|
|
publish.workspace = true
|
2023-09-20 18:15:53 +02:00
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
description.workspace = true
|
|
|
|
readme.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
keywords.workspace = true
|
|
|
|
categories.workspace = true
|
|
|
|
|
|
|
|
[features]
|
2024-02-02 09:39:43 +01:00
|
|
|
default = ["log", "core"]
|
2024-01-16 11:31:05 +01:00
|
|
|
core = []
|
2024-08-30 17:45:36 +02:00
|
|
|
full = ["default", "core", "log", "bintols", "libpt-cli/full"]
|
2024-02-28 16:30:32 +01:00
|
|
|
log = ["dep:libpt-log"]
|
2024-08-30 16:02:11 +02:00
|
|
|
log-crate = ["libpt-cli/log"]
|
2024-02-28 22:06:55 +01:00
|
|
|
bintols = ["dep:libpt-bintols", "log"]
|
2024-06-28 00:05:54 +02:00
|
|
|
cli = ["dep:libpt-cli", "core", "log"]
|
2023-09-20 18:15:53 +02:00
|
|
|
|
2023-09-20 18:37:06 +02:00
|
|
|
[lib]
|
|
|
|
name = "libpt"
|
|
|
|
crate-type = [
|
2024-01-16 11:31:05 +01:00
|
|
|
"dylib", # .dll, .so, .dynlib
|
|
|
|
"staticlib", # .lib, .a
|
|
|
|
"rlib",
|
2023-09-20 18:37:06 +02:00
|
|
|
]
|
|
|
|
|
2023-09-20 18:15:53 +02:00
|
|
|
[dependencies]
|
2024-01-17 13:57:47 +01:00
|
|
|
libpt-core = { workspace = true }
|
2024-02-28 16:30:32 +01:00
|
|
|
libpt-bintols = { workspace = true, optional = true }
|
|
|
|
libpt-log = { workspace = true, optional = true }
|
2024-08-30 16:02:11 +02:00
|
|
|
libpt-cli = { workspace = true, optional = true, features = ["log"] }
|
2024-08-30 17:49:40 +02:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|