forked from awslabs/avp-local-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (65 loc) · 2.19 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
# Cargo.toml specifies your Rust crate's metadata
#
# There are several options available to you for customizing your package
# and providing supplementary metadata. They are documented in the Manifest
# page of the Cargo reference:
#
# https://doc.rust-lang.org/cargo/reference/manifest.html
#
# A particularly important key is [workspace]. As your project grows, you may
# wish to refactor it into multiple crates. Workspaces are the mechanism for
# doing so. They are also documented in the reference:
#
# https://doc.rust-lang.org/cargo/reference/workspaces.html
#
[package]
name = "avp-local-agent"
edition = "2021"
version = "2.0.0"
license = "Apache-2.0"
description = "Amazon Verified Permissions policy and entity providers. These providers are used to build a `cedar-local-agent` simple::Authorizer."
keywords = ["cedar", "agent", "verified_permissions", "authorization", "security"]
repository = "https://github.com/awslabs/avp-local-agent"
[dependencies]
# Main definitions for a Cedar-based authorization agent
cedar-local-agent = { git = "https://github.com/cedar-policy/cedar-local-agent.git" }
# Cedar
cedar-policy = "4.2.0"
cedar-policy-core = "4.2.0"
cedar-policy-formatter = "4.2.0"
cedar-policy-validator = "4.2.0"
# AWS
aws-config = "1.0.1"
aws-credential-types = "1.0.1"
aws-sdk-verifiedpermissions = "=1.3.0"
aws-smithy-async = "1.0.2"
aws-smithy-http = "0.60.0"
aws-smithy-runtime-api = "1.0.2"
aws-types = "1.0.1"
# Error, Logging, Tracing
thiserror = "1.0.41"
tracing = "0.1.37"
# Utilities
async-trait = "0.1.71"
backoff = { version = "0.4.0" , features = ["tokio"] }
chrono = "0.4.26"
derive_builder = "0.12.0"
futures = { version = "0.3.28", features = ["std"] }
once_cell = "1.18.0"
serde = { version = "1.0.166", features = ["derive"] }
serde_json = "1.0.100"
serde_repr = "0.1.16"
tokio = { version = "1.0", features = ["full", "signal", "sync", "parking_lot"] }
uuid = "1.4.1"
rand = "0.8.5"
[dev-dependencies]
# Mocking out aws sdk requests
aws-smithy-async = "1.0.2"
aws-smithy-client = "0.60.0"
aws-smithy-http = "0.60.0"
aws-smithy-types = "1.0.2"
aws-smithy-runtime = { version = "1.0.2", features = ["test-util"]}
aws-types = "1.0.1"
serial_test = "2.0.0"
[features]
integration-tests = []