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 + 73ffa7b commit 4a6a405
Show file tree
Hide file tree
Showing 148 changed files with 57 additions and 11,251 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Version 0.3.1

- Maintenance release only
- Moved to a [separate repository](https://github.com/crossterm-rs/crossterm-utils)
52 changes: 11 additions & 41 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_utils"
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 = "Common logic used by the crossterm crates."
repository = "https://github.com/crossterm-rs/crossterm-utils"
documentation = "https://docs.rs/crossterm_utils/"
license = "MIT"
keywords = ["console", "color", "cursor", "input", "terminal"]
keywords = ["terminal", "abstractions", "crossterm", "windows", "screen_buffer"]
exclude = ["target", "Cargo.lock"]
readme = "README.md"
edition = "2018"

[features]
default = ["cursor", "style","terminal","screen","input"]
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["wincon"] }
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"
]

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

0 comments on commit 4a6a405

Please sign in to comment.