-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
97 lines (79 loc) · 2.22 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[workspace]
resolver = "2"
members = [".", "ghactions-core", "ghactions-derive"]
[workspace.package]
version = "0.11.1"
license = "MIT"
description = "GitHub Actions Crate"
keywords = ["github", "actions"]
categories = ["development-tools"]
homepage = "https://github.com/42ByteLabs/ghactions"
repository = "https://github.com/42ByteLabs/ghactions"
documentation = "https://docs.rs/ghactions/latest/ghactions/index.html"
authors = ["GeekMasher"]
edition = "2021"
rust-version = "1.70"
readme = "README.md"
[package]
name = "ghactions"
readme = "README.md"
description = "GitHub Actions Crate"
version.workspace = true
documentation.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
categories.workspace = true
keywords.workspace = true
authors.workspace = true
[package.metadata.release]
shared-version = true
tag-name = "v{{version}}"
[features]
default = ["log", "macros", "octocrab", "toolcache"]
generate = ["ghactions-derive/generate"]
toolcache = ["ghactions-core/toolcache"]
# Logging
log = ["ghactions-derive/log", "ghactions-core/log", "dep:log"]
dotenvy = ["ghactions-derive/dotenvy"]
# Macros
macros = ["ghactions-core/macros"]
# Octocrab
octocrab = ["ghactions-core/octocrab"]
[dependencies]
ghactions-core = { version = "^0.11", path = "ghactions-core" }
ghactions-derive = { version = "^0.11", path = "ghactions-derive" }
log = { version = "0.4", optional = true }
[dev-dependencies]
ghactions = { path = "./" }
anyhow = "1"
log = "0.4"
dotenvy = "0.15"
octocrab = "^0.41"
http = "^1"
tokio = { version = "1.41", default-features = false, features = [
"macros",
"rt-multi-thread",
"time",
] }
[[example]]
name = "basic"
path = "./examples/basic/src/main.rs"
required-features = ["dotenvy", "octocrab"]
[[example]]
name = "advanced"
path = "./examples/advanced/src/main.rs"
required-features = ["dotenvy", "generate"]
[[example]]
name = "entrypoint"
path = "./examples/entrypoint/src/main.rs"
required-features = ["dotenvy", "generate"]
[[example]]
name = "jit-compile"
path = "./examples/jit-compile/src/main.rs"
required-features = ["dotenvy", "generate"]
[[example]]
name = "toolcache"
path = "./examples/toolcache.rs"
required-features = ["toolcache"]