This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
pt/Cargo.toml

86 lines
2.4 KiB
TOML
Raw Normal View History

[workspace]
2023-09-20 14:28:40 +02:00
resolver = "2"
members = [
2024-01-16 11:31:05 +01:00
".",
"members/libpt-core",
"members/libpt-bintols",
"members/libpt-math",
"members/libpt-log",
"members/libpt-net",
]
2024-01-17 13:08:42 +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-17 02:51:30 +01:00
version = "0.2.5"
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"
2023-09-29 18:24:19 +02:00
homepage = "https://git.cscherr.de/PlexSheep/libpt"
repository = "https://git.cscherr.de/PlexSheep/libpt"
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-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-17 02:47:40 +01:00
libpt-log = { version = "0.2.5", path = "../libpt-log" }
libpt-bintols = { version = "0.2.5", ath = "../libpt-bintols" }
2023-09-20 18:15:53 +02:00
[package]
name = "libpt"
2024-01-17 13:08:42 +01:00
autobins = true
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-16 11:31:05 +01:00
default = ["log", "core"]
core = []
2024-01-17 13:08:42 +01:00
math = ["dep:libpt-math"]
log = ["dep:libpt-log"]
bintols = ["dep:libpt-bintols"]
net = ["dep:libpt-net"]
2024-01-16 11:31:05 +01:00
ccc = ["math"]
2024-01-17 13:08:42 +01:00
bin = ["bintols", "net", "dep:clap", "dep:clap-num", "dep:clap-verbosity-flag"]
2023-09-20 18:15:53 +02:00
[lib]
name = "libpt"
crate-type = [
2024-01-16 11:31:05 +01:00
"dylib", # .dll, .so, .dynlib
"staticlib", # .lib, .a
"rlib",
]
2024-01-17 13:08:42 +01:00
[[bin]]
name = "ccc"
path = "src/ccc/mod.rs"
[[bin]]
name = "hedu"
path = "src/hedu/mod.rs"
2023-09-20 18:15:53 +02:00
[dependencies]
2024-01-17 13:08:42 +01:00
libpt-core = { version = "0.2.0-alpha.2", path = "members/libpt-core", registry = "cscherr" }
libpt-bintols = { version = "0.2.0-alpha.2", optional = true, path = "members/libpt-bintols", registry = "cscherr" }
libpt-log = { version = "0.2.0-alpha.2", optional = true, path = "members/libpt-log", registry = "cscherr" }
libpt-math = { version = "0.2.0-alpha.2", optional = true, path = "members/libpt-math", registry = "cscherr" }
libpt-ccc = { version = "0.2.0-alpha.2", optional = true, path = "members/libpt-ccc", registry = "cscherr" }
libpt-net = { version = "0.2.0-alpha.2", optional = true, path = "members/libpt-net", registry = "cscherr" }
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 }