-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
45 lines (40 loc) · 1.3 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
[package]
name = "google-oauth"
version = "1.11.3"
edition = "2021"
description = "Google oauth server-side client"
license = "MIT"
repository = "https://github.com/caojen/google-oauth"
resolver = "1"
keywords = [
"google",
"oauth2"
]
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
anyhow = { version = "1" }
reqwest = { version = "0.12", default-features = false }
lazy_static = { version = "1" }
base64 = { version = "0.22" }
sha256 = { version = "1", default-features = false }
rsa = { version = "0.9", features = ["sha2"] }
hex = { version = "0.4" }
log = { version = "0.4" }
async-lock = { version = "3.4" }
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = { version = "0.2", optional = true }
wasm-bindgen-futures = { version = "0.4", optional = true }
web-time = { version = "1", optional = true }
[features]
default = ["reqwest/default-tls"]
blocking = ["reqwest/blocking"]
wasm = ["dep:wasm-bindgen-futures", "dep:wasm-bindgen", "dep:web-time"]
reqwest-rustls = ["reqwest/rustls-tls"]
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
env_logger = "0.11"
[lib]
crate-type = ["cdylib", "rlib"]