summaryrefslogtreecommitdiffstats
path: root/examples/todos
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2025-01-28 18:29:58 +0100
committerLibravatar GitHub <noreply@github.com>2025-01-28 18:29:58 +0100
commit12c9277c7cdee702266ae4e11da9c7dd370b75d7 (patch)
treee38b635a65182de17e49a7cf54635c77123689e4 /examples/todos
parentce7eafcd63e411ab86df96ac70aefeb4a9247432 (diff)
parentf51ce47f375a6b187f1d97386b618f14b84c36a7 (diff)
downloadiced-12c9277c7cdee702266ae4e11da9c7dd370b75d7.tar.gz
iced-12c9277c7cdee702266ae4e11da9c7dd370b75d7.tar.bz2
iced-12c9277c7cdee702266ae4e11da9c7dd370b75d7.zip
Merge pull request #2761 from rhysd/replace-directories-next
Replace unmaintained `directories-next` crate with `directories` crate
Diffstat (limited to 'examples/todos')
-rw-r--r--examples/todos/Cargo.toml2
-rw-r--r--examples/todos/src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml
index 16f4fdd2..5d42a88d 100644
--- a/examples/todos/Cargo.toml
+++ b/examples/todos/Cargo.toml
@@ -15,7 +15,7 @@ uuid = { version = "1.0", features = ["v4", "fast-rng", "serde"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-std.workspace = true
-directories-next = "2.0"
+directories = "6.0"
tracing-subscriber = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs
index 7759552c..7faf742e 100644
--- a/examples/todos/src/main.rs
+++ b/examples/todos/src/main.rs
@@ -490,7 +490,7 @@ enum SaveError {
impl SavedState {
fn path() -> std::path::PathBuf {
let mut path = if let Some(project_dirs) =
- directories_next::ProjectDirs::from("rs", "Iced", "Todos")
+ directories::ProjectDirs::from("rs", "Iced", "Todos")
{
project_dirs.data_dir().into()
} else {