passgen: generate google wallet passes from a Boarding Pass Aztec

This commit is contained in:
Luke Granger-Brown 2023-01-08 01:54:38 +00:00
parent 653ac8f5f0
commit 6796dfad18
4 changed files with 4100 additions and 0 deletions

View file

@ -7,6 +7,9 @@ ops/secrets/
ops/vault/cfg/tf/
ops/vault/cfg/secrets.nix
rust/passgen/input/
rust/passgen/target/
web/quotes/theme/static/
syntax: regexp

3018
rust/passgen/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

42
rust/passgen/Cargo.toml Normal file
View file

@ -0,0 +1,42 @@
[package]
name = "passgen"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = { version = "1.0.68", features = ["backtrace"] }
async-trait = "0.1.61"
chrono = "0.4.23"
clap = { version = "4.0.32", features = ["cargo", "derive"] }
google-walletobjects1 = "4.0.4"
http = "0.2.8"
hyper = "0.14.23"
hyper-rustls = { version = "0.23.2", features = ["http2"] }
jwt-simple = "0.11.2"
phf = { version = "0.11.1", features = ["macros"] }
rsa = "0.7.2"
rxing = "0.2.6"
serde = "1.0.152"
serde_json = "1.0.91"
strum = "0.24.1"
strum_macros = "0.24.3"
tokio = { version = "1.24.1", features = ["macros", "full"] }
tower-service = "0.3.2"
yup-oauth2 = "8.1.0"
[profile.dev.package.rxing]
opt-level = 3
[profile.dev.package.image]
opt-level = 3
[profile.dev.package.png]
opt-level = 3
[profile.dev.package.adler]
opt-level = 3
[profile.dev.package.num-bigint-dig]
opt-level = 3

1037
rust/passgen/src/main.rs Normal file

File diff suppressed because it is too large Load diff