forked from clap-rs/term_size-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
72 lines (62 loc) · 1.69 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "term_size"
version = "1.0.0-beta1"
authors = ["Kevin K. <[email protected]>", "Benjamin Sago <[email protected]>"]
exclude = []
description = "functions for determining terminal sizes and dimensions"
repository = "https://github.com/kbknapp/term_size-rs.git"
documentation = "https://docs.rs/term_size/"
readme = "README.md"
license = "MIT/Apache-2.0"
keywords = ["term", "terminal", "size", "width", "dimension"]
categories = ["command-line-interface"]
[badges]
travis-ci = {repository = "kbknapp/term_size-rs"}
appveyor = {repository = "kbknapp/term_size-rs"}
[dependencies]
clippy = { version = "0.0.175", optional = true }
[target.'cfg(not(target_os = "windows"))'.dependencies]
libc = "0.2.20"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["wincon", "processenv", "winbase"] }
[features]
default = []
lints = ["clippy", "nightly"]
nightly = [] # for building with nightly and unstable features
unstable = [] # for building with unstable features on stable Rust
debug = [] # for building with debug messages
travis = ["lints", "nightly"] # for building with travis-cargo
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
# codegen-units ignored with lto=true
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4
[profile.test]
opt-level = 1
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 2
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
[profile.doc]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4