2021-11-29 15:05:43 -05:00
|
|
|
[package]
|
|
|
|
name = "siwe-oidc"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
authors = ["Spruce Systems, Inc."]
|
2021-12-15 10:13:26 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-11-29 15:05:43 -05:00
|
|
|
repository = "https://github.com/spruceid/siwe-oidc/"
|
2022-01-11 05:43:06 -05:00
|
|
|
description = "OpenID Connect Identity Provider for Sign-In with Ethereum."
|
2021-11-29 15:05:43 -05:00
|
|
|
|
2022-01-11 05:43:06 -05:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2021-11-29 15:05:43 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2022-02-08 05:36:26 -05:00
|
|
|
anyhow = "1.0.53"
|
|
|
|
headers = "0.3.6"
|
2021-11-29 15:05:43 -05:00
|
|
|
hex = "0.4.3"
|
2022-12-19 13:51:46 -05:00
|
|
|
iri-string = { version = "0.6", features = ["serde"] }
|
2023-04-17 08:16:39 -04:00
|
|
|
openidconnect = "3.0.0"
|
2021-11-29 15:05:43 -05:00
|
|
|
rand = "0.8.4"
|
2022-12-19 13:51:46 -05:00
|
|
|
rsa = { version = "0.7.0" }
|
2021-11-29 15:05:43 -05:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-02-08 05:36:26 -05:00
|
|
|
serde_json = "1.0.78"
|
2023-04-17 08:16:39 -04:00
|
|
|
serde_urlencoded = "0.7.0"
|
2022-12-19 13:51:46 -05:00
|
|
|
siwe = "0.5.0"
|
2021-11-29 15:05:43 -05:00
|
|
|
thiserror = "1.0.30"
|
2022-02-08 05:36:26 -05:00
|
|
|
tracing = "0.1.30"
|
2021-11-29 15:05:43 -05:00
|
|
|
url = { version = "2.2", features = ["serde"] }
|
|
|
|
urlencoding = "2.1.0"
|
2022-12-19 13:51:46 -05:00
|
|
|
sha2 = "0.10.0"
|
2022-02-08 05:36:26 -05:00
|
|
|
cookie = "0.16.0"
|
2021-11-29 15:05:43 -05:00
|
|
|
bincode = "1.3.3"
|
2022-01-11 05:43:06 -05:00
|
|
|
async-trait = "0.1.52"
|
2022-12-19 13:51:46 -05:00
|
|
|
ethers-core = "1.0.2"
|
|
|
|
ethers-providers = "1.0.2"
|
2022-01-25 11:29:02 -05:00
|
|
|
lazy_static = "1.4"
|
2022-01-11 05:43:06 -05:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
axum = { version = "0.4.3", features = ["headers"] }
|
|
|
|
chrono = "0.4.19"
|
|
|
|
figment = { version = "0.10.6", features = ["toml", "env"] }
|
2023-04-17 09:20:50 -04:00
|
|
|
tokio = { version = "1.24.2", features = ["full"] }
|
2022-01-11 05:43:06 -05:00
|
|
|
tower-http = { version = "0.2.0", features = ["fs", "trace", "cors"] }
|
|
|
|
tracing-subscriber = { version = "0.3.2", features = ["env-filter"] }
|
2021-11-29 15:05:43 -05:00
|
|
|
bb8-redis = "0.10.1"
|
2022-01-11 05:43:06 -05:00
|
|
|
uuid = { version = "0.8", features = ["serde", "v4"] }
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
chrono = { version = "0.4.19", features = ["wasmbind"] }
|
|
|
|
console_error_panic_hook = { version = "0.1" }
|
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
matchit = "0.4.2"
|
|
|
|
uuid = { version = "0.8", features = ["serde", "v4", "wasm-bindgen"] }
|
|
|
|
wee_alloc = { version = "0.4" }
|
2022-12-19 13:51:46 -05:00
|
|
|
worker = "0.0.12"
|
|
|
|
time = { version = "0.3.17", features = ["wasm-bindgen"] }
|
2022-01-11 05:43:06 -05:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = "z"
|
|
|
|
lto = true
|
|
|
|
|
2022-12-19 13:51:46 -05:00
|
|
|
[dev-dependencies]
|
|
|
|
env_logger = "0.10.0"
|
|
|
|
test-log = "0.2.11"
|
2023-04-17 09:20:50 -04:00
|
|
|
tokio = { version = "1.24.2", features = ["macros", "rt"] }
|
2023-04-17 08:16:39 -04:00
|
|
|
ethers-signers = "1.0.2"
|
2022-01-11 05:43:06 -05:00
|
|
|
|
|
|
|
[package.metadata.wasm-pack.profile.profiling]
|
|
|
|
wasm-opt = ['-g', '-O']
|