Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (44 loc) · 1.63 KB
/
Copy pathCargo.toml
File metadata and controls
49 lines (44 loc) · 1.63 KB
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
[package]
name = "cachekit-cli"
version = "0.2.4"
edition = "2021"
description = "Command-line client for CacheKit"
license = "MIT"
repository = "https://github.com/cachekit-io/cachekit-cli"
# New releases support the latest stable Rust. rust-version is the oldest
# toolchain CI checks (the msrv job); when a dependency needs a newer one,
# raise both instead of holding the dependency back.
rust-version = "1.91"
# Resolve dependency versions that build on rust-version, so the lockfile
# keeps the MSRV promise that CI checks.
resolver = "3"
[[bin]]
name = "ck"
path = "src/main.rs"
# Runs ck's saas path against a fake backend. Without libtest's harness, the
# test binary can also act as ck itself (see the file's header).
[[test]]
name = "saas"
harness = false
[lints.rust]
# deny, not forbid: three audited blocks in src/child.rs read a signal's
# inherited disposition, restore an ignored SIGCHLD in the child, and block
# ck's handled signals on its helper threads. No dependency does these safely.
unsafe_code = "deny"
[dependencies]
blake2 = "0.11"
cachekit-core = { version = "0.7", default-features = false, features = ["encryption"] }
cachekit-rs = { version = "0.13.0", default-features = false, features = ["cachekitio", "encryption", "file", "unsync"] }
getrandom = "0.4"
hex = "0.4"
libc = "0.2"
rustix = { version = "1", default-features = false, features = ["std", "fs", "process"] }
signal-hook = "0.4"
tokio = { version = "1", default-features = false, features = ["macros", "rt", "time"] }
[dev-dependencies]
aes-gcm = "0.11"
async-trait = "0.1"
hkdf = "0.12"
rustix = { version = "1", features = ["pty"] }
sha2 = "0.10"
tempfile = "3"