Files
third_party_rust_unicode-width/Cargo.toml
T
Alex Crichton 6d2b463861 Update support for being built in rust-lang/rust
This commit updates the support necessary for this crate to be built as
a dependency of `getopts` which is a dependency of the `test` crate
which is built in rust-lang/rust. This change will be required to land
rust-lang/rust#63637 where Rust's build system is being tweaked
slightly. This is intended to not have any impact on other users of this
crate and the `Cargo.toml` features here should only be used by Rust's
own build system.
2019-08-19 08:16:11 -07:00

30 lines
860 B
TOML

[package]
name = "unicode-width"
version = "0.1.5"
authors = ["kwantam <kwantam@gmail.com>"]
homepage = "https://github.com/unicode-rs/unicode-width"
repository = "https://github.com/unicode-rs/unicode-width"
documentation = "https://unicode-rs.github.io/unicode-width"
license = "MIT/Apache-2.0"
keywords = ["text", "width", "unicode"]
readme = "README.md"
description = """
Determine displayed width of `char` and `str` types
according to Unicode Standard Annex #11 rules.
"""
exclude = [ "target/*", "Cargo.lock" ]
[dependencies]
std = { version = "1.0", package = "rustc-std-workspace-std", optional = true }
core = { version = "1.0", package = "rustc-std-workspace-core", optional = true }
compiler_builtins = { version = "0.1", optional = true }
[features]
default = []
no_std = []
bench = []
rustc-dep-of-std = ['std', 'core', 'compiler_builtins']