summaryrefslogtreecommitdiffstats
path: root/examples/todos
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-11-11 18:06:27 +0100
committerLibravatar GitHub <noreply@github.com>2020-11-11 18:06:27 +0100
commit73811c394a39c3816c67bffd2cf7d7a93c8803a9 (patch)
treebabd079fff2163d147d3d2cec429b17d04a1af9c /examples/todos
parent2f5a3dacd933a52931a1bb169138d52402413956 (diff)
parent0400f6716bfb7bcae7d7e464e79e400f3ccc2368 (diff)
downloadiced-73811c394a39c3816c67bffd2cf7d7a93c8803a9.tar.gz
iced-73811c394a39c3816c67bffd2cf7d7a93c8803a9.tar.bz2
iced-73811c394a39c3816c67bffd2cf7d7a93c8803a9.zip
Merge pull request #610 from hecrj/improvement/update-dependencies
Update dependencies
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 b236cc0d..c8926c33 100644
--- a/examples/todos/Cargo.toml
+++ b/examples/todos/Cargo.toml
@@ -12,7 +12,7 @@ serde_json = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-std = "1.0"
-directories = "2.0"
+directories-next = "2.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = ["Window", "Storage"] }
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs
index 7a546815..f88e9869 100644
--- a/examples/todos/src/main.rs
+++ b/examples/todos/src/main.rs
@@ -499,7 +499,7 @@ enum SaveError {
impl SavedState {
fn path() -> std::path::PathBuf {
let mut path = if let Some(project_dirs) =
- directories::ProjectDirs::from("rs", "Iced", "Todos")
+ directories_next::ProjectDirs::from("rs", "Iced", "Todos")
{
project_dirs.data_dir().into()
} else {