cratestack_cbor 0.8.0
cratestack_cbor: ^0.8.0 copied to clipboard
Native CBOR codec for CrateStack Dart/Flutter: flutter_rust_bridge (native, vendored) and wasm-bindgen (web, vendored), mirroring @cratestack/cbor conditional exports for JS.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cratestack_cborThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
cratestack_cbor: ^0.8.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cratestack_cbor/cratestack_cbor.dart';