-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathCargo.toml
More file actions
92 lines (78 loc) · 3.01 KB
/
Cargo.toml
File metadata and controls
92 lines (78 loc) · 3.01 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
[package]
name = "reqsign"
version = "0.19.0"
categories = ["authentication", "web-programming::http-client"]
description = "Signing HTTP requests for AWS, Azure, Google, Huawei, Aliyun, Tencent and Oracle services"
documentation = "https://docs.rs/reqsign"
keywords = ["http", "requests", "signing", "aws", "azure"]
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[package.metadata.docs.rs]
all-features = true
[dependencies]
# Core functionality (always included)
reqsign-core = { workspace = true }
# Service implementations (optional)
reqsign-aliyun-oss = { workspace = true, optional = true }
reqsign-aws-v4 = { workspace = true, optional = true }
reqsign-azure-storage = { workspace = true, optional = true }
reqsign-google = { workspace = true, optional = true }
reqsign-huaweicloud-obs = { workspace = true, optional = true }
reqsign-openstack-keystone = { workspace = true, optional = true }
reqsign-oracle = { workspace = true, optional = true }
reqsign-tencent-cos = { workspace = true, optional = true }
# Context implementations (optional but included by default)
reqsign-command-execute-tokio = { workspace = true, optional = true }
reqsign-file-read-tokio = { workspace = true, optional = true }
reqsign-http-send-reqwest = { workspace = true, optional = true }
[features]
default = ["default-context"]
default-context = [
"dep:reqsign-command-execute-tokio",
"dep:reqsign-file-read-tokio",
"dep:reqsign-http-send-reqwest",
]
# Service features
aliyun = ["dep:reqsign-aliyun-oss"]
aws = ["dep:reqsign-aws-v4"]
azure = ["dep:reqsign-azure-storage"]
google = ["dep:reqsign-google"]
huaweicloud = ["dep:reqsign-huaweicloud-obs"]
openstack = ["dep:reqsign-openstack-keystone"]
oracle = ["dep:reqsign-oracle"]
tencent = ["dep:reqsign-tencent-cos"]
# Full feature set
full = ["aliyun", "aws", "azure", "google", "huaweicloud", "openstack", "oracle", "tencent"]
[dev-dependencies]
anyhow = "1"
bytes = "1"
env_logger = "0.11"
http = "1"
tokio = { version = "1", features = ["full"] }
[[example]]
name = "aws"
required-features = ["aws", "default-context"]
[[example]]
name = "azure"
required-features = ["azure", "default-context"]
[[example]]
name = "google"
required-features = ["google", "default-context"]