Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
feat: Added an "entrypoint" field to the "[package]" table (fixes #15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Jul 20, 2023
1 parent 9e3febd commit d6bce6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ pub struct Package {
skip_serializing_if = "std::ops::Not::not"
)]
pub rename_commands_to_raw_command_name: bool,
/// The name of the command that should be used by `wasmer run` by default.
#[serde(skip_serializing_if = "Option::is_none")]
pub entrypoint: Option<String>,
}

#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
Expand Down

0 comments on commit d6bce6b

Please sign in to comment.