diff --git a/README.md b/README.md index b71964f..76409f6 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,26 @@ new CborDecoder(bais).decode(new DataItemListener() { }); ``` +### GWT Usage + +The library can be used in GWT projects. +You just need to add the sources dependency to your project: + +```xml + + co.nstant.in + cbor + 0.9 + sources + +``` + +And the following inherits statement to your module file: + +```xml + +``` + ### Preserving order of map entries By default, [maps are encoded in canonical format](https://tools.ietf.org/html/rfc7049#section-3.9). diff --git a/src/main/resources/co/nstant/in/cbor.gwt.xml b/src/main/resources/co/nstant/in/cbor.gwt.xml new file mode 100644 index 0000000..7014a1d --- /dev/null +++ b/src/main/resources/co/nstant/in/cbor.gwt.xml @@ -0,0 +1,6 @@ + + + + +