Skip to content

Commit ac7df8d

Browse files
authored
Merge pull request #103 from vadimb892/cron-fix
NOT READY: Fix: deleted src, added at, batch in posixutils-cron
2 parents 395c9c4 + fe4fc3e commit ac7df8d

File tree

15 files changed

+3902
-99
lines changed

15 files changed

+3902
-99
lines changed

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ rust-version = "1.84.0"
4040
[workspace.dependencies]
4141
clap = { version = "4", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "cargo"] }
4242
chrono = { version = "0.4", default-features = false, features = ["clock"] }
43+
chrono-tz = "0.10.0"
4344
libc = "0.2"
4445
regex = "1.10"
4546
gettext-rs = { path = "./gettext-rs" }
4647
errno = "0.3"
48+
tempfile = "3.14"
4749
chrono-tz = "0.10"
4850

4951
[workspace.lints]

cron/Cargo.toml

+14-7
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,25 @@ plib = { path = "../plib" }
99
clap = { workspace = true }
1010
libc = { workspace = true }
1111
chrono = { workspace = true }
12+
chrono-tz = { workspace = true }
13+
tempfile = { workspace = true }
1214

1315
[[bin]]
14-
name = "crontab"
15-
path = "src/bin/crontab.rs"
16+
name = "at"
17+
path = "./at.rs"
1618

1719
[[bin]]
18-
name = "crond"
19-
path = "src/bin/crond.rs"
20+
name = "batch"
21+
path = "./batch.rs"
22+
23+
[[bin]]
24+
name = "crontab"
25+
path = "./crontab.rs"
2026

2127
[[bin]]
22-
name = "main"
23-
path = "src/main.rs"
28+
name = "crond"
29+
path = "./crond.rs"
2430

2531
[lib]
26-
path = "./src/lib.rs"
32+
name = "cron"
33+
path = "./lib.rs"

0 commit comments

Comments
 (0)