-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (44 loc) · 1.48 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
[package]
name = "lambda-runtime-types"
version = "0.6.13"
authors = ["Marc Mettke <[email protected]>"]
edition = "2021"
description = "Common structures for lambda architecture"
license = "MIT OR Apache-2.0"
repository = "https://github.com/itmettkeDE/lambda-runtime-types"
readme = "./README.md"
keywords = ["lambda", "types"]
categories = ["data-structures"]
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["rotate_with_preserve"]
rotate_aws_sdk = ["aws-config", "aws-sdk-secretsmanager", "_rotate"]
rotate_rusoto = ["rusoto_core", "rusoto_secretsmanager", "_rotate"]
rotate_with_preserve = []
test = ["serde_json"]
# Do not use directly
_rotate = ["serde_json"]
[dependencies]
anyhow = "1"
async-trait = "0.1"
futures = "0.3"
lambda_runtime = "0.7"
log = "0.4"
serde = { version = "1", features = ["derive"] }
tokio = "1"
aws-config = { version = "0.52", features = ["rustls"], optional = true }
aws-sdk-secretsmanager = { version = "0.22", features = ["rustls"], optional = true }
rusoto_core = { version = "0.48", default-features = false, features = ["rustls"], optional = true }
rusoto_secretsmanager = { version = "0.48", default-features = false, features = ["rustls"], optional = true }
serde_json = { version = "1", optional = true }
[dev-dependencies]
native-tls = "0.2"
postgres-native-tls = "0.5"
simple_logger = "4"
tokio-postgres = "0.7"
[[example]]
name = "test_postgres_rotation"
required-features = ["rotate_rusoto"]