Commit graph

838 commits

Author SHA1 Message Date
David Tolnay
addb15e670
Pull in error placeholder support 2023-09-13 11:15:58 -06:00
David Tolnay
e47c927b17
Release 1.0.68 2023-09-07 13:09:03 -07:00
David Tolnay
eec32abf67
Lockfile update 2023-09-07 13:08:26 -07:00
David Tolnay
1fbd48befd
Pull in if-let and while-let indentation improvement 2023-09-07 13:08:18 -07:00
David Tolnay
372e8ef30e
Update actions/checkout@v3 -> v4 2023-09-04 22:34:56 -07:00
David Tolnay
ff6c03e200
Release 1.0.67 2023-09-03 10:56:40 -07:00
David Tolnay
05e87db82a
Pull in support for generics on const item 2023-09-03 10:56:17 -07:00
David Tolnay
dc53cbc0f6
Release 1.0.66 2023-09-02 22:22:15 -07:00
David Tolnay
3452fc0da4
Lockfile update 2023-09-02 22:21:53 -07:00
David Tolnay
a2fc21d8b7
Pull in anon struct/union support 2023-09-02 22:21:24 -07:00
David Tolnay
073541319b
Release 1.0.65 2023-08-18 19:25:45 -07:00
David Tolnay
ee163f0c54
Fix error from 'cargo outdated'
This works around a failure that looks like this:

    error: failed to select a version for `serde`.
        ... required by package `time v0.3.26`
        ... which satisfies dependency `time = "^0.3.26"` of package `cargo-expand v1.0.64 (/tmp/cargo-outdatedBxYFNJ)`
    versions that meet the requirements `>=1.0.126, <=1.0.171` are: 1.0.171, 1.0.170, 1.0.169, 1.0.168, 1.0.167, 1.0.166, 1.0.165, 1.0.164, 1.0.163, 1.0.162, 1.0.161, 1.0.160, 1.0.159, 1.0.158, 1.0.157, 1.0.156, 1.0.155, 1.0.154, 1.0.153, 1.0.152, 1.0.151, 1.0.150, 1.0.149, 1.0.148, 1.0.147, 1.0.146, 1.0.145, 1.0.144, 1.0.143, 1.0.142, 1.0.141, 1.0.140, 1.0.139, 1.0.138, 1.0.137, 1.0.136, 1.0.135, 1.0.134, 1.0.133, 1.0.132, 1.0.131, 1.0.130, 1.0.129, 1.0.128, 1.0.127, 1.0.126

    all possible versions conflict with previously selected packages.

      previously selected package `serde v1.0.183`
        ... which satisfies dependency `serde = "^1.0.183"` of package `cargo-expand v1.0.64 (/tmp/cargo-outdatedBxYFNJ)`

    failed to select a version for `serde` which could resolve this conflict
2023-08-18 19:25:02 -07:00
David Tolnay
5301de7d2c
Lockfile update 2023-08-18 19:23:30 -07:00
David Tolnay
44e0e2a35b
Release 1.0.64 2023-08-05 11:44:43 -07:00
David Tolnay
246b062b0f
Lockfile update 2023-08-05 11:44:29 -07:00
David Tolnay
4f52594482
Merge pull request #190 from dtolnay/version
Make prettyplease version appear only if `--version --verbose` is used
2023-08-05 11:43:32 -07:00
David Tolnay
828ea84c93
Make prettyplease version appear only if '--version --verbose' is used 2023-08-05 11:40:53 -07:00
David Tolnay
edebe7b5ca
Release 1.0.63 2023-08-05 11:20:10 -07:00
David Tolnay
3e39242966
Lockfile update 2023-08-05 11:19:44 -07:00
David Tolnay
74262d44c5
Merge pull request #189 from dtolnay/version
Work around clap's implementation of subcommand version
2023-08-05 11:19:29 -07:00
David Tolnay
10fa612618
Work around clap's bad default implementation of subcommand version 2023-08-05 11:15:25 -07:00
David Tolnay
719643c943
Disable implicit help subcommand 2023-08-05 11:13:22 -07:00
David Tolnay
23be22db3b
Revert "Temporarily disable -Zrandomize-layout due to rustc ICE"
Fixed in nightly-2023-07-23.

