-
@sdroege asked me the following on IRC, and I .. wasn't sure of the answer:
> nmatsakis: if i have a repr(C) enum with values A=1, B=2. and a C function with that enum as return type returns "3", i…
-
I am testing out the new JsonString functionality and having this strange errors:
Here's my Zome's "lib.rs":
```rust
#![feature(try_from)]
#[macro_use]
extern crate hdk;
extern crate serde;
…
-
Treats `#[derive(Anything)]` like `#[derive_Anything]`. Tracking for stabilization.
-
This is a Go2 Proposal
Struct tags are one of Go's great hacks, but they are being exploited more and more to embed DSLs into Go that cannot be checked by the compiler.
Struct tags create impli…
-
My use case is object mapping to and from case classes to `Map`-like structures such as Jackson's
[ObjectNode](https://fasterxml.github.io/jackson-databind/javadoc/2.5/com/fasterxml/jackson/databin…
-
Currently `rustc` will allow for extra fields to be added to flexible target json without notifying the user, even with `--verbose`. For example, the following is accepted:
``` json
{
"THIS-IS-I…
ghost updated
6 years ago
-
Deserialization, using `.try_into()` doesn't seem to work for types wrapped into the `Option` enum because of a mismatch between the conversion errors.
This minimal example, based on the example fr…
-
## Setup
### Versions
- **Rust:**`rustc 1.30.1 (1433507eb 2018-11-07)`
- **Diesel:** `1.3.3`
- **Database:** SQLite `3.25.3 2018-11-05 20:37:38 9e099fbe5e13c33e683bef07361231ca525b88f7907be709…
-
* `u0` is not actually an integer type (it's [backed](https://github.com/ziglang/zig/blob/dd5b2d1/src/analyze.cpp#L5930) by `void`) and does not hold anything.
* `void` already accomplishes what `u0`…
-
I've built a Juniper-based GraphQL server this week and now I'd like to execute tests against it. This project seems like the best way to do so from Rust, and so I'm trying to generate a schema for my…