iced-rs / iced

A cross-platform GUI library for Rust, inspired by Elm
https://iced.rs
MIT License
22.96k stars 1.06k forks source link

command::Action is used in the public API but is not re-exported #2383

Open dataphract opened 1 month ago

dataphract commented 1 month ago

Is there an existing issue for this?

Is this issue related to iced?

What happened?

iced_runtime::command::Action is used as a parameter to Command::new and in the return value of Command::actions, but unlike Command it can't be used without adding a direct dependency on iced_runtime. This also causes broken or missing links in the rustdoc (see the Command docs).

What is the expected behavior?

Action should be useable from e.g. iced::command::Action.

Version

crates.io release

Operating System

Linux

Do you have any log output?

No response