Files
rust-a2/Cargo.toml
T
2024-05-05 13:50:26 +01:00

48 lines
1.5 KiB
TOML

[package]
name = "a2"
version = "0.9.0"
authors = [
"Harry Bairstow <harry@walletconnect.com>",
"Julius de Bruijn <julius@nauk.io>",
"Sergey Tkachenko <seriy.tkachenko@gmail.com>",
]
license = "MIT"
readme = "README.md"
description = "A native, asynchronous Apple push notification client"
keywords = ["apns", "apple", "push", "async", "http2"]
repository = "https://github.com/walletconnect/a2.git"
homepage = "https://github.com/walletconnect/a2"
documentation = "https://docs.rs/a2"
edition = "2021"
rust-version = "1.60" # set the minimum rust version we can work with.
[features]
default = ["openssl"]
tracing = ["dep:tracing"]
ring = ["dep:ring", "pem"]
[dependencies]
serde = { version = "1", features = ["derive"] }
erased-serde = "0.3"
serde_json = "1"
thiserror = "1"
openssl = { version = "0.10", optional = true }
hyper = { version = "1.0", default-features = false, features = ["client", "http2"] }
hyper-util = { version = "0.1", features = ["client", "http2", "client-legacy", "tokio"] }
http-body-util = "0.1"
http = "1.0"
base64 = "0.21"
tracing = { version = "0.1", optional = true }
pem = { version = "3.0", optional = true }
ring = { version = "0.17", features = ["std"], optional = true }
hyper-rustls = { version = "0.26.0", default-features = false, features = ["http2", "webpki-roots", "ring"] }
rustls-pemfile = "2.1.1"
rustls = "0.22.4"
parking_lot = "0.12"
tokio = { version = "1", features = ["time"] }
[dev-dependencies]
argparse = "0.2"
tracing-subscriber = "0.3"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }