test(cli): Verify terminal styling
This uses a new feature from snapbox that let's us render terminal styling in SVG files. This let's us see / visualize ANSI escape codes, including in github's UI (will render images, including side-by-side images for diffs).
|
@ -71,6 +71,15 @@ version = "1.0.6"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc"
|
||||
|
||||
[[package]]
|
||||
name = "anstyle-lossy"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a9a0444767dbd4aea9355cb47a370eb184dbfe918875e127eff52cb9d1638181"
|
||||
dependencies = [
|
||||
"anstyle",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "anstyle-parse"
|
||||
version = "0.2.3"
|
||||
|
@ -89,6 +98,19 @@ dependencies = [
|
|||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "anstyle-svg"
|
||||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8b6ddad447b448d6d5db36b31cbd3ff27c7af071619501998eeceab01968287a"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anstyle",
|
||||
"anstyle-lossy",
|
||||
"html-escape",
|
||||
"unicode-width",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "anstyle-wincon"
|
||||
version = "3.0.2"
|
||||
|
@ -1913,6 +1935,15 @@ dependencies = [
|
|||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "html-escape"
|
||||
version = "0.2.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6d1ad449764d627e22bfd7cd5e8868264fc9236e07c752972b4080cd351cb476"
|
||||
dependencies = [
|
||||
"utf8-width",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "http-auth"
|
||||
version = "0.1.9"
|
||||
|
@ -3132,17 +3163,19 @@ checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970"
|
|||
|
||||
[[package]]
|
||||
name = "snapbox"
|
||||
version = "0.5.0"
|
||||
version = "0.5.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8269b717f21b142c0377f1e617e80999e3ef6b1c010959b44fd93320722d2cba"
|
||||
checksum = "06c5d3f53d7d2d3c2679d4a46fdbc738cf554e6d13a1c0b2c42ed170c92d73af"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anstyle",
|
||||
"anstyle-svg",
|
||||
"content_inspector",
|
||||
"dunce",
|
||||
"escargot",
|
||||
"filetime",
|
||||
"normalize-line-endings",
|
||||
"serde_json",
|
||||
"similar",
|
||||
"snapbox-macros",
|
||||
"tempfile",
|
||||
|
@ -3530,6 +3563,12 @@ dependencies = [
|
|||
"percent-encoding",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "utf8-width"
|
||||
version = "0.1.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "86bd8d4e895da8537e5315b8254664e6b769c4ff3db18321b297a1e7004392e3"
|
||||
|
||||
[[package]]
|
||||
name = "utf8parse"
|
||||
version = "0.2.1"
|
||||
|
|
|
@ -91,7 +91,7 @@ sha1 = "0.10.6"
|
|||
sha2 = "0.10.8"
|
||||
shell-escape = "0.1.5"
|
||||
supports-hyperlinks = "2.1.0"
|
||||
snapbox = { version = "0.5.0", features = ["diff", "path"] }
|
||||
snapbox = { version = "0.5.6", features = ["diff", "path", "term-svg"] }
|
||||
tar = { version = "0.4.40", default-features = false }
|
||||
tempfile = "3.9.0"
|
||||
thiserror = "1.0.56"
|
||||
|
|
|
@ -1326,6 +1326,7 @@ impl CargoCommand for snapbox::cmd::Command {
|
|||
fn cargo_ui() -> Self {
|
||||
Self::new(cargo_exe())
|
||||
.with_assert(compare::assert_ui())
|
||||
.env("CARGO_TERM_COLOR", "always")
|
||||
.test_env()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ fn case() {
|
|||
.arg("--help")
|
||||
.assert()
|
||||
.success()
|
||||
.stdout_matches(file!["stdout.log"])
|
||||
.stdout_matches(file!["stdout.term.svg"])
|
||||
.stderr_matches(str![""]);
|
||||
}
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
Rust's package manager
|
||||
|
||||
Usage: cargo [..][OPTIONS] [COMMAND]
|
||||
cargo [..][OPTIONS] -Zscript <MANIFEST_RS> [ARGS]...
|
||||
|
||||
Options:
|
||||
-V, --version Print version info and exit
|
||||
--list List installed commands
|
||||
--explain <CODE> Provide a detailed explanation of a rustc error message
|
||||
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
|
||||
-q, --quiet Do not print cargo log messages
|
||||
--color <WHEN> Coloring: auto, always, never
|
||||
-C <DIRECTORY> Change to DIRECTORY before doing anything (nightly-only)
|
||||
--frozen Require Cargo.lock and cache are up to date
|
||||
--locked Require Cargo.lock is up to date
|
||||
--offline Run without accessing the network
|
||||
--config <KEY=VALUE> Override a configuration value
|
||||
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
|
||||
-h, --help Print help
|
||||
|
||||
Commands:
|
||||
build, b Compile the current package
|
||||
check, c Analyze the current package and report errors, but don't build object files
|
||||
clean Remove the target directory
|
||||
doc, d Build this package's and its dependencies' documentation
|
||||
new Create a new cargo package
|
||||
init Create a new cargo package in an existing directory
|
||||
add Add dependencies to a manifest file
|
||||
remove Remove dependencies from a manifest file
|
||||
run, r Run a binary or example of the local package
|
||||
test, t Run the tests
|
||||
bench Run the benchmarks
|
||||
update Update dependencies listed in Cargo.lock
|
||||
search Search registry for crates
|
||||
publish Package and upload this package to the registry
|
||||
install Install a Rust binary
|
||||
uninstall Uninstall a Rust binary
|
||||
... See all commands with --list
|
||||
|
||||
See 'cargo help <command>' for more information on a specific command.
|
|
@ -0,0 +1,106 @@
|
|||
<svg width="852px" height="758px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-cyan { fill: #00AAAA }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan>Rust's package manager</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-green bold">Usage:</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">cargo</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">[+toolchain] [OPTIONS] [COMMAND]</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">cargo</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">[+toolchain] [OPTIONS]</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">-Zscript</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold"><MANIFEST_RS> [ARGS]...</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan class="fg-green bold">Options:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">-V</tspan><tspan>, </tspan><tspan class="fg-cyan bold">--version</tspan><tspan> Print version info and exit</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px"><tspan> </tspan><tspan class="fg-cyan bold">--list</tspan><tspan> List installed commands</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="172px"><tspan> </tspan><tspan class="fg-cyan bold">--explain</tspan><tspan class="fg-cyan"> </tspan><tspan class="fg-cyan"><CODE></tspan><tspan> Provide a detailed explanation of a rustc error message</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="190px"><tspan> </tspan><tspan class="fg-cyan bold">-v</tspan><tspan>, </tspan><tspan class="fg-cyan bold">--verbose</tspan><tspan class="fg-cyan">...</tspan><tspan> Use verbose output (-vv very verbose/build.rs output)</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="208px"><tspan> </tspan><tspan class="fg-cyan bold">-q</tspan><tspan>, </tspan><tspan class="fg-cyan bold">--quiet</tspan><tspan> Do not print cargo log messages</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="226px"><tspan> </tspan><tspan class="fg-cyan bold">--color</tspan><tspan class="fg-cyan"> </tspan><tspan class="fg-cyan"><WHEN></tspan><tspan> Coloring: auto, always, never</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="244px"><tspan> </tspan><tspan class="fg-cyan bold">-C</tspan><tspan class="fg-cyan"> </tspan><tspan class="fg-cyan"><DIRECTORY></tspan><tspan> Change to DIRECTORY before doing anything (nightly-only)</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="262px"><tspan> </tspan><tspan class="fg-cyan bold">--frozen</tspan><tspan> Require Cargo.lock and cache are up to date</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="280px"><tspan> </tspan><tspan class="fg-cyan bold">--locked</tspan><tspan> Require Cargo.lock is up to date</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="298px"><tspan> </tspan><tspan class="fg-cyan bold">--offline</tspan><tspan> Run without accessing the network</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="316px"><tspan> </tspan><tspan class="fg-cyan bold">--config</tspan><tspan class="fg-cyan"> </tspan><tspan class="fg-cyan"><KEY=VALUE></tspan><tspan> Override a configuration value</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="334px"><tspan> </tspan><tspan class="fg-cyan bold">-Z</tspan><tspan class="fg-cyan"> </tspan><tspan class="fg-cyan"><FLAG></tspan><tspan> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="352px"><tspan> </tspan><tspan class="fg-cyan bold">-h</tspan><tspan>, </tspan><tspan class="fg-cyan bold">--help</tspan><tspan> Print help</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="370px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="388px"><tspan class="fg-green bold">Commands:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="406px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">build</tspan><tspan class="bold">, </tspan><tspan class="fg-cyan bold">b</tspan><tspan class="bold"> Compile the current package</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="424px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">check</tspan><tspan class="bold">, </tspan><tspan class="fg-cyan bold">c</tspan><tspan class="bold"> Analyze the current package and report errors, but don't build object files</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="442px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">clean</tspan><tspan class="bold"> Remove the target directory</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="460px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">doc</tspan><tspan class="bold">, </tspan><tspan class="fg-cyan bold">d</tspan><tspan class="bold"> Build this package's and its dependencies' documentation</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="478px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">new</tspan><tspan class="bold"> Create a new cargo package</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="496px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">init</tspan><tspan class="bold"> Create a new cargo package in an existing directory</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="514px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">add</tspan><tspan class="bold"> Add dependencies to a manifest file</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="532px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">remove</tspan><tspan class="bold"> Remove dependencies from a manifest file</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="550px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">run</tspan><tspan class="bold">, </tspan><tspan class="fg-cyan bold">r</tspan><tspan class="bold"> Run a binary or example of the local package</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="568px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">test</tspan><tspan class="bold">, </tspan><tspan class="fg-cyan bold">t</tspan><tspan class="bold"> Run the tests</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="586px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">bench</tspan><tspan class="bold"> Run the benchmarks</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="604px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">update</tspan><tspan class="bold"> Update dependencies listed in Cargo.lock</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="622px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">search</tspan><tspan class="bold"> Search registry for crates</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="640px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">publish</tspan><tspan class="bold"> Package and upload this package to the registry</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="658px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">install</tspan><tspan class="bold"> Install a Rust binary</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="676px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">uninstall</tspan><tspan class="bold"> Uninstall a Rust binary</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="694px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">...</tspan><tspan class="bold"> See all commands with </tspan><tspan class="fg-cyan bold">--list</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="712px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="730px"><tspan class="bold">See '</tspan><tspan class="fg-cyan bold">cargo help</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold"><command></tspan><tspan class="bold">' for more information on a specific command.</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="748px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 8.0 KiB |
|
@ -9,6 +9,6 @@ fn case() {
|
|||
.args(["-Z", "help"])
|
||||
.assert()
|
||||
.success()
|
||||
.stdout_matches(file!["stdout.log"])
|
||||
.stdout_matches(file!["stdout.term.svg"])
|
||||
.stderr_matches(str![""]);
|
||||
}
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
Available unstable (nightly-only) flags:
|
||||
|
||||
-Z allow-features Allow *only* the listed unstable features
|
||||
-Z asymmetric-token Allows authenticating with asymmetric tokens
|
||||
-Z avoid-dev-deps Avoid installing dev-dependencies if possible
|
||||
-Z binary-dep-depinfo Track changes to dependency artifacts
|
||||
-Z bindeps Allow Cargo packages to depend on bin, cdylib, and staticlib crates, and use the artifacts built by those crates
|
||||
-Z build-std Enable Cargo to compile the standard library itself as part of a crate graph compilation
|
||||
-Z build-std-features Configure features enabled for the standard library itself when building the standard library
|
||||
-Z check-cfg Enable compile-time checking of `cfg` names/values/features
|
||||
-Z codegen-backend Enable the `codegen-backend` option in profiles in .cargo/config.toml file
|
||||
-Z config-include Enable the `include` key in config files
|
||||
-Z direct-minimal-versions Resolve minimal dependency versions instead of maximum (direct dependencies only)
|
||||
-Z doctest-xcompile Compile and run doctests for non-host target using runner config
|
||||
-Z dual-proc-macros Build proc-macros for both the host and the target
|
||||
-Z gc Track cache usage and "garbage collect" unused files
|
||||
-Z git Enable support for shallow git fetch operations
|
||||
-Z gitoxide Use gitoxide for the given git interactions, or all of them if no argument is given
|
||||
-Z host-config Enable the `[host]` section in the .cargo/config.toml file
|
||||
-Z lints Pass `[lints]` to the linting tools
|
||||
-Z minimal-versions Resolve minimal dependency versions instead of maximum
|
||||
-Z msrv-policy Enable rust-version aware policy within cargo
|
||||
-Z mtime-on-use Configure Cargo to update the mtime of used files
|
||||
-Z no-index-update Do not update the registry index even if the cache is outdated
|
||||
-Z panic-abort-tests Enable support to run tests with -Cpanic=abort
|
||||
-Z precise-pre-release Enable pre-release versions to be selected with `update --precise`
|
||||
-Z profile-rustflags Enable the `rustflags` option in profiles in .cargo/config.toml file
|
||||
-Z publish-timeout Enable the `publish.timeout` key in .cargo/config.toml file
|
||||
-Z rustdoc-map Allow passing external documentation mappings to rustdoc
|
||||
-Z rustdoc-scrape-examples Allows Rustdoc to scrape code examples from reverse-dependencies
|
||||
-Z script Enable support for single-file, `.rs` packages
|
||||
-Z target-applies-to-host Enable the `target-applies-to-host` key in the .cargo/config.toml file
|
||||
-Z trim-paths Enable the `trim-paths` option in profiles
|
||||
-Z unstable-options Allow the usage of unstable options
|
||||
|
||||
Run with `cargo -Z [FLAG] [COMMAND]`
|
||||
|
||||
See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html for more information about these flags.
|
|
@ -0,0 +1,102 @@
|
|||
<svg width="1230px" height="722px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-cyan { fill: #00AAAA }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold">Available unstable (nightly-only) flags:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> </tspan><tspan class="fg-cyan bold">-Z allow-features </tspan><tspan> Allow *only* the listed unstable features</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-cyan bold">-Z asymmetric-token </tspan><tspan> Allows authenticating with asymmetric tokens</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-cyan bold">-Z avoid-dev-deps </tspan><tspan> Avoid installing dev-dependencies if possible</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-cyan bold">-Z binary-dep-depinfo </tspan><tspan> Track changes to dependency artifacts</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-cyan bold">-Z bindeps </tspan><tspan> Allow Cargo packages to depend on bin, cdylib, and staticlib crates, and use the artifacts built by those crates</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px"><tspan> </tspan><tspan class="fg-cyan bold">-Z build-std </tspan><tspan> Enable Cargo to compile the standard library itself as part of a crate graph compilation</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="172px"><tspan> </tspan><tspan class="fg-cyan bold">-Z build-std-features </tspan><tspan> Configure features enabled for the standard library itself when building the standard library</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="190px"><tspan> </tspan><tspan class="fg-cyan bold">-Z check-cfg </tspan><tspan> Enable compile-time checking of `cfg` names/values/features</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="208px"><tspan> </tspan><tspan class="fg-cyan bold">-Z codegen-backend </tspan><tspan> Enable the `codegen-backend` option in profiles in .cargo/config.toml file</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="226px"><tspan> </tspan><tspan class="fg-cyan bold">-Z config-include </tspan><tspan> Enable the `include` key in config files</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="244px"><tspan> </tspan><tspan class="fg-cyan bold">-Z direct-minimal-versions</tspan><tspan> Resolve minimal dependency versions instead of maximum (direct dependencies only)</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="262px"><tspan> </tspan><tspan class="fg-cyan bold">-Z doctest-xcompile </tspan><tspan> Compile and run doctests for non-host target using runner config</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="280px"><tspan> </tspan><tspan class="fg-cyan bold">-Z dual-proc-macros </tspan><tspan> Build proc-macros for both the host and the target</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="298px"><tspan> </tspan><tspan class="fg-cyan bold">-Z gc </tspan><tspan> Track cache usage and "garbage collect" unused files</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="316px"><tspan> </tspan><tspan class="fg-cyan bold">-Z git </tspan><tspan> Enable support for shallow git fetch operations</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="334px"><tspan> </tspan><tspan class="fg-cyan bold">-Z gitoxide </tspan><tspan> Use gitoxide for the given git interactions, or all of them if no argument is given</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="352px"><tspan> </tspan><tspan class="fg-cyan bold">-Z host-config </tspan><tspan> Enable the `[host]` section in the .cargo/config.toml file</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="370px"><tspan> </tspan><tspan class="fg-cyan bold">-Z lints </tspan><tspan> Pass `[lints]` to the linting tools</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="388px"><tspan> </tspan><tspan class="fg-cyan bold">-Z minimal-versions </tspan><tspan> Resolve minimal dependency versions instead of maximum</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="406px"><tspan> </tspan><tspan class="fg-cyan bold">-Z msrv-policy </tspan><tspan> Enable rust-version aware policy within cargo</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="424px"><tspan> </tspan><tspan class="fg-cyan bold">-Z mtime-on-use </tspan><tspan> Configure Cargo to update the mtime of used files</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="442px"><tspan> </tspan><tspan class="fg-cyan bold">-Z no-index-update </tspan><tspan> Do not update the registry index even if the cache is outdated</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="460px"><tspan> </tspan><tspan class="fg-cyan bold">-Z panic-abort-tests </tspan><tspan> Enable support to run tests with -Cpanic=abort</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="478px"><tspan> </tspan><tspan class="fg-cyan bold">-Z precise-pre-release </tspan><tspan> Enable pre-release versions to be selected with `update --precise`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="496px"><tspan> </tspan><tspan class="fg-cyan bold">-Z profile-rustflags </tspan><tspan> Enable the `rustflags` option in profiles in .cargo/config.toml file</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="514px"><tspan> </tspan><tspan class="fg-cyan bold">-Z publish-timeout </tspan><tspan> Enable the `publish.timeout` key in .cargo/config.toml file</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="532px"><tspan> </tspan><tspan class="fg-cyan bold">-Z rustdoc-map </tspan><tspan> Allow passing external documentation mappings to rustdoc</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="550px"><tspan> </tspan><tspan class="fg-cyan bold">-Z rustdoc-scrape-examples</tspan><tspan> Allows Rustdoc to scrape code examples from reverse-dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="568px"><tspan> </tspan><tspan class="fg-cyan bold">-Z script </tspan><tspan> Enable support for single-file, `.rs` packages</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="586px"><tspan> </tspan><tspan class="fg-cyan bold">-Z target-applies-to-host </tspan><tspan> Enable the `target-applies-to-host` key in the .cargo/config.toml file</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="604px"><tspan> </tspan><tspan class="fg-cyan bold">-Z trim-paths </tspan><tspan> Enable the `trim-paths` option in profiles</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="622px"><tspan> </tspan><tspan class="fg-cyan bold">-Z unstable-options </tspan><tspan> Allow the usage of unstable options</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="640px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="658px"><tspan>Run with `</tspan><tspan class="fg-cyan bold">cargo -Z</tspan><tspan> </tspan><tspan class="fg-cyan">[FLAG] [COMMAND]</tspan><tspan>`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="676px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="694px"><tspan>See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html for more information about these flags.</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="712px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 7.3 KiB |
|
@ -31,7 +31,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding my-package v99999.0.0 to dependencies
|
|
@ -0,0 +1,29 @@
|
|||
<svg width="740px" height="74px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-package v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 870 B |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding my-package1 v99999.0.0 to dependencies
|
||||
Adding my-package2 v99999.0.0 to dependencies
|
|
@ -0,0 +1,31 @@
|
|||
<svg width="740px" height="92px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-package1 v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-package2 v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1013 B |
|
@ -2,6 +2,7 @@ use cargo_test_support::compare::assert_ui;
|
|||
use cargo_test_support::current_dir;
|
||||
use cargo_test_support::file;
|
||||
use cargo_test_support::prelude::*;
|
||||
use cargo_test_support::str;
|
||||
use cargo_test_support::Project;
|
||||
|
||||
#[cargo_test]
|
||||
|
@ -28,8 +29,8 @@ fn case() {
|
|||
.current_dir(cwd)
|
||||
.assert()
|
||||
.success()
|
||||
.stdout_matches(file!["stdout.log"])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
Updating `alternative` index
|
||||
warning: translating `linked_hash_map` to `linked-hash-map`
|
||||
Adding linked-hash-map v0.5.4 to dependencies
|
||||
Features:
|
||||
- clippy
|
||||
- heapsize
|
||||
- heapsize_impl
|
||||
- nightly
|
||||
- serde
|
||||
- serde_impl
|
||||
- serde_test
|
|
@ -0,0 +1,49 @@
|
|||
<svg width="740px" height="236px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.fg-yellow { fill: #AA5500 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `alternative` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-yellow bold">warning</tspan><tspan class="bold">:</tspan><tspan> translating `linked_hash_map` to `linked-hash-map`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-green bold"> Adding</tspan><tspan> linked-hash-map v0.5.4 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> clippy</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> heapsize</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> heapsize_impl</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> nightly</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="172px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> serde</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="190px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> serde_impl</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="208px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> serde_test</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="226px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
|
@ -2,6 +2,7 @@ use cargo_test_support::compare::assert_ui;
|
|||
use cargo_test_support::current_dir;
|
||||
use cargo_test_support::file;
|
||||
use cargo_test_support::prelude::*;
|
||||
use cargo_test_support::str;
|
||||
use cargo_test_support::Project;
|
||||
|
||||
#[cargo_test]
|
||||
|
@ -16,8 +17,8 @@ fn case() {
|
|||
.current_dir(cwd)
|
||||
.assert()
|
||||
.failure()
|
||||
.stdout_matches(file!["stdout.log"])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
error: the crate `cbindgen` could not be found in registry index.
|
|
@ -0,0 +1,27 @@
|
|||
<svg width="740px" height="56px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-red bold">error</tspan><tspan class="bold">:</tspan><tspan> the crate `cbindgen` could not be found in registry index.</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 783 B |
|
@ -36,7 +36,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
warning: translating `linked_hash_map` to `linked-hash-map`
|
||||
warning: translating `Inflector` to `inflector`
|
||||
Adding linked-hash-map v0.5.4 to dependencies
|
||||
Features:
|
||||
- clippy
|
||||
- heapsize
|
||||
- heapsize_impl
|
||||
- nightly
|
||||
- serde
|
||||
- serde_impl
|
||||
- serde_test
|
||||
Adding inflector v0.11.4 to dependencies
|
||||
Features:
|
||||
+ heavyweight
|
||||
+ lazy_static
|
||||
+ regex
|
||||
- unstable
|
|
@ -0,0 +1,63 @@
|
|||
<svg width="740px" height="362px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.fg-yellow { fill: #AA5500 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-yellow bold">warning</tspan><tspan class="bold">:</tspan><tspan> translating `linked_hash_map` to `linked-hash-map`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-yellow bold">warning</tspan><tspan class="bold">:</tspan><tspan> translating `Inflector` to `inflector`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan class="fg-green bold"> Adding</tspan><tspan> linked-hash-map v0.5.4 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> clippy</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> heapsize</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> heapsize_impl</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="172px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> nightly</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="190px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> serde</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="208px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> serde_impl</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="226px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> serde_test</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="244px"><tspan class="fg-green bold"> Adding</tspan><tspan> inflector v0.11.4 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="262px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="280px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> heavyweight</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="298px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> lazy_static</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="316px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> regex</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="334px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> unstable</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="352px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 2.9 KiB |
|
@ -18,7 +18,7 @@ fn case() {
|
|||
.assert()
|
||||
.failure()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
error: invalid character `+` in dependency name: `+nightly`
|
||||
Use `cargo +nightly add` if you meant to use the `nightly` toolchain.
|
|
@ -0,0 +1,29 @@
|
|||
<svg width="740px" height="74px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-red bold">error</tspan><tspan class="bold">:</tspan><tspan> invalid character `+` in dependency name: `+nightly`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan> Use `cargo +nightly add` if you meant to use the `nightly` toolchain.</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 904 B |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding my-build-package1 v99999.0.0 to build-dependencies
|
||||
Adding my-build-package2 v99999.0.0 to build-dependencies
|
|
@ -0,0 +1,31 @@
|
|||
<svg width="740px" height="92px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-build-package1 v99999.0.0 to build-dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-build-package2 v99999.0.0 to build-dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.0 KiB |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
Adding cargo-list-test-fixture-dependency (local) to build-dependencies
|
||||
Features:
|
||||
- one
|
||||
- two
|
|
@ -0,0 +1,34 @@
|
|||
<svg width="740px" height="110px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Adding</tspan><tspan> cargo-list-test-fixture-dependency (local) to build-dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> one</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> two</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding my-package2 v99999.0.0 to optional dependencies
|
||||
Adding feature `some-package`
|
|
@ -0,0 +1,31 @@
|
|||
<svg width="740px" height="92px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-package2 v99999.0.0 to optional dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-green bold"> Adding</tspan><tspan> feature `some-package`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1006 B |
|
@ -25,7 +25,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding test_cyclic_features v0.1.1 to dependencies
|
||||
Features:
|
||||
+ feature-one
|
||||
+ feature-two
|
|
@ -0,0 +1,35 @@
|
|||
<svg width="740px" height="128px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> test_cyclic_features v0.1.1 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> feature-one</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> feature-two</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding my-package1 v99999.0.0 to dependencies
|
||||
Adding my-package2 v0.4.1 to dependencies
|
|
@ -0,0 +1,31 @@
|
|||
<svg width="740px" height="92px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-package1 v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-package2 v0.4.1 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1009 B |
|
@ -31,7 +31,7 @@ fn case() {
|
|||
.assert()
|
||||
.failure()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
error: Use of `default_features` in `my-package` is unsupported, please switch to `default-features`
|
|
@ -0,0 +1,27 @@
|
|||
<svg width="860px" height="56px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-red bold">error</tspan><tspan class="bold">:</tspan><tspan> Use of `default_features` in `my-package` is unsupported, please switch to `default-features`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 818 B |
|
@ -31,7 +31,7 @@ fn case() {
|
|||
.assert()
|
||||
.failure()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
error: Deprecated dependency sections are unsupported: dev_dependencies, build_dependencies
|
|
@ -0,0 +1,27 @@
|
|||
<svg width="785px" height="56px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-red bold">error</tspan><tspan class="bold">:</tspan><tspan> Deprecated dependency sections are unsupported: dev_dependencies, build_dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 809 B |
|
@ -20,7 +20,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Adding foo (workspace) to dependencies
|
|
@ -0,0 +1,27 @@
|
|||
<svg width="740px" height="56px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Adding</tspan><tspan> foo (workspace) to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 738 B |
|
@ -20,7 +20,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
Adding foo (workspace) to dependencies
|
||||
Features as of v0.0.0:
|
||||
+ default-base
|
||||
+ default-merge-base
|
||||
+ default-test-base
|
||||
+ merge
|
||||
+ merge-base
|
||||
+ test
|
||||
+ test-base
|
||||
- unrelated
|
|
@ -0,0 +1,46 @@
|
|||
<svg width="740px" height="218px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Adding</tspan><tspan> foo (workspace) to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan> Features as of v0.0.0:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> default-base</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> default-merge-base</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> default-test-base</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> merge</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> merge-base</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> test</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="172px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> test-base</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="190px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> unrelated</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="208px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
|
@ -20,7 +20,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
Adding foo (workspace) to optional dependencies
|
||||
Adding feature `foo`
|
|
@ -0,0 +1,29 @@
|
|||
<svg width="740px" height="74px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Adding</tspan><tspan> foo (workspace) to optional dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> feature `foo`</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 864 B |
|
@ -21,7 +21,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Adding foo (workspace) to public dependencies
|
|
@ -0,0 +1,27 @@
|
|||
<svg width="740px" height="56px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Adding</tspan><tspan> foo (workspace) to public dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 745 B |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding my-dev-package1 v99999.0.0 to dev-dependencies
|
||||
Adding my-dev-package2 v99999.0.0 to dev-dependencies
|
|
@ -0,0 +1,31 @@
|
|||
<svg width="740px" height="92px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-dev-package1 v99999.0.0 to dev-dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-dev-package2 v99999.0.0 to dev-dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.0 KiB |
|
@ -31,7 +31,7 @@ fn case() {
|
|||
.assert()
|
||||
.code(1)
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
error: the argument '--dev' cannot be used with '--build'
|
||||
|
||||
Usage: cargo add [OPTIONS] <DEP>[@<VERSION>] ...
|
||||
cargo add [OPTIONS] --path <PATH> ...
|
||||
cargo add [OPTIONS] --git <URL> ...
|
||||
|
||||
For more information, try '--help'.
|
|
@ -0,0 +1,42 @@
|
|||
<svg width="740px" height="164px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-cyan { fill: #00AAAA }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.fg-yellow { fill: #AA5500 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-red bold">error:</tspan><tspan> the argument '</tspan><tspan class="fg-yellow bold">--dev</tspan><tspan>' cannot be used with '</tspan><tspan class="fg-yellow bold">--build</tspan><tspan>'</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-green bold">Usage:</tspan><tspan> </tspan><tspan class="fg-cyan bold">cargo add</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">[OPTIONS] <DEP>[@<VERSION>] ...</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">cargo add</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">[OPTIONS]</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">--path</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold"><PATH> ...</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan class="bold"> </tspan><tspan class="fg-cyan bold">cargo add</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">[OPTIONS]</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold">--git</tspan><tspan class="bold"> </tspan><tspan class="fg-cyan bold"><URL> ...</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px">
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan class="bold">For more information, try '</tspan><tspan class="fg-cyan bold">--help</tspan><tspan>'.</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
Adding cargo-list-test-fixture-dependency (local) to dev-dependencies
|
||||
Features as of v0.0.0:
|
||||
- one
|
||||
- two
|
|
@ -0,0 +1,34 @@
|
|||
<svg width="740px" height="110px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Adding</tspan><tspan> cargo-list-test-fixture-dependency (local) to dev-dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan> Features as of v0.0.0:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> one</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> two</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -31,7 +31,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding my-package v99999.0.0 to dependencies
|
||||
warning: aborting add due to dry run
|
|
@ -0,0 +1,32 @@
|
|||
<svg width="740px" height="92px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-yellow { fill: #AA5500 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> my-package v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan class="fg-yellow bold">warning</tspan><tspan class="bold">:</tspan><tspan> aborting add due to dry run</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.0 KiB |
|
@ -19,7 +19,7 @@ fn case() {
|
|||
.assert()
|
||||
.failure()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
error: package name cannot be empty
|
|
@ -0,0 +1,27 @@
|
|||
<svg width="740px" height="56px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-red bold">error</tspan><tspan class="bold">:</tspan><tspan> package name cannot be empty</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 753 B |
|
@ -26,7 +26,7 @@ fn case() {
|
|||
.assert()
|
||||
.code(101)
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
error: unrecognized dependency source for `your-face`, expected a local path, Git repository, version, or workspace dependency to be specified
|
|
@ -0,0 +1,27 @@
|
|||
<svg width="1213px" height="56px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-red bold">error</tspan><tspan class="bold">:</tspan><tspan> unrecognized dependency source for `your-face`, expected a local path, Git repository, version, or workspace dependency to be specified</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 861 B |
|
@ -26,7 +26,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding your-face v99999.0.0 to dependencies
|
||||
Features:
|
||||
+ eyes
|
||||
- ears
|
||||
- mouth
|
||||
- nose
|
|
@ -0,0 +1,40 @@
|
|||
<svg width="740px" height="164px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> your-face v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> ears</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> mouth</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> nose</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding your-face v99999.0.0 to dependencies
|
||||
Features:
|
||||
100 activated features
|
||||
100 deactivated features
|
|
@ -0,0 +1,35 @@
|
|||
<svg width="740px" height="128px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> your-face v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> 100 activated features</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> 100 deactivated features</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -33,7 +33,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding your-face v99999.0.0 to dependencies
|
||||
Features:
|
||||
+ eyes000
|
||||
+ eyes001
|
||||
+ eyes002
|
||||
+ eyes003
|
||||
+ eyes004
|
||||
+ eyes005
|
||||
+ eyes006
|
||||
+ eyes007
|
||||
+ eyes008
|
||||
+ eyes009
|
||||
+ eyes010
|
||||
+ eyes011
|
||||
+ eyes012
|
||||
+ eyes013
|
||||
+ eyes014
|
||||
+ eyes015
|
||||
+ eyes016
|
||||
+ eyes017
|
||||
+ eyes018
|
||||
+ eyes019
|
||||
+ eyes020
|
||||
+ eyes021
|
||||
+ eyes022
|
||||
+ eyes023
|
||||
+ eyes024
|
||||
+ eyes025
|
||||
+ eyes026
|
||||
+ eyes027
|
||||
+ eyes028
|
||||
+ eyes029
|
||||
170 deactivated features
|
|
@ -0,0 +1,93 @@
|
|||
<svg width="740px" height="650px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> your-face v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes000</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes001</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes002</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes003</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes004</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="172px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes005</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="190px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes006</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="208px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes007</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="226px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes008</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="244px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes009</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="262px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes010</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="280px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes011</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="298px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes012</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="316px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes013</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="334px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes014</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="352px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes015</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="370px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes016</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="388px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes017</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="406px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes018</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="424px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes019</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="442px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes020</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="460px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes021</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="478px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes022</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="496px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes023</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="514px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes024</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="532px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes025</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="550px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes026</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="568px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes027</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="586px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes028</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="604px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes029</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="622px"><tspan> 170 deactivated features</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="640px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 4.8 KiB |
|
@ -26,7 +26,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding your-face v99999.0.0 to dependencies
|
||||
Features:
|
||||
- ears
|
||||
- eyes
|
||||
- mouth
|
||||
- nose
|
|
@ -0,0 +1,40 @@
|
|||
<svg width="740px" height="164px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> your-face v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> ears</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> eyes</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> mouth</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> nose</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -26,7 +26,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding your-face v99999.0.0 to dependencies
|
||||
Features:
|
||||
+ eyes
|
||||
+ nose
|
||||
- ears
|
||||
- mouth
|
|
@ -0,0 +1,40 @@
|
|||
<svg width="740px" height="164px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> your-face v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> nose</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> ears</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> mouth</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -26,7 +26,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding your-face v99999.0.0 to dependencies
|
||||
Features:
|
||||
+ eyes
|
||||
- ears
|
||||
- mouth
|
||||
- nose
|
|
@ -0,0 +1,40 @@
|
|||
<svg width="740px" height="164px" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
.fg { fill: #AAAAAA }
|
||||
.bg { background: #000000 }
|
||||
.fg-green { fill: #00AA00 }
|
||||
.fg-red { fill: #AA0000 }
|
||||
.container {
|
||||
padding: 0 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.bold { font-weight: bold; }
|
||||
tspan {
|
||||
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
||||
white-space: pre;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
|
||||
|
||||
<text xml:space="preserve" class="container fg">
|
||||
<tspan x="10px" y="28px"><tspan class="fg-green bold"> Updating</tspan><tspan> `dummy-registry` index</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="46px"><tspan class="fg-green bold"> Adding</tspan><tspan> your-face v99999.0.0 to dependencies</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="64px"><tspan> Features:</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="82px"><tspan> </tspan><tspan class="fg-green bold">+</tspan><tspan> eyes</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="100px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> ears</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="118px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> mouth</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="136px"><tspan> </tspan><tspan class="fg-red bold">-</tspan><tspan> nose</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px">
|
||||
</tspan>
|
||||
</text>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -26,7 +26,7 @@ fn case() {
|
|||
.assert()
|
||||
.success()
|
||||
.stdout_matches(str![""])
|
||||
.stderr_matches(file!["stderr.log"]);
|
||||
.stderr_matches(file!["stderr.term.svg"]);
|
||||
|
||||
assert_ui().subset_matches(current_dir!().join("out"), &project_root);
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
Updating `dummy-registry` index
|
||||
Adding your-face v99999.0.0 to dependencies
|
||||
Features:
|
||||
+ eyes
|
||||
+ nose
|
||||
- ears
|
||||
- mouth
|