diff --git a/Cargo.toml b/Cargo.toml index 7363a47..d423d0b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "iced_file_tree" -version = "0.1.5" +version = "0.2.0" edition = "2021" license = "MIT" description = "A lightweight file tree widget for the iced toolkit." repository = "https://github.com/edwloef/iced_file_tree" readme = "README.md" categories = ["gui"] -rust-version = "1.81" +rust-version = "1.82" [dependencies] iced = { version = "0.13.1", default-features = false, features = [ diff --git a/README.md b/README.md index f4796f1..729b00d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Include `iced_file_tree` as a dependency in your `Cargo.toml`: ```toml [dependencies] iced = "0.13.1" -iced_file_tree = "0.1.0" +iced_file_tree = "0.2.0" ``` ### Example @@ -28,7 +28,7 @@ enum Message { } fn view(state: &State) -> Element<'_, Message> { - let path: PathBuf = /* */ + let path: PathBuf = // ... scrollable( file_tree(path) diff --git a/src/file_tree.rs b/src/file_tree.rs index b3666cd..98bf463 100644 --- a/src/file_tree.rs +++ b/src/file_tree.rs @@ -29,7 +29,7 @@ use std::{ /// } /// /// fn view(state: &State) -> Element<'_, Message> { -/// let path: PathBuf = /* */ +/// let path: PathBuf = // ... /// /// scrollable( /// file_tree(path) diff --git a/src/lib.rs b/src/lib.rs index c440c5b..0d897d1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,7 +11,7 @@ //! } //! //! fn view(state: &State) -> Element<'_, Message> { -//! let path: PathBuf = /* */ +//! let path: PathBuf = // ... //! //! scrollable( //! file_tree(path)