2023-09-15 17:00:22 +02:00
|
|
|
[workspace]
|
2023-09-20 14:28:40 +02:00
|
|
|
resolver = "2"
|
2023-09-15 17:00:22 +02:00
|
|
|
members = [
|
2024-01-16 11:31:05 +01:00
|
|
|
".",
|
|
|
|
"members/libpt-core",
|
|
|
|
"members/libpt-math",
|
|
|
|
"members/libpt-log",
|
|
|
|
"members/libpt-net",
|
2023-09-15 17:00:22 +02:00
|
|
|
]
|
2024-01-17 13:57:47 +01:00
|
|
|
default-members = [".", "members/libpt-core"]
|
2023-09-20 14:32:25 +02:00
|
|
|
[workspace.package]
|
2023-09-29 18:26:38 +02:00
|
|
|
publish = true
|
2024-01-23 14:04:48 +01:00
|
|
|
version = "0.3.11"
|
2023-09-20 14:32:25 +02:00
|
|
|
edition = "2021"
|
|
|
|
authors = ["Christoph J. Scherr <software@cscherr.de>"]
|
|
|
|
license = "MIT"
|
|
|
|
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-01-16 10:22:07 +01:00
|
|
|
keywords = ["cli", "library"]
|
2024-01-16 11:31:05 +01:00
|
|
|
categories = [
|
|
|
|
"command-line-utilities",
|
|
|
|
"development-tools",
|
|
|
|
"development-tools::ffi",
|
|
|
|
]
|
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-01-23 14:04:48 +01:00
|
|
|
libpt-core = { version = "0.3.11", path = "members/libpt-core" }
|
|
|
|
libpt-bintols = { version = "0.3.11", path = "members/libpt-bintols" }
|
|
|
|
libpt-log = { version = "0.3.11", path = "members/libpt-log" }
|
|
|
|
libpt-math = { version = "0.3.11", path = "members/libpt-math" }
|
|
|
|
libpt-net = { version = "0.3.11", path = "members/libpt-net" }
|
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-01-17 14:58:59 +01:00
|
|
|
default = ["log", "core", "bin"]
|
2024-01-16 11:31:05 +01:00
|
|
|
core = []
|
2024-01-17 14:05:07 +01:00
|
|
|
math = []
|
|
|
|
log = []
|
|
|
|
bintols = []
|
|
|
|
net = []
|
2024-01-17 14:58:59 +01:00
|
|
|
bin = ["dep:clap", "dep:clap-num", "dep:clap-verbosity-flag", "math", "bintols"]
|
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
|
|
|
]
|
|
|
|
|
2024-01-17 14:00:43 +01:00
|
|
|
[[bin]]
|
|
|
|
name = "ccc"
|
|
|
|
path = "src/ccc/mod.rs"
|
2024-01-17 14:15:24 +01:00
|
|
|
required-features = ["bin", "math"]
|
2024-01-17 14:00:43 +01:00
|
|
|
|
2023-09-20 18:15:53 +02:00
|
|
|
[dependencies]
|
2024-01-17 13:57:47 +01:00
|
|
|
libpt-core = { workspace = true }
|
|
|
|
libpt-bintols = { workspace = true }
|
|
|
|
libpt-log = { workspace = true }
|
|
|
|
libpt-math = { workspace = true }
|
|
|
|
libpt-net = { workspace = true }
|
|
|
|
clap = { version = "4.4.4", features = ["derive"], optional = true }
|
|
|
|
clap-num = { version = "1.0.2", optional = true }
|
|
|
|
clap-verbosity-flag = { version = "2.0.1", optional = true }
|