summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 9ab32110d0f54d38ccb33838acb447fb49fe1b58 (plain) (blame)
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
[package]
name = "restic-operator"
description = "Restic Operator"
authors = ["Anshul Gupta <ansg191@anshulg.com>"]
version = "0.1.3"
edition = "2021"
license = "MIT"
publish = ["anshulg"]

[features]
default = []

integration-tests = []

[dependencies]
bon = "3.3.0"
futures = { version = "0.3.31", default-features = false, features = ["std", "async-await"] }
k8s-openapi = { version = "0.23.0", default-features = false, features = ["v1_30"] }
kube = { version = "0.97.0", features = ["derive", "runtime"] }
restic-crd = { version = "0.1.1", path = "restic-crd" , registry = "anshulg" }
schemars = "0.8.21"
serde = "1.0.215"
serde_json = "1.0.133"
thiserror = "2.0.5"
tokio = { version = "1.42.0", features = ["rt", "rt-multi-thread", "macros"] }
toml = "0.8.19"
tracing = "0.1.41"
tracing-panic = "0.1.2"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }

### WORKSPACE ###

[workspace]
resolver = "2"
members = [
    "restic-crd",
    ".",
    "xtask"
]

[workspace.lints.rust]
unused_crate_dependencies = "warn"

[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }

as_underscore = "warn"
clone_on_ref_ptr = "warn"
format_push_string = "warn"
str_to_string = "warn"

multiple_unsafe_ops_per_block = "deny"
undocumented_unsafe_blocks = "deny"