Giter VIP home page Giter VIP logo

juice-rs's Introduction

libjuice-rs latest doc

Rust bindings for libjuice. Look at datachannel-rs if you need more batteries.

Usage

Please refer to tests, also refer to the original library tests.

Building

Currently, only static linking with the libjuice is supported.

You need to have:

Clone repository recursively:

$ git clone https://github.com/VollmondT/juice-rs.git --recursive

Play with tests:

$ cd juice-rs
$ cargo test

juice-rs's People

Contributors

vollmondt avatar

Stargazers

 avatar Trent avatar Sergei Boiko avatar Romain Leroux avatar Paul-Louis Ageneau avatar

Watchers

Paul-Louis Ageneau avatar  avatar Sergei Boiko avatar

juice-rs's Issues

Build failed under Windows + MinGW

   Compiling libjuice-rs v0.1.0
     Running `rustc --crate-name libjuice_rs --edition=2021 D:\users\vladislemon\.cargo\registry\src\github.com-1ecc6299db9ec823\libjuice-rs-0.1.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incom
pat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=f13c15a9d775d103 -C extra-filename=-f13c15a9d775d103 --out-dir D:\projects\chai\chai-client-rust-test\target\debug\deps -L dependency=
D:\projects\chai\chai-client-rust-test\target\debug\deps --extern lazy_static=D:\projects\chai\chai-client-rust-test\target\debug\deps\liblazy_static-354ad49c9ff1950b.rmeta --extern libjuice_sys=D:\projects\chai\chai-client-rust-tes
t\target\debug\deps\liblibjuice_sys-36056b0a8738269e.rmeta --extern log=D:\projects\chai\chai-client-rust-test\target\debug\deps\liblog-bb1929845a173c62.rmeta --cap-lints allow -L native=D:\projects\chai\chai-client-rust-test\target
\debug\build\libjuice-sys-23544e886a6c352c\out/build/Debug`
error: could not find native static library `juice-static`, perhaps an -L flag is missing?

error: could not compile `libjuice-sys` due to previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name libjuice_sys --edition=2021 D:\users\vladislemon\.cargo\registry\src\github.com-1ecc6299db9ec823\libjuice-sys-0.9.7\src\lib.rs --error-format=json --json=diagnostic-rendered-an
si,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=36056b0a8738269e -C extra-filename=-36056b0a8738269e --out-dir D:\projects\chai\chai-client-rust-test\target\
debug\deps -L dependency=D:\projects\chai\chai-client-rust-test\target\debug\deps --cap-lints allow -L native=D:\projects\chai\chai-client-rust-test\target\debug\build\libjuice-sys-23544e886a6c352c\out/build/Debug -l static=juice-st
atic` (exit code: 1)

I see you check Windows as special case, but for my setup (windows + mingw) it breaks things up. I don't have Debug directory inside build.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.