This reverts commit 36a2e05e9d.
2023-07-22 18:39:52 -07:00
David Tolnay
36a2e05e9d
Temporarily disable -Zrandomize-layout due to rustc ICE
https://github.com/rust-lang/rust/issues/113941
2023-07-21 20:22:38 -07:00
David Tolnay
1b9b02b21d
Release 1.0.62 2023-07-20 15:35:49 -07:00
David Tolnay
61750b6385
Lockfile update 2023-07-20 15:35:30 -07:00
David Tolnay
3cb0f96158
Pull in let-else formatting improvements 2023-07-20 15:34:48 -07:00
David Tolnay
9680b8f5c9
Release 1.0.61 2023-07-16 15:18:35 -07:00
David Tolnay
7114650c62
Merge pull request #187 from tottoto/std-io-is-terminal
Switch from is-terminal crate to std::io::IsTerminal
2023-07-16 15:17:12 -07:00
tottoto
5d08566c16 Switch from is-terminal crate to std::io::IsTerminal 2023-07-17 06:58:06 +09:00
David Tolnay
c3764e821b
Release 1.0.60 2023-07-16 14:00:48 -07:00
David Tolnay
567592a444
Delete dependency on cargo_metadata
The code using this was eliminated by 58201ca96b.
2023-07-16 13:59:51 -07:00
David Tolnay
b5921f5873
Lockfile update 2023-07-16 13:58:51 -07:00
David Tolnay
8f6200b7b0
Remove allow of pedantic lints that no longer trigger in cargo-expand 2023-07-16 13:56:05 -07:00
David Tolnay
6404f1b864
Remove allow of pedantic lints that were reclassed as restrictions 2023-07-16 13:55:48 -07:00
David Tolnay
c83c3d9921
Re-enable clippy::needless_borrow now that false positive is fixed 2023-07-16 13:52:49 -07:00
David Tolnay
98d61bfc4e
Resolve needless_borrow clippy lint
warning: the borrowed expression implements the required traits
      --> src/manifest.rs:21:38
       |
    21 |     let content = fs::read_to_string(&manifest_path)?;
       |                                      ^^^^^^^^^^^^^^ help: change this to: `manifest_path`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
       = note: `-W clippy::needless-borrow` implied by `-W clippy::all`
2023-07-16 13:52:34 -07:00
David Tolnay
bbfdc0c286
Move Cargo manifest parsing to module 2023-07-16 13:49:34 -07:00
David Tolnay
7f4107d810
Ignore module_name_repetitions pedantic clippy lint
warning: item name ends with its containing module's name
     --> src/manifest.rs:9:12
      |
    9 | pub struct CargoManifest {
      |            ^^^^^^^^^^^^^
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
      = note: `-W clippy::module-name-repetitions` implied by `-W clippy::pedantic`
2023-07-16 13:49:34 -07:00
David Tolnay
58201ca96b
Deserialize Cargo.toml without spawning cargo metadata command 2023-07-16 13:46:00 -07:00
David Tolnay
737293417b
Capture TOML deserialization errors in Error enum 2023-07-16 13:46:00 -07:00
David Tolnay
f88f534fda
Reimplement Cargo.toml finding 2023-07-16 13:46:00 -07:00
David Tolnay
d319e7afb4
Delete cargo metadata fail warning 2023-07-16 13:45:59 -07:00
David Tolnay
8d8139502b
Merge pull request #186 from dtolnay/defaultrun
Touch up PR 185
2023-07-16 13:45:52 -07:00
David Tolnay
d9808369cf
Eliminate use of ref keyword 2023-07-16 13:41:58 -07:00
David Tolnay
60d01a297f
Easier way to pass a single command argument 2023-07-16 13:41:49 -07:00
David Tolnay
7c11e5d1e8
Prefer deref before passing argument to function 2023-07-16 13:41:27 -07:00
David Tolnay
b4d9e1753e
Simplify cargo metadata manifest path setup using if-let 2023-07-16 13:40:56 -07:00
David Tolnay
7c31ec4f1c
Invert no_build_target boolean 2023-07-16 13:40:38 -07:00
David Tolnay
cfbcc88b74
Format PR 185 with rustfmt 2023-07-16 13:40:35 -07:00