Skip to content

new: use top-level [workspace] Cargo.toml#97

Merged
nick1udwig merged 1 commit intomasterfrom
hf/templates-use-workspace
Feb 23, 2024
Merged

new: use top-level [workspace] Cargo.toml#97
nick1udwig merged 1 commit intomasterfrom
hf/templates-use-workspace

Conversation

@nick1udwig
Copy link
Copy Markdown
Member

Problem

#90: use top-level Cargo.toml in templates with [workspace] field.

Solution

Resolves #90 by adding that Cargo.toml.

Docs Update

N/A

Notes

Please try creating a template and let me know if this change makes the Rust analyzer happier. E.g., something like

# Install this branch's kit
cargo install --path .

# Create the package from template.
kit n foo -t file_transfer

# Edit files like file_transfer/file_transfer/src/lib.rs or file_transfer/worker/src/lib.rs

@nick1udwig nick1udwig requested a review from jaxs-ribs February 23, 2024 20:25
Copy link
Copy Markdown

@jaxs-ribs jaxs-ribs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, and LGTM!

@nick1udwig nick1udwig merged commit f409ddf into master Feb 23, 2024
@nick1udwig nick1udwig deleted the hf/templates-use-workspace branch February 23, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add top-level workspace Cargo.toml to templates?

2 participants