dioxus/packages
Raman Hafiyatulin 098689083d
Related to #1547: use dioxus-cli within a workspace (wildcard-members, real package names) (#1642)
* Related to #1547: use `dioxus-cli` within a workspace

Although the `dx` CLI allows to specify a package name to chose from workspace members,
it does not support workspace members specified as glob-wildcards.
Neither it respects the effective package name, specified in the crate's `Cargo.toml`.

This PR addresses that issue:
- upon `dx build ...`, if the `--bin` CLI-argument is provided, treat the current dir as a workspace;
- search through the workspace's `members`: resolve each of them with `glob`;
- assume that any workspace member has a `Cargo.toml` in it (cargo does it, so it's okay);
- read said manifest, and check the package name in it;
- if found — there we have our sought package.

* Use cargo-metadata to find out the workspace structure

* glob is unused
2023-11-15 15:14:16 -06:00
..
autofmt Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
check Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
cli Related to #1547: use dioxus-cli within a workspace (wildcard-members, real package names) (#1642) 2023-11-15 15:14:16 -06:00
core fix clippy 2023-10-25 16:47:04 -05:00
core-macro Allow warning in necessary functions (#1626) 2023-11-09 12:31:59 -06:00
desktop Make window invisible until the first render (#1588) 2023-10-29 13:09:07 -05:00
dioxus Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
dioxus-tui Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
extension Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
fermi Update atom_root.rs (#1611) 2023-11-04 14:04:14 -05:00
fullstack Updated server_fn to 0.5.2 (#1620) 2023-11-08 08:33:41 -06:00
generational-box Fix typo in generational box readme 2023-10-19 13:03:26 -05:00
hooks fix clippy 2023-10-14 14:32:08 -05:00
hot-reload feat: Optional web support for hot-reload crate (#1527) 2023-10-20 12:59:49 -05:00
html add must use to several hooks 2023-10-14 12:08:54 -05:00
interpreter feat: initial_checked attribute for inputs (#1540) 2023-10-12 08:12:09 -05:00
liveview Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
mobile Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
native-core Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
native-core-macro Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
rink Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
router Implement LiveView Router Integration (#1505) 2023-10-26 14:19:51 -05:00
router-macro Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
rsx Add into_vnode temporary logic for more things 2023-10-17 15:42:21 -07:00
rsx-rosetta Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
server-macro Updated server_fn to 0.5.2 (#1620) 2023-11-08 08:33:41 -06:00
signals Merge pull request #1551 from ealmloff/fix-signals-outside-of-runtime 2023-10-23 15:32:12 -04:00
ssr Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
web fix the scroll event on the web renderer 2023-11-02 21:00:43 -05:00