mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-10 09:53:48 +00:00
Upgraded to Rust v1.99.0 (#1032)
This commit is contained in:
1 parent
f0bca520df
commit
bdf828fa4f
3 files changed
+5
-10
No files matched your search
@@ -15,4 +15,5 @@
|
||||
- Fixed two confidence levels sharing the same name in the German user interface. Moderate is called "Mäßig" again, and Medium stays "Mittel".
|
||||
- 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.
|
||||
- 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
|
||||
9.0.121 (commit 0882d8715f)
|
||||
9.0.20 (commit 3879076d9a)
|
||||
1.98.1 (commit 48a229cea)
|
||||
1.99.0 (commit b940084d7)
|
||||
8.15.0
|
||||
2.11.5
|
||||
9f102728b59, release
|
||||
|
||||
+2
-8
@@ -1,5 +1,5 @@
|
||||
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::fmt::Debug;
|
||||
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(
|
||||
home_directory(),
|
||||
home_dir(),
|
||||
current_dir().ok(),
|
||||
temp_dir(),
|
||||
), 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(
|
||||
home_directory: Option<PathBuf>,
|
||||
working_directory: Option<PathBuf>,
|
||||
|
||||
Reference in new issue
Block a user