Skip to content

Commit

Permalink
Make Cargo.toml changes persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
C0D3-M4513R committed Sep 19, 2024
1 parent 8025a91 commit 02e156b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sed -i 's/Client::new()/Client::builder().cookie_store(true).build().unwrap()/g'
sed -i 's/features = \["json", "multipart"\]/features = \["json", "cookies", "multipart"\]/g' Cargo.toml

#Fix example
printf "\n[dev-dependencies]\ntokio = { version = '1', features = ['macros', 'rt-multi-thread'] }" >> Cargo.toml
cat patches/Cargo.toml >> Cargo.toml

# https://github.com/vrchatapi/specification/issues/241
cat patches/2FA_Current_User.rs >> src/models/current_user.rs
Expand Down
12 changes: 12 additions & 0 deletions patches/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[dev-dependencies]
tokio = { version = '1', features = ['macros', 'rt-multi-thread'] }
totp_rfc6238 = "0.6.1"
anyhow = "1"
thiserror = "1"
dotenv = "0.15"
base32 = "0.5.1"

[[test]]
name = "integration"
path = "integration/main.rs"
harness = false

0 comments on commit 02e156b

Please sign in to comment.