Switch from submodule to git cargo dependency

legacy
Charlotte Som 2021-09-16 04:53:55 +01:00
parent d3bd0a45b4
commit a0d7b59a33
4 changed files with 6 additions and 5 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "matrix-rust-sdk"]
path = matrix-rust-sdk
url = https://git.lavender.software/charlotte/matrix-rust-sdk.git

5
Cargo.lock generated
View File

@ -1237,6 +1237,7 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
[[package]] [[package]]
name = "matrix-qrcode" name = "matrix-qrcode"
version = "0.2.0" version = "0.2.0"
source = "git+https://git.lavender.software/charlotte/matrix-rust-sdk?rev=d83d8b959c#d83d8b959c644db7581976374954906d45b765b9"
dependencies = [ dependencies = [
"base64 0.13.0", "base64 0.13.0",
"byteorder", "byteorder",
@ -1250,6 +1251,7 @@ dependencies = [
[[package]] [[package]]
name = "matrix-sdk" name = "matrix-sdk"
version = "0.4.1" version = "0.4.1"
source = "git+https://git.lavender.software/charlotte/matrix-rust-sdk?rev=d83d8b959c#d83d8b959c644db7581976374954906d45b765b9"
dependencies = [ dependencies = [
"backoff", "backoff",
"bytes 1.1.0", "bytes 1.1.0",
@ -1276,6 +1278,7 @@ dependencies = [
[[package]] [[package]]
name = "matrix-sdk-base" name = "matrix-sdk-base"
version = "0.4.1" version = "0.4.1"
source = "git+https://git.lavender.software/charlotte/matrix-rust-sdk?rev=d83d8b959c#d83d8b959c644db7581976374954906d45b765b9"
dependencies = [ dependencies = [
"chacha20poly1305", "chacha20poly1305",
"dashmap", "dashmap",
@ -1300,6 +1303,7 @@ dependencies = [
[[package]] [[package]]
name = "matrix-sdk-common" name = "matrix-sdk-common"
version = "0.4.1" version = "0.4.1"
source = "git+https://git.lavender.software/charlotte/matrix-rust-sdk?rev=d83d8b959c#d83d8b959c644db7581976374954906d45b765b9"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"futures", "futures",
@ -1315,6 +1319,7 @@ dependencies = [
[[package]] [[package]]
name = "matrix-sdk-crypto" name = "matrix-sdk-crypto"
version = "0.4.1" version = "0.4.1"
source = "git+https://git.lavender.software/charlotte/matrix-rust-sdk?rev=d83d8b959c#d83d8b959c644db7581976374954906d45b765b9"
dependencies = [ dependencies = [
"aes", "aes",
"aes-gcm", "aes-gcm",

View File

@ -6,7 +6,7 @@ edition = "2018"
[dependencies] [dependencies]
bincode = "1.3.3" bincode = "1.3.3"
discord_message_format = { git = "https://git.lavender.software/charlotte/discord-message-format.git" } discord_message_format = { git = "https://git.lavender.software/charlotte/discord-message-format.git" }
matrix-sdk = { path = "./matrix-rust-sdk/crates/matrix-sdk" } matrix-sdk = { git = "https://git.lavender.software/charlotte/matrix-rust-sdk", rev = "d83d8b959c" }
serde = { version = "1.0.130", features = ["derive"] } serde = { version = "1.0.130", features = ["derive"] }
sled = "0.34.7" sled = "0.34.7"
tokio = { version = "1.11.0", features = ["full"] } tokio = { version = "1.11.0", features = ["full"] }

@ -1 +0,0 @@
Subproject commit d83d8b959c644db7581976374954906d45b765b9