docs.rs failed to build yoga-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
yoga-0.3.1
Yoga-rs
A Rust wrapper for Facebook's Yoga layout library.
You may also want to check out taffy (a revived fork of the abandoned stretch) as it is a pure Rust implementation.
Dependencies
- cargo
- rustc
Build
$ cargo build --release
Run Example
$ cargo run --release --example layout
Format Code
$ cargo +nightly fmt
Example Code
extern crate yoga;
use *;
use Node;
use ;
Testing
The unit tests are automatically generated based on upstream fixtures and should not be edited manually.
$ cargo test
To generate the test cases:
Download the ChromeDriver binary and put it somewhere in your $PATH
. Linux/MacOS example:
$ cp chromedriver /usr/local/bin
Then run the following