terminal-size - add dev-dependency on libc
Peter Michael Green
1 year, 6 months ago
|
0 |
rust-terminal-size (0.2.1-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
|
1 |
|
|
2 |
* Team upload.
|
|
3 |
* Package terminal_size 0.2.1 from crates.io using debcargo 2.5.0
|
|
4 |
* Add a dev-dependency on libc, terminal-size has switched from libc
|
|
5 |
to rustix, but my code to create a terminal for testing still needs
|
|
6 |
libc (and rustix does not seem to offer equivilent functionality).
|
|
7 |
|
|
8 |
-- Peter Michael Green <plugwash@debian.org> Sun, 30 Oct 2022 20:27:02 +0000
|
|
9 |
|
0 | 10 |
rust-terminal-size (0.2.1-1) unstable; urgency=medium
|
1 | 11 |
|
2 | 12 |
* Team upload.
|
60 | 60 |
assert_eq!(rows, h);
|
61 | 61 |
assert_eq!(cols, w);
|
62 | 62 |
} else {
|
|
63 |
Index: terminal-size/Cargo.toml
|
|
64 |
===================================================================
|
|
65 |
--- terminal-size.orig/Cargo.toml
|
|
66 |
+++ terminal-size/Cargo.toml
|
|
67 |
@@ -31,6 +31,9 @@ repository = "https://github.com/eminenc
|
|
68 |
version = "0.35.7"
|
|
69 |
features = ["termios"]
|
|
70 |
|
|
71 |
+[target."cfg(not(windows))".dev-dependencies.libc]
|
|
72 |
+version = "0.2"
|
|
73 |
+
|
|
74 |
[target."cfg(windows)".dependencies.windows-sys]
|
|
75 |
version = "0.36.0"
|
|
76 |
features = [
|
1 | 1 |
===================================================================
|
2 | 2 |
--- terminal-size.orig/Cargo.toml
|
3 | 3 |
+++ terminal-size/Cargo.toml
|
4 | |
@@ -31,9 +31,9 @@ repository = "https://github.com/eminenc
|
5 | |
version = "0.35.7"
|
6 | |
features = ["termios"]
|
|
4 |
@@ -34,9 +34,9 @@ features = ["termios"]
|
|
5 |
[target."cfg(not(windows))".dev-dependencies.libc]
|
|
6 |
version = "0.2"
|
7 | 7 |
|
8 | 8 |
-[target."cfg(windows)".dependencies.windows-sys]
|
9 | 9 |
-version = "0.36.0"
|