Codebase list rust-libslirp / afc3e76
terminal-size - add dev-dependency on libc Peter Michael Green 1 year, 6 months ago
3 changed file(s) with 27 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
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
010 rust-terminal-size (0.2.1-1) unstable; urgency=medium
111
212 * Team upload.
6060 assert_eq!(rows, h);
6161 assert_eq!(cols, w);
6262 } 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 = [
11 ===================================================================
22 --- terminal-size.orig/Cargo.toml
33 +++ 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"
77
88 -[target."cfg(windows)".dependencies.windows-sys]
99 -version = "0.36.0"