Update to versioned matrix SDK.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
projectmoon 2021-09-04 21:37:49 +00:00
parent 473e899275
commit f68d5ffcc1
4 changed files with 844 additions and 456 deletions

1291
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -2,5 +2,4 @@
members = [
"dicebot",
"rpc",
]
]

View File

@ -14,6 +14,8 @@ categories = ["games"]
tonic-build = "0.4"
[dependencies]
# indexmap version locked fixes a dependency cycle.
indexmap = "=1.6.2"
log = "0.4"
tracing-subscriber = "0.2"
toml = "0.5"
@ -30,7 +32,7 @@ combine = "4.5"
futures = "0.3"
html2text = "0.2"
phf = { version = "0.8", features = ["macros"] }
matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk", branch = "master" }
matrix-sdk = { version = "0.3" }
refinery = { version = "0.5", features = ["rusqlite"]}
barrel = { version = "0.6", features = ["sqlite3"] }
tempfile = "3"

View File

@ -1,5 +1,5 @@
use tenebrous_rpc::protos::dicebot::UserIdRequest;
use tenebrous_rpc::protos::dicebot::{dicebot_client::DicebotClient, GetVariableRequest};
use tenebrous_rpc::protos::dicebot::{dicebot_client::DicebotClient};
use tonic::{metadata::MetadataValue, transport::Channel, Request};
async fn create_client(