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

Commit

Permalink
Merge pull request #1 from crossterm-rs/zrzka/0.3.1-separation
Browse files Browse the repository at this point in the history
Crate separation
  • Loading branch information
zrzka authored Sep 25, 2019
2 parents e600eab + abe4326 commit 6dd48c6
Show file tree
Hide file tree
Showing 148 changed files with 112 additions and 10,926 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
19 changes: 14 additions & 5 deletions crossterm_terminal/CHANGELOG.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Changes crossterm_terminal 0.3.0
# Version 0.3.1

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

# Version 0.3.0

- `Terminal::terminal_size` to `Terminal::size`
- `Terminal::size()` returns `Result<(u16, u16)>`
- Return written bytes: [return-written-bytes]
Expand All @@ -11,12 +17,15 @@
[return-written-bytes]: https://github.com/crossterm-rs/crossterm/pull/212
[fixed-get-set-terminal-size]: https://github.com/crossterm-rs/crossterm/pull/242

# Changes crossterm_terminal 0.2.2
# Version 0.2.2

- Terminal size Linux was not 0-based.
- Made FreeBSD compile

# Changes crossterm_terminal 0.2
# Version 0.2.0

- Removed `Terminal:from_output()`

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

- Moved out of `crossterm` 5.4 crate.
52 changes: 13 additions & 39 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,49 +1,23 @@
[package]
name = "crossterm"
version = "0.11.0"
name = "crossterm_terminal"
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 doing terminal related actions."
repository = "https://github.com/crossterm-rs/crossterm-terminal"
documentation = "https://docs.rs/crossterm_terminal/"
license = "MIT"
keywords = ["console", "color", "cursor", "input", "terminal"]
keywords = ["terminal", "clear", "console", "crossterm", "size"]
exclude = ["target", "Cargo.lock"]
readme = "README.md"
edition = "2018"

[features]
default = ["cursor", "style","terminal","screen","input"]
[target.'cfg(windows)'.dependencies]
crossterm_winapi = { version = "0.2.1" }

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(unix)'.dependencies]
libc = "0.2.51"

[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" }
crossterm_cursor = { version = "0.3.1" }
serde = { version = "1.0.0", features = ["derive"], optional = true }
Loading

0 comments on commit 6dd48c6

Please sign in to comment.