sdl2_ttf 0.0.3

SDL2_ttf bindings for Rust
docs.rs failed to build sdl2_ttf-0.0.3
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: sdl2_ttf-0.25.1

Rust-SDL2_ttf

Build Status

Rust bindings for SDL2_ttf.

Requirements

  • Rust-sdl2
  • sdl_ttf 2.0 development libraries
  • Rust master

Installation

# compile your rust-sdl2 somewhere
git clone https://github.com/andelf/rust-sdl2_ttf
cd rust-sdl2_ttf
cargo build
# TODO: OR if you are using the mac framework version
rustc -L. --cfg mac_framework src/sdl2_ttf/lib.rs

For cargo:

[dependencies]
sdl2_ttf = "$version-here$"

or

[dependencies.sdl2_ttf]
git = "https://github.com/andelf/rust-sdl2_ttf"

Demo

cargo run font.[ttf|ttc|fon]