Capture crash reports and upload them the next time Zed launches
This commit is contained in:
parent
39c7b1fd51
commit
09a8b8e675
5 changed files with 149 additions and 25 deletions
|
@ -24,6 +24,7 @@ use postage::oneshot;
|
|||
use serde::Deserialize;
|
||||
use std::{
|
||||
any::Any,
|
||||
fmt::{self, Display},
|
||||
path::{Path, PathBuf},
|
||||
rc::Rc,
|
||||
str::FromStr,
|
||||
|
@ -167,6 +168,12 @@ impl FromStr for AppVersion {
|
|||
}
|
||||
}
|
||||
|
||||
impl Display for AppVersion {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "{}.{}.{}", self.major, self.minor, self.patch)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum RasterizationOptions {
|
||||
Alpha,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue