Skip to content

Commit

Permalink
chore(docs): Restore missing doc for codec-crate attribute (#576)
Browse files Browse the repository at this point in the history
* done

* bump version to `v3.6.10`

* Apply suggestions from code review

* Update Cargo.lock

* Update Cargo.lock

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
  • Loading branch information
gshep and bkchr committed Apr 3, 2024
1 parent d82f943 commit 67efb53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ The derive implementation supports the following attributes:
trait derivation of the corresponding trait, e.g. T in
`codec(encode_bound(skip_type_params(T)))` will not contain a `Encode` trait bound while
`Encode` is being derived for the annotated type.
- `codec(crate = path::to::crate)`: Specify a path to the parity-scale-codec crate instance to use
when referring to Codec APIs from generated code. This is normally only applicable when invoking
re-exported Codec derives from a public macro in a different crate.

## Known issues

Expand Down

0 comments on commit 67efb53

Please sign in to comment.