Comments (7)
I believe the find yesterday was that the install command should use --locked
and a PR was submitted and accepted yesterday too.
You may want to try cargo install cargo-component --locked
if memory serves.
from cargo-component.
Merged #288 and resolved this issue.
from cargo-component.
Yep, in warg-client
0.4.1 it's:
pub fn get_warg_registry(&self) -> &Option<RegistryDomain>
But in warg-client
0.4.2 (and 0.4.3) it's:
pub async fn get_warg_registry(
&self,
namespace: &str
) -> Result<Option<RegistryDomain>, ClientError>
I'll create an issue on the warg-client
repo as well, but I think it can be "hotfixed" (for cargo component) by locking the dependency version to 0.4.1
.
from cargo-component.
warg-protocol
also has a breaking change between 0.4.1
and 0.4.2
:
// 0.4.1
pub fn namespace_state(
&self,
namespace: &str
) -> Result<Option<&NamespaceState>, &str>
// 0.4.2
pub fn namespace_state(&self, namespace: &str) -> Option<&NamespaceState>
from cargo-component.
We are trying to find someone with permission to yank the warg
releases. The releases should have increased the minor version since there changes to the exported functions.
Also, #288 would fix.
from cargo-component.
Released 0.4.4
as a re-release of 0.4.1
that reverts the breaking changes. Also, we are in the progress of yanking 0.4.2
and 0.4.3
on crates.
from cargo-component.
Also, #288 would fix.
yea, I think it would be better to just switch to the 0.5.0
version of the warg crates and be done with it.
from cargo-component.
Related Issues (20)
- `cargo component check --workspace` should not generate bindings for workspace members without `[package.metadata.component]` set HOT 2
- `cargo-component` is not acquring a file lock for componentization
- Document the schema of the cargo-component Cargo.toml configuration HOT 1
- Hello world example fails when project name contains underscore HOT 1
- Add a `cargo component serve` subcommand that uses a default runner of `wasmtime serve`
- wit pubilsh --init fails to register the WIT package to wa.dev, while it successfully create a pacakge on the registry HOT 4
- Build fails with 'failed to create a target world for package ...' HOT 2
- Use something like nightly.link or a non-re-published release to avoid excess notifications
- Build error: `error: string size out of bounds (at offset {offset})` HOT 10
- Additional `import`s in generated component HOT 2
- Resource Static Methods Cause Build Failure When Imported HOT 5
- Wit package name/version validated against registry publishes
- Some wasi imports added per default into wit HOT 2
- cargo install cargo-component error HOT 5
- Minimum Supported Rust Version (MSRV)
- Bindings are sometimes incorrectly generated type + `Borrow` suffix vs `&` type HOT 2
- `cargo component add` not producing runnable/usable binaries
- Cargo Component install give error in RPI 4 (ARM CORTEX-A72) HOT 3
- Update to `-S cli` instead of `-S common` for wasmtime commands
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-component.