@uniflow-io/rust-client

    1.0.2 • Public • Published

    rust-client

    This is official Rust Client for Uniflow

    using with mini-v8

    $ sudo gem install libv8 $ export V8_PATH=/Library/Ruby/Gems/2.6.0/gems/libv8-7.3.492.27.1-universal-darwin-19/vendor/v8 $ cargo run -- --api-key={your-api-key} [--env=dev] program

    (hold) using with v8 + Docker

    $ docker-compose run uniflow-rust-client bash $ cargo run

    (hold) using with v8

    Compile V8 (Mac) : From https://v8.dev/docs/build

    install Xcode and accept its license agreement

    $ (cd /usr/local/lib & git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git chromium_depot_tools) $ export PATH=$PATH:/usr/local/lib/chromium_depot_tools >> ~/.zprofile

    $ (cd /usr/local/lib & git clone https://chromium.googlesource.com/v8/v8.git) $ cd /usr/local/lib/v8 $ fetch v8 $ cd v8 $ git pull $ git checkout -t tags/7.1.1 $ gclient sync $ gn gen out.gn/x64.release --args='is_debug=false target_cpu="x64" v8_target_cpu="x64" v8_use_snapshot=false' $ ninja -C out.gn/x64.release

    $ export V8_SOURCE=/usr/local/lib/v8/v8 $ export V8_LIBS=/usr/local/lib/v8/v8/out.gn/x64.release/obj $ cargo run -- --api-key={your-api-key} [--env=dev] program

    Install

    npm i @uniflow-io/rust-client

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    82.1 kB

    Total Files

    14

    Last publish

    Collaborators

    • matyo91