Merge pull request #610 from hecrj/improvement/update-dependencies
Update dependencies
This commit is contained in:
commit
73811c394a
12 changed files with 45 additions and 47 deletions
|
|
@ -8,4 +8,4 @@ publish = false
|
|||
[dependencies]
|
||||
iced_winit = { path = "../../winit" }
|
||||
iced_wgpu = { path = "../../wgpu" }
|
||||
env_logger = "0.7"
|
||||
env_logger = "0.8"
|
||||
|
|
|
|||
|
|
@ -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"] }
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
iced = { path = "../..", features = ["image", "debug"] }
|
||||
env_logger = "0.7"
|
||||
env_logger = "0.8"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue