-
Notifications
You must be signed in to change notification settings - Fork 34
/
Cargo.toml
38 lines (33 loc) · 1.2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "owo-colors"
version = "4.1.0"
rust-version = "1.70"
authors = ["jam1garner <[email protected]>"]
edition = "2021"
documentation = "https://docs.rs/owo-colors"
repository = "https://github.com/jam1garner/owo-colors"
description = "Zero-allocation terminal colors that'll make people go owo"
license = "MIT"
readme = "README.md"
keywords = ["cli", "color", "no-std", "terminal", "ansi_term"]
categories = ["command-line-interface"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]
[[example]]
name = "supports_color"
required-features = ["supports-colors"]
[[example]]
name = "override"
required-features = ["supports-colors"]
[features]
# Enable conversions from all versions of supports-color, but only use the latest to determine if
# colors are actually supported.
#
# Don't use dep:supports-color because it's possible there's a broken crate in the wild which uses
# the nonfunctional "supports-color" feature.
supports-colors = ["dep:supports-color-2", "supports-color"]
alloc = []
[dependencies]
supports-color-2 = { package = "supports-color", version = "2.0", optional = true }
supports-color = { version = "3.0.0", optional = true }