diff options
| author | 2025-01-28 18:29:58 +0100 | |
|---|---|---|
| committer | 2025-01-28 18:29:58 +0100 | |
| commit | 12c9277c7cdee702266ae4e11da9c7dd370b75d7 (patch) | |
| tree | e38b635a65182de17e49a7cf54635c77123689e4 /examples | |
| parent | ce7eafcd63e411ab86df96ac70aefeb4a9247432 (diff) | |
| parent | f51ce47f375a6b187f1d97386b618f14b84c36a7 (diff) | |
| download | iced-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 '')
| -rw-r--r-- | examples/todos/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/todos/src/main.rs | 2 | 
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 {  | 
