forked from projectmoon/tenebrous-dicebot
Update to versioned matrix SDK.
This commit is contained in:
parent
473e899275
commit
f68d5ffcc1
File diff suppressed because it is too large
Load Diff
|
@ -2,5 +2,4 @@
|
||||||
|
|
||||||
members = [
|
members = [
|
||||||
"dicebot",
|
"dicebot",
|
||||||
"rpc",
|
|
||||||
]
|
]
|
|
@ -14,6 +14,8 @@ categories = ["games"]
|
||||||
tonic-build = "0.4"
|
tonic-build = "0.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
# indexmap version locked fixes a dependency cycle.
|
||||||
|
indexmap = "=1.6.2"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
tracing-subscriber = "0.2"
|
tracing-subscriber = "0.2"
|
||||||
toml = "0.5"
|
toml = "0.5"
|
||||||
|
@ -30,7 +32,7 @@ combine = "4.5"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
html2text = "0.2"
|
html2text = "0.2"
|
||||||
phf = { version = "0.8", features = ["macros"] }
|
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"]}
|
refinery = { version = "0.5", features = ["rusqlite"]}
|
||||||
barrel = { version = "0.6", features = ["sqlite3"] }
|
barrel = { version = "0.6", features = ["sqlite3"] }
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use tenebrous_rpc::protos::dicebot::UserIdRequest;
|
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};
|
use tonic::{metadata::MetadataValue, transport::Channel, Request};
|
||||||
|
|
||||||
async fn create_client(
|
async fn create_client(
|
||||||
|
|
Loading…
Reference in New Issue