Arjan Topolovec

Results 16 comments of Arjan Topolovec

Hacked together an initial POC in #107. We will probably have to do: - make a flag to disable/enable the behaviour (it can be quite disruptive for existing users) -...

@hoangtrucit Are you trying to use the new `SubscribeToShard` api?

I'll take a look at this tomorrow.

How about renaming `util::ByteString` to `Key` or `ByteStringKey`?

@canndrew The problem is that it is not easy to implement this it with the current Encodable/Decodable api. What would have to be done is to just make a mark...

The problem of calculating a hash came up before (https://github.com/arjantop/rust-bencode/issues/7), I agree that a better solution would be nice is a good solution is found. I would gladly accept bigger...

The only way to do this at the moment is to use custom FromBencode implementation

That was the plan for `Key` (should be renamed to be more general) but only custom encoding is implemented, there is a problem getting the required data from a decoder...

@aochagavia let me know if there are any issues with current implementation. But you still can't use deriving to get the implementation.

What does not work exactly? you just have to use util::ByteString namespaced or import it under a different name.