-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
66 lines (59 loc) · 1.81 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[workspace]
resolver = "2"
members = [".", "members/libpt-core", "members/libpt-log", "members/libpt-cli"]
default-members = [".", "members/libpt-core"]
[workspace.package]
publish = true
version = "0.7.4"
edition = "2021"
authors = ["Christoph J. Scherr <[email protected]>"]
license = "GPL-3.0-or-later"
description = "Personal multitool"
readme = "README.md"
homepage = "https://git.cscherr.de/PlexSheep/pt"
repository = "https://git.cscherr.de/PlexSheep/pt"
keywords = ["library"]
categories = ["command-line-utilities", "development-tools"]
[workspace.dependencies]
anyhow = "1.0.79"
thiserror = "1.0.56"
libpt-core = { version = "0.5.0", path = "members/libpt-core" }
libpt-bintols = { version = "0.5.1", path = "members/libpt-bintols" }
libpt-log = { version = "0.6.2-alpha.1", path = "members/libpt-log" }
libpt-cli = { version = "0.2.2-alpha.1", path = "members/libpt-cli" }
[package]
name = "libpt"
publish.workspace = true
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]
default = ["log", "core"]
core = []
full = ["default", "core", "log", "bintols", "libpt-cli/full"]
log = ["dep:libpt-log"]
log-crate = ["libpt-cli/log"]
bintols = ["dep:libpt-bintols", "log"]
cli = ["dep:libpt-cli", "core", "log"]
[lib]
name = "libpt"
crate-type = [
"dylib", # .dll, .so, .dynlib
"staticlib", # .lib, .a
"rlib",
]
[dependencies]
libpt-core = { workspace = true }
libpt-bintols = { workspace = true, optional = true }
libpt-log = { workspace = true, optional = true }
libpt-cli = { workspace = true, optional = true, features = ["log"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]