Skip to content

Commit 02e156b

Browse files
committed
Make Cargo.toml changes persistent
1 parent 8025a91 commit 02e156b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sed -i 's/Client::new()/Client::builder().cookie_store(true).build().unwrap()/g'
2828
sed -i 's/features = \["json", "multipart"\]/features = \["json", "cookies", "multipart"\]/g' Cargo.toml
2929

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

3333
# https://github.com/vrchatapi/specification/issues/241
3434
cat patches/2FA_Current_User.rs >> src/models/current_user.rs

patches/Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[dev-dependencies]
2+
tokio = { version = '1', features = ['macros', 'rt-multi-thread'] }
3+
totp_rfc6238 = "0.6.1"
4+
anyhow = "1"
5+
thiserror = "1"
6+
dotenv = "0.15"
7+
base32 = "0.5.1"
8+
9+
[[test]]
10+
name = "integration"
11+
path = "integration/main.rs"
12+
harness = false

0 commit comments

Comments
 (0)