-
```
> wasm-pack build
[INFO]: 🎯 Checking for the Wasm target...
[INFO]: 🌀 Compiling to Wasm...
Compiling async-executor-demo v0.1.0 (/Users/kyle/github/rust/async-executor/example)
error[E03…
-
March 25th
finish up what's already planned
March 18th
Goal: have all new SDKs available by EOW
- [x] switch for Rust - target Mon
- [ ] switch for Typescript - target Wed - maybe
- [x] …
-
### Code
```Rust
pub trait HasError {
type Error;
}
pub trait Foo: HasError {
// removing `async` emits E0275 instead of hanging until OOM
async fn foo() -> Result;
}
pub st…
-
### Describe the bug
I am trying to create presigned URL for PutObject action using `aws-sdk-s3` crate. When I specify the value for `x-amz-checksum-sha256` header using [`checksum_sha256`](https:/…
-
I'd like to suggest a different error handling mechanism for this lambda runtime crate. As the majority of the Rust crates embrace [recoverable Errors](https://doc.rust-lang.org/book/ch09-02-recoverab…
miere updated
3 years ago
-
## Plan
### Macro
[libloading](https://docs.rs/libloading/latest/libloading/) seems to be the most widely used crate for dynamically loading the libraries. It's also [possible](https://github.co…
-
Currently, the DB trait is defined as follows:
```rust
pub trait DB {
fn init(&mut self) -> Result;
fn insert(&self, table: &str, key: &str, values: &HashMap) -> Result;
fn read(&se…
skyzh updated
2 years ago
-
**rust-analyzer version**: rust-analyzer 81b3e6d12 2022-05-06 dev
**rustc version**: rustc 1.60.0 (7737e0b5c 2022-04-04)
**relevant settings**: using lsp-mode on emacs 29.x.
To repro:
…
-
I no longer think the benefits of having `Notify` as a separate trait are worth the trade-off, since in practice, most `Notify`s have a point where they could end. Additionally, when using pasts I ha…
-
Hi Henry, Okay Anchor package has just been updated to 0.12.0, so I have updated the Rust program dependencies to Anchor 0.12.0 in the Cargo.toml file:
[dependencies]
anchor-lang = "0.12.0"
anchor-…