diff --git a/Cargo.toml b/Cargo.toml deleted file mode 100644 index c1e3c40..0000000 --- a/Cargo.toml +++ /dev/null @@ -1,28 +0,0 @@ -[workspace] -members = [ - "dog-app", - "ecommerce-site", - "file-explorer", - "image_generator_open_ai", - "ios_demo", - "jsframework-benchmark", - "todomvc", - "weatherapp", - "wifi-scanner", -] - -# This is a "virtual package" -# It is not meant to be published, but is used so "cargo run --example XYZ" works properly -[package] -name = "dioxus-example-projects" -version = "0.0.1" -edition = "2021" -description = "Top level crate for the Dioxus examples repository" -authors = ["Jonathan Kelley"] -license = "MIT OR Apache-2.0" -repository = "https://github.com/DioxusLabs/dioxus/" -homepage = "https://dioxuslabs.com" -documentation = "https://dioxuslabs.com" -keywords = ["dom", "ui", "gui", "react", "wasm"] -rust-version = "1.60.0" -publish = false diff --git a/file-explorer/Cargo.toml b/file-explorer/Cargo.toml index c0b1795..b381e82 100644 --- a/file-explorer/Cargo.toml +++ b/file-explorer/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "file-explorer" edition = "2021" +version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/file-explorer/src/main.rs b/file-explorer/src/main.rs index 7e33c15..272943a 100644 --- a/file-explorer/src/main.rs +++ b/file-explorer/src/main.rs @@ -56,6 +56,7 @@ fn App() -> Element { } } +#[derive(Debug)] struct File { is_directory: bool, name: String,