Metadata-Version: 2.1
Name: cfbc
Version: 0.1.6
Summary: CFB code generator
Home-page: http://github.com/nervosnetwork/cfb
Author: Nervos Core Dev
Author-email: dev@nervos.org
License: MIT
Description: # CFB Encoding
        
        ## [![Build Status](https://travis-ci.com/nervosnetwork/cfb.svg?branch=master)](https://travis-ci.com/nervosnetwork/cfb)
        
        CFB (Canonical FlatBuffers) is a restricted variant of FlatBuffers for producing unequivocal transfer syntax.
        
        ## Usage
        
        Install the code geneartor as commane line utility:
        
        ```
        pip install cfbc
        ```
        
        First generate bfbs file from fbs:
        
        ```
        flatc -b --schema example.fbs
        ```
        
        Then generate rust files from bfbs:
        
        ```
        cfbc example.bfbs
        ```
        
        ### Use Verifier with flatbuffers rust
        
        Add the generated `<name>_generated_verifier.rs` to the project. This file
        depends on the crate `flatbuffers`.
        
        The file defines a function `get_root`, which is intended to replace the
        function with the same name in `flatbuffers`. This function will verify the
        buffer, and returns a `Result` to indicate whether the buffer is valid.
        
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Description-Content-Type: text/markdown
