-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
A-cargocargo related issuescargo related issuesA-project-modelproject model and workspace related issuesproject model and workspace related issuesB-unstableunstable featureunstable featureC-featureCategory: feature requestCategory: feature request
Description
Add an initial shebang support for "cargo script".
Cargo script is an experimental feature for single-file packages described in eRFC-3424.
The initial support would require to recognize and parse the shebang and handle the entire file as a single-file package.
Parsing the manifest would be out of the scope for the moment since it hasn't been stabilized yet. So there would not be support for external packages from crates.io
at the moment.
As an extra this initial support could be be beneficial also for other third party alternatives.
I am willing to help with this feature.
Cargo script tracking issue here.
Relates to: #9609
cc: @epage
NightMachinery, schneiderfelipe, Timmmm, taotien, fstephany and 21 moreschneiderfelipe, valentinegb, thevar1able, dream-dasher, tangowithfoxtrot and 2 moredream-dasher, musjj, skull-squadron and schneiderfelipe
Metadata
Metadata
Assignees
Labels
A-cargocargo related issuescargo related issuesA-project-modelproject model and workspace related issuesproject model and workspace related issuesB-unstableunstable featureunstable featureC-featureCategory: feature requestCategory: feature request