blob: 1573d1c3c29c57f0b74a3855790a0aff19a69cc5 [file]
# 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-core"
version = "3.3.2"
categories = ["command-line-utilities", "web-programming"]
description = "Signing API requests without effort."
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[features]
default = []
jwt = ["dep:rsa", "dep:serde", "dep:serde_json"]
[dependencies]
anyhow = { workspace = true }
asyncband = { workspace = true }
base64 = { workspace = true }
bytes = { workspace = true }
hex = { workspace = true }
hmac = { workspace = true }
http = { workspace = true }
jiff = { workspace = true }
log = { workspace = true }
percent-encoding = { workspace = true }
sha1 = { workspace = true }
sha2 = { workspace = true }
# Optional dependencies
rsa = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.61.0", features = [
"Win32_Foundation",
"Win32_UI_Shell",
"Win32_System_Com",
] }
[dev-dependencies]
asyncband = { workspace = true, features = ["oneshot"] }
futures = { workspace = true }