Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ jobs:
mv siblings/rusty-testkit ../rusty-testkit
mv siblings/rusty-ultraviolet ../rusty-ultraviolet
mv siblings/rusty-x-ansi ../rusty-x-ansi
- name: Verify sibling dependency source identity
run: |
cargo tree --package rusty-bubbletea --invert rusty-colorprofile@0.4.3
cargo tree --package rusty-bubbletea --invert rusty-x-ansi@0.11.7
- name: Format
run: cargo fmt --all --check
- name: Lint
Expand Down
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ rusty-bubbles = { version = "2.1.0", path = "../rusty-bubbles" }
[target.'cfg(unix)'.dev-dependencies]
rusty-testkit = { version = "0.1.1", path = "../rusty-testkit" }

[patch.crates-io]
# Root patches are required because Cargo ignores patch sections declared by
# dependencies such as rusty-ultraviolet. Keep every sibling edge on one source.
rusty-colorprofile = { path = "../rusty-colorprofile" }
rusty-x-ansi = { path = "../rusty-x-ansi" }

[lib]
name = "rusty_bubbletea"
path = "src/lib.rs"
2 changes: 1 addition & 1 deletion UPSTREAM_MAPPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ byte-for-byte.
| `tutorials/basics/main.go` | `examples/tutorial_basics.rs` | Tutorial: counter; quits on 'q' |
| `tutorials/commands/main.go` | `examples/tutorial_commands.rs` | Tutorial: commands; quits on 'q' |

Rust-only portability regression coverage is maintained in `tests/windows_platform.rs`; it
Rust-only portability regression coverage is maintained in `tests/windows_tty.rs`; it
exercises the Windows raw-mode and terminal-restoration boundary that has no standalone
upstream Go test file. The PTY-driven `tests/interactive.rs` suite remains Unix-gated because
its real pseudo-terminal dependency is intentionally not claimed as native Windows support.
Expand Down
2 changes: 0 additions & 2 deletions tests/interactive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
//! interactive behavior (typing, navigating, mouse clicks) that a byte-level
//! key-sweep cannot.

#![cfg(unix)]

use rusty_testkit::PtySession;

/// The package's Cargo target directory. `cargo metadata` is authoritative:
Expand Down
17 changes: 0 additions & 17 deletions tests/windows_platform.rs

This file was deleted.

Loading