Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
Crate separation
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Vojta <[email protected]>
  • Loading branch information
zrzka committed Sep 25, 2019
1 parent e600eab commit 13f6c08
Show file tree
Hide file tree
Showing 147 changed files with 93 additions and 10,793 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/crossterm_test.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
target/
.idea/
.vscode/
**/target/
**/.idea/
**/.vscode/
**/*.rs.bk
Cargo.lock
**/Cargo.lock
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Set up the Rust toolchain.
language: rust

rust:
Expand Down Expand Up @@ -28,5 +27,4 @@ script:
- rustc --version
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then cargo fmt --all -- --check; fi
- cargo build
- cargo test --all -- --nocapture --test-threads 1
- scripts/test-examples.sh
- cargo test --all-features -- --nocapture --test-threads 1
16 changes: 12 additions & 4 deletions crossterm_cursor/CHANGELOG.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Changes crossterm_cursor 0.3
# Version 0.3.1

- Maintenance release only
- Moved to a [separate repository](https://github.com/crossterm-rs/crossterm-cursor)

# Version 0.3.0

- `TerminalCursor::pos()` returns `crossterm::Result<(u16, u16)>`
- `TerminalCursor::move_*` returns `crossterm::Result`
- `TerminalCursor::reset_position()` to `restore_position()`
Expand All @@ -8,8 +14,10 @@
- `QueueableCommand::queue` returns `crossterm::Result`
- Command API takes mutable self instead of self

# Changes crossterm_cursor 0.2
# Version 0.2.0

- Removed `TerminalCursor::from_output()`

# Changes crossterm_cursor 0.1
- Moved out of `crossterm` 5.4 crate.
# Version 0.1.0

- Moved out of `crossterm` 5.4 crate.
50 changes: 10 additions & 40 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,49 +1,19 @@
[package]
name = "crossterm"
version = "0.11.0"
name = "crossterm_cursor"
version = "0.3.1"
authors = ["T. Post"]
description = "An crossplatform terminal library for manipulating terminals."
repository = "https://github.com/crossterm-rs/crossterm"
documentation = "https://docs.rs/crossterm/"
description = "A cross-platform library for moving the terminal cursor."
repository = "https://github.com/crossterm-rs/crossterm-cursor"
documentation = "https://docs.rs/crossterm_cursor/"
license = "MIT"
keywords = ["console", "color", "cursor", "input", "terminal"]
keywords = ["cursor", "cli", "crossterm", "crossplatform", "terminal"]
exclude = ["target", "Cargo.lock"]
readme = "README.md"
edition = "2018"

[features]
default = ["cursor", "style","terminal","screen","input"]

cursor = ["crossterm_cursor"]
style = ["crossterm_style"]
terminal = ["crossterm_terminal"]
screen = ["crossterm_screen"]
input = ["crossterm_input"]

[workspace]

members = [
"crossterm_winapi",
"crossterm_utils",
"crossterm_cursor",
"crossterm_style",
"crossterm_terminal",
"crossterm_input",
"crossterm_screen"
]

exclude = [
"examples/program_examples"
]
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["wincon", "winnt", "minwindef"] }
crossterm_winapi = { version = "0.2.1" }

[dependencies]
crossterm_screen = { path = "./crossterm_screen", version = "0.3.0" , optional = true }
crossterm_cursor = { path = "./crossterm_cursor", version = "0.3.0" , optional = true }
crossterm_terminal = { path = "./crossterm_terminal", version = "0.3.0", optional = true }
crossterm_style = { path = "./crossterm_style", version = "0.5.0" , optional = true }
crossterm_input = { path = "./crossterm_input", version = "0.4.0" , optional = true }
crossterm_utils = { path = "./crossterm_utils", version = "0.3.0" , optional = false }

[lib]
name = "crossterm"
path = "src/lib.rs"
crossterm_utils = { version = "0.3.1" }
Loading

0 comments on commit 13f6c08

Please sign in to comment.