Results 179 comments of Arnav Singh

@Nemo157 I don't think that command is completely correct. With a crate that has a single dependency `chrono = "0.4"`, the `cargo metadata` command emits `-p chrono:0.4.13`. Running `cargo update...

Starting with a normal maximal versions lockfile doesn't change what I wrote. ``` $ cargo update $(cargo metadata --all-features --format-version 1 | jq -r '. as $root | .resolve.nodes[] |...

Here's a version that implements the algorithm I specified in my first comment's edit: ```rust cargo-update-minimal() { rm -f Cargo.lock cargo update -Z minimal-versions dep_names="$(cargo metadata --all-features --no-deps --format-version 1...

Yes, that was discussed in the comments that GH is auto-hiding.

I started https://github.com/Arnavion/dbus-pure for my own projects. It has the D-Bus type system, and a raw `Connection` type with `send(header, body)` and `recv() -> (header, body)` that implements the binary...

https://github.com/Arnavion/dbus-pure/blob/395d1d6332ad5883a4be9be0c3dc25d5b46cfd62/src/types/variant.rs#L7-L14 Enforcing that invariant is the caller's responsibility.

To clarify, when I say that `dbus-pure` uses `serde`, I don't mean that it exposes a `Deserializer` which the caller can use to deserialize message bodies as arbitrary structs. Similarly,...

>- `dbus-pure` looks like a very young project, only a few weeks old and not on crates.io. (The `dbus` crate is IIRC four years old.) What are your future plans...

>The C library is dual licensed under GPL and AFL, both allow you to study the source code. I'm aware. This is not acceptable reasoning for me. It's non-trivial to...

That's fine, then the codegen will need to inherit the `#[allow]` from the original struct [(which core Rust attributes do as well).](https://github.com/rust-lang/rust/blob/154c202afb256c379b7d454ec0244da69eaa2ced/src/libsyntax_ext/deriving/generic/mod.rs#L439-L448)