Make example binaries proper cargo examples (#7019)

Should not be built by default with `cargo build`
Instead are compiled with `cargo test` to avoid bitrot
Run with `cargo run -p ... --example ...`
This commit is contained in:
Stefan Holderbach 2022-11-06 20:39:27 +01:00 committed by GitHub
parent 5ee7847035
commit 5ea245badf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 14 deletions

View File

@ -9,10 +9,6 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "ps"
path = "src/main.rs"
[dependencies] [dependencies]
libc = "0.2" libc = "0.2"
log = "0.4" log = "0.4"

View File

@ -7,11 +7,6 @@ license = "MIT"
name = "nu-table" name = "nu-table"
version = "0.70.1" version = "0.70.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "table"
path = "src/main.rs"
[dependencies] [dependencies]
nu-ansi-term = "0.46.0" nu-ansi-term = "0.46.0"
nu-protocol = { path = "../nu-protocol", version = "0.70.1" } nu-protocol = { path = "../nu-protocol", version = "0.70.1" }

View File

@ -7,11 +7,6 @@ license = "MIT"
name = "nu-term-grid" name = "nu-term-grid"
version = "0.70.1" version = "0.70.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "grid"
path = "src/main.rs"
[dependencies] [dependencies]
unicode-width = "0.1.9" unicode-width = "0.1.9"