Make Cargo.toml changes persistent

This commit is contained in:
C0D3 M4513R
2024-09-19 18:50:17 +02:00
parent 8025a910e7
commit 02e156bb72
2 changed files with 13 additions and 1 deletions

View File

@ -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

12
patches/Cargo.toml Normal file
View File

@ -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