mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-10 10:13:48 +00:00
Upgraded to Rust v1.99.0 (#1032)
This commit is contained in:
1 parent
f0bca520df
commit
bdf828fa4f
3 files changed
+4
-9
No files matched your search
@@ -16,3 +16,4 @@
|
|||||||
- Fixed renaming an external data source (ERI server) leaving its secret behind under the old name in the keychain of your operating system.
|
- Fixed renaming an external data source (ERI server) leaving its secret behind under the old name in the keychain of your operating system.
|
||||||
- Fixed the Search Confluence tool missing pages that the search of your Confluence wiki finds. The tool now searches the same way as the search box of your wiki.
|
- Fixed the Search Confluence tool missing pages that the search of your Confluence wiki finds. The tool now searches the same way as the search box of your wiki.
|
||||||
- Upgraded several libraries to improve security.
|
- Upgraded several libraries to improve security.
|
||||||
|
- Upgraded to Rust v1.99.0
|
||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
257
|
257
|
||||||
9.0.121 (commit 0882d8715f)
|
9.0.121 (commit 0882d8715f)
|
||||||
9.0.20 (commit 3879076d9a)
|
9.0.20 (commit 3879076d9a)
|
||||||
1.98.1 (commit 48a229cea)
|
1.99.0 (commit b940084d7)
|
||||||
8.15.0
|
8.15.0
|
||||||
2.11.5
|
2.11.5
|
||||||
9f102728b59, release
|
9f102728b59, release
|
||||||
|
|||||||
+2
-8
@@ -1,5 +1,5 @@
|
|||||||
use std::collections::BTreeMap;
|
use std::collections::BTreeMap;
|
||||||
use std::env::{current_dir, temp_dir};
|
use std::env::{current_dir, home_dir, temp_dir};
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use std::fmt::Debug;
|
use std::fmt::Debug;
|
||||||
use std::fs::{create_dir_all, OpenOptions};
|
use std::fs::{create_dir_all, OpenOptions};
|
||||||
@@ -130,18 +130,12 @@ fn get_startup_log_path(bundle_identifier: &str) -> (PathBuf, Option<String>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
(get_non_flatpak_startup_log_path(
|
(get_non_flatpak_startup_log_path(
|
||||||
home_directory(),
|
home_dir(),
|
||||||
current_dir().ok(),
|
current_dir().ok(),
|
||||||
temp_dir(),
|
temp_dir(),
|
||||||
), None)
|
), None)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Note: Rust plans to remove the deprecation flag for std::env::home_dir() in Rust 1.86.0.
|
|
||||||
#[allow(deprecated)]
|
|
||||||
fn home_directory() -> Option<PathBuf> {
|
|
||||||
std::env::home_dir()
|
|
||||||
}
|
|
||||||
|
|
||||||
fn get_non_flatpak_startup_log_path(
|
fn get_non_flatpak_startup_log_path(
|
||||||
home_directory: Option<PathBuf>,
|
home_directory: Option<PathBuf>,
|
||||||
working_directory: Option<PathBuf>,
|
working_directory: Option<PathBuf>,
|
||||||
|
|||||||
Reference in new issue
Block a user