Skip to content

Commit

Permalink
Update implementation to support 18013-7 DTS draft 1 (#3)
Browse files Browse the repository at this point in the history
* Update implementation to support 18013-7 DTS draft 1

* Add license and other metadata

* Add CI

* Remove ssh dependencies from tree
  • Loading branch information
cobward authored Dec 14, 2023
1 parent 2c86fd0 commit 3802bdb
Show file tree
Hide file tree
Showing 12 changed files with 666 additions and 484 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
- name: Build
run: cargo build
- name: Test
run: cargo test
- name: Fmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy
152 changes: 103 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
[package]
name = "openid4vc-wallet"
version = "0.1.0"
authors = ["Spruce Systems, Inc."]
edition = "2021"
license = "Apache-2.0 OR MIT"
description = "CLI tool for testing OID4VC protocol implementations"
repository = "https://github.com/spruceid/oid4vc_cli_wallet"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.75"
base64 = "0.21.2"
clap = { version = "4.3.21", features = ["derive"] }
isomdl180137 = { git = "https://github.com/spruceid/isomdl-18013-7", rev = "7ee8bdb" }
isomdl180137 = { git = "https://github.com/spruceid/isomdl-18013-7", rev = "a631543" }
josekit = { git = "https://github.com/cobward/josekit-rs", rev = "635c8a7" }
oidc4vp = { git = "https://github.com/spruceid/oidc4vp-rs.git", rev = "f9557eb" }
oidc4vp = { git = "https://github.com/spruceid/oidc4vp-rs.git", rev = "22ddab2" }
oid4vci = { git = "https://github.com/spruceid/oid4vci-rs.git", rev = "612ea3b" }
inquire = "0.6.2"
open = "5.0.0"
p256 = { version = "0.13.2", features = ["jwk"] }
rand = "0.8.5"
reqwest = "0.11.20"
reqwest = { version = "0.11.20", features = ["native-tls"] }
serde = "1.0.183"
serde_json = "1.0.105"
didkit = "0.6.0"
Expand All @@ -26,3 +30,5 @@ tokio = { version = "1.32.0", features = ["macros", "rt", "fs", "io-util"] }
url = "2.4.0"
x509-cert = "0.2.4"
sec1 = "0.7.3"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
Loading

0 comments on commit 3802bdb

Please sign in to comment.