gecko-dev/third_party/rust/term
Mozilla Graphics Team 979c11a955 Bug 1317774 - Add webrender and dependencies. r=gfx
MozReview-Commit-ID: LwDx4WjJZI9

--HG--
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/app_units/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/app_units/.gitignore
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bincode/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-set/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-set/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-set/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-set/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-vec/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-vec/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-vec/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-vec/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bitflags/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bitflags/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bitflags/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cgl/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/cgl/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cgl/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cgl/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cmake/.cargo-ok
rename : third_party/rust/libz-sys/.travis.yml => third_party/rust/cmake/.travis.yml
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cmake/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cmake/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation-sys/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-graphics/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-graphics/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-graphics/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-text/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-text/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-text/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/deque/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/deque/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/deque/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/euclid/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/euclid/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/euclid/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/euclid/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/fnv/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/fnv/.gitignore
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/freetype/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/freetype/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/freetype/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gdi32-sys/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gl_generator/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gleam/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/gleam/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/gleam/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/heapsize/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/ipc-channel/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/ipc-channel/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/ipc-channel/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/ipc-channel/LICENSE-MIT
rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/ipc-channel/appveyor.yml
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/kernel32-sys/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/khronos_api/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/lazy_static/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/lazy_static/.gitignore
rename : third_party/rust/libc/src/unix/bsd/openbsdlike/mod.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/mod.rs
rename : third_party/rust/libc/src/unix/bsd/openbsdlike/netbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs
rename : third_party/rust/libc/src/unix/bsd/openbsdlike/openbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/mod.rs
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/log/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/log/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/log/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/log/LICENSE-MIT
rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/log/appveyor.yml
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/matches/LICENSE
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num-traits/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num_cpus/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/num_cpus/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/num_cpus/LICENSE-APACHE
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/offscreen_gl_context/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/offscreen_gl_context/.gitignore
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/osmesa-sys/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/osmesa-sys/.gitignore
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/post-expansion/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/quote/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rand/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rand/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rand/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rand/LICENSE-MIT
rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rand/appveyor.yml
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rayon/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rayon/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rayon/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/src/par_iter/misc.rs
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rustc-serialize/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT
rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rustc-serialize/appveyor.yml
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen_internals/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/servo-freetype-sys/.cargo-ok
rename : third_party/rust/libz-sys/src/zlib-1.2.8/zutil.h => third_party/rust/servo-freetype-sys/freetype2/src/gzip/zutil.h
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/shared_library/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/shared_library/.gitignore
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syn/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_errors/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_pos/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_syntax/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/term/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/term/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/term/LICENSE-MIT
rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/term/appveyor.yml
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/time/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/time/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/time/LICENSE-MIT
rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/time/appveyor.yml
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/unicode-xid/.cargo-ok
rename : third_party/rust/libz-sys/.gitignore => third_party/rust/unicode-xid/.gitignore
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/unicode-xid/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/unicode-xid/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/user32-sys/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/uuid/.cargo-ok
rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/uuid/LICENSE-APACHE
rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/uuid/LICENSE-MIT
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi-build/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/x11/.cargo-ok
rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/xml-rs/.cargo-ok
2016-11-16 08:54:51 -05:00
..
scripts
src
tests
.cargo-checksum.json
.cargo-ok
.gitignore
.travis.yml
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
appveyor.yml
rustfmt.toml

README.md

term

A Rust library for terminfo parsing and terminal colors.

Build Status Build status

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]

term = "*"

and this to your crate root:

extern crate term;

Packaging and Distributing

For all terminals but windows consoles, this library depends on a non-hashed (for now) terminfo database being present. For example, on Debian derivitives, you should depend on ncurses-term; on Arch Linux, you depend on ncurses; and on MinGW, you should depend on mingw32-terminfo.

Unfortunately, if you're using a non-windows console on Windows (e.g. MinGW, Cygwin, Git Bash), you'll need to set the TERMINFO environment variable to point to the directory containing the terminfo database.