diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-10-20 12:47:36 +0200 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-10-20 12:51:08 +0200 |
| commit | e7509d41405a1f5af64f2f74166f2bc5f1673225 (patch) | |
| tree | c2e56fb086d83938d4c40238afccc66f925caacb /Cargo.toml | |
| parent | fix: markdown `Viewer` impl (diff) | |
| download | iced_selection-e7509d41405a1f5af64f2f74166f2bc5f1673225.tar.gz | |
feat: make markdown support optional with a feature flag
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -13,16 +13,23 @@ categories = ["gui"] keywords = ["gui", "ui", "graphics", "interface", "widgets"] rust-version = "1.88" +[features] +default = [] +markdown = ["iced_widget/markdown"] + [dependencies] -iced_widget = { git = "https://github.com/iced-rs/iced", features = [ - "markdown", -] } -unicode-segmentation = "1.0" +iced_widget.workspace = true +unicode-segmentation.workspace = true -[dev-dependencies] -iced = { git = "https://github.com/iced-rs/iced", features = ["markdown"] } +[workspace.dependencies] +iced_widget = { git = "https://github.com/iced-rs/iced" } +unicode-segmentation = "1.0" +iced = { git = "https://github.com/iced-rs/iced" } open = "5.3" +[workspace] +members = ["examples/*"] + [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] all-features = true |
