-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a
package.metadata.component.proxy
setting. (#221)
This commit adds a `package.metadata.component.proxy` setting to `Cargo.toml` that controls whether or not to use the `wasi:http/proxy` specific adapter. This option can be set when creating a project with `cargo component new --lib --proxy`. The `wasi:http/proxy` adapter is now built-in to `cargo-component`; it adapters from preview1 in a way that ensures the resulting component conforms to the `wasi:http/proxy` world. Additionally, the `--command` option has been renamed to `--bin`, with an alias for `--command` for backwards compatibility.
- Loading branch information
1 parent
b8858b8
commit c2f294d
Showing
8 changed files
with
146 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters