Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 658 Bytes

setting_up.md

File metadata and controls

34 lines (23 loc) · 658 Bytes

Setting Up

Initialize a Cargo project.

cargo new my_project

where my_project is the name of the project.

Add Iced to the project dependencies.

cd my_project
cargo add iced

You should see the dependency in the end of Cargo.toml file.

[dependencies]
iced = "0.12.1"

Note: If you encounter WGPU Error, you can disable wgpu in Cargo.toml file.

[dependencies]
iced = { version = "0.12.1", default-features = false }

➡️ Next: First App - Hello World!

📘 Back: Table of contents