mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-23 16:08:06 +00:00
Make Cargo.toml changes persistent
This commit is contained in:
@ -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
|
sed -i 's/features = \["json", "multipart"\]/features = \["json", "cookies", "multipart"\]/g' Cargo.toml
|
||||||
|
|
||||||
#Fix example
|
#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
|
# https://github.com/vrchatapi/specification/issues/241
|
||||||
cat patches/2FA_Current_User.rs >> src/models/current_user.rs
|
cat patches/2FA_Current_User.rs >> src/models/current_user.rs
|
||||||
|
12
patches/Cargo.toml
Normal file
12
patches/Cargo.toml
Normal 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
|
Reference in New Issue
Block a user