biscuit-rust
biscuit-rust copied to clipboard
WIP: remove `ToAnyParam` and use `Into<Param>` instead
Continuation of #302
The goal is to:
- remove the possibility of passing a public key where a term is expected
- remove
ToAnyParamin favor ofInto<AnyParam>for simplicity - (possibly) extend the passing of public keys to support multiple keys at once, and keywords.
The main difference is that ToAnyParam takes a reference, while Into consumes its input.
todo
- [x] try using
Into<Term>instead ofT: ToAnyParam - [ ] try using
Into<(PublicKey, Vec<PublicKey>)>instead ofPublicKey