49ab423592
- Refactor the lexer tests to be more readable, abandoning the previous string-based summary DSL in favor of a more obvious sequence of `TokenKinds` with optional lexemes. The new tests also test that token lexemes are correct. - Move duplicated `unindent` function into a shared crate, `test-utilities`. This new versionless dev-dependency will prevent publishing to crates.io, at least until rust-lang/cargo/pull/7333 makes it into stable. If we publish a new version before then, test-utilities will need to be published to crates.io, so we can depend on it by version.
46 lines
1.0 KiB
TOML
46 lines
1.0 KiB
TOML
[package]
|
|
name = "just"
|
|
version = "0.4.4"
|
|
description = "🤖 Just a command runner"
|
|
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
|
|
license = "CC0-1.0"
|
|
homepage = "https://github.com/casey/just"
|
|
repository = "https://github.com/casey/just"
|
|
readme = "crates-io-readme.md"
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
help4help2man = []
|
|
summary = []
|
|
|
|
[dependencies]
|
|
ansi_term = "0.11"
|
|
assert_matches = "1"
|
|
atty = "0.2"
|
|
clap = "2.33"
|
|
dotenv = "0.13"
|
|
edit-distance = "2"
|
|
env_logger = "0.6"
|
|
itertools = "0.8"
|
|
lazy_static = "1"
|
|
libc = "0.2"
|
|
log = "0.4.4"
|
|
target = "1"
|
|
tempfile = "3"
|
|
unicode-width = "0.1"
|
|
|
|
[dependencies.ctrlc]
|
|
version = "3.1.1"
|
|
features = ["termination"]
|
|
|
|
[dev-dependencies]
|
|
executable-path = "1"
|
|
pretty_assertions = "0.6"
|
|
|
|
# Until github.com/rust-lang/cargo/pull/7333 makes it into stable,
|
|
# this version-less dev-dependency will interfere with publishing
|
|
# to crates.io.
|
|
[dev-dependencies.test-utilities]
|
|
path = "test-utilities"
|