Update Cargo.lock file (#157)

This commit is contained in:
Ulyssa 2023-09-12 17:17:29 -07:00
parent 0565b6eb05
commit 7fdb5f98e3
No known key found for this signature in database
GPG key ID: F2873CA2997B83C5
5 changed files with 689 additions and 916 deletions

1595
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -57,7 +57,7 @@ edit = "0.1.4"
version = "0.0.16" version = "0.0.16"
[dependencies.matrix-sdk] [dependencies.matrix-sdk]
version = "0.6" version = "^0.6.2"
default-features = false default-features = false
features = ["e2e-encryption", "sled", "rustls-tls"] features = ["e2e-encryption", "sled", "rustls-tls"]

View file

@ -226,10 +226,7 @@ pub enum IambAction {
impl IambAction { impl IambAction {
/// Indicates whether this action will draw over the screen. /// Indicates whether this action will draw over the screen.
pub fn scribbles(&self) -> bool { pub fn scribbles(&self) -> bool {
match self { matches!(self, IambAction::Send(SendAction::SubmitFromEditor))
IambAction::Send(SendAction::SubmitFromEditor) => true,
_ => false,
}
} }
} }

View file

@ -271,7 +271,6 @@ fn iamb_editor(desc: CommandDescription, ctx: &mut ProgContext) -> ProgResult {
return Result::Err(CommandError::InvalidArgument); return Result::Err(CommandError::InvalidArgument);
} }
let sact = IambAction::from(SendAction::SubmitFromEditor); let sact = IambAction::from(SendAction::SubmitFromEditor);
let step = CommandStep::Continue(sact.into(), ctx.context.take()); let step = CommandStep::Continue(sact.into(), ctx.context.take());

View file

@ -4,10 +4,10 @@ use std::fs;
use std::ops::Deref; use std::ops::Deref;
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};
use edit::edit as external_edit;
use modalkit::editing::store::RegisterError; use modalkit::editing::store::RegisterError;
use std::process::Command; use std::process::Command;
use tokio; use tokio;
use edit::edit as external_edit;
use matrix_sdk::{ use matrix_sdk::{
attachment::AttachmentConfig, attachment::AttachmentConfig,