Commit Graph
26 Commits
Author SHA1 Message Date
Marshall Bowers ca6e1659eb Move Clippy configuration to the workspace level (#8891)
This PR moves the Clippy configuration up to the workspace level.

We're using the [`lints`
table](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-lints-table)
to configure the Clippy ruleset in the workspace's `Cargo.toml`.

Each crate in the workspace now has the following in their own
`Cargo.toml` to inherit the lints from the workspace:

```toml
[lints]
workspace = true
```

This allows for configuring rust-analyzer to show Clippy lints in the
editor by using the following configuration in your Zed `settings.json`:

```json
{
  "lsp": {
    "rust-analyzer": {
      "initialization_options": {
        "check": {
          "command": "clippy"
        }
      }
    }
  }
```

Release Notes:

- N/A
2024-03-05 12:01:17 -05:00
Dzmitry Malyshau cc18ac5721 Clean up many small dependencies (part 3) (#8425)
Follow-up to #8353

Release Notes:
- N/A
2024-02-26 11:08:57 +02:00
Marshall Bowers f0c0bf5039 Sort dependencies in Cargo.toml files (#7126)
This PR sorts the dependency lists in our `Cargo.toml` files so that
they are in alphabetical order.

This should make them easier to visually scan when looking for a
dependency.

Apologies in advance for any merge conflicts 🙈 

Release Notes:

- N/A
2024-01-30 21:41:29 -05:00
Marshall Bowers dbd0a760e6 Clean up Cargo.toml files (#7044)
This PR cleans up some inconsistencies in the `Cargo.toml` files that
were driving me crazy.

Release Notes:

- N/A
2024-01-29 23:47:20 -05:00
Piotr Osiewicz 1e1b434acc Remove license-file from Cargo.toml as it is apparently redundant (#4218)
Release Notes:

- N/A
2024-01-23 17:40:30 +01:00
Piotr Osiewicz 47f28aa5ba Add missing license for derive_refineable (#4217)
Missed one crate.
Release Notes:

- N/A
2024-01-23 17:22:40 +01:00
Piotr OsiewiczandDavid 3fe512e1aa chore: Add crate licenses. (#4158)
- GPUI and all dependencies: Apache 2
- Everything else: AGPL

Here's a script that I've generated for it:
https://gist.github.com/osiewicz/6afdd6626e517da24a2092807e6f0b6e

Release Notes:
- N/A

---------

Co-authored-by: David <david@zed.dev>
2024-01-23 16:56:22 +01:00
Mikayla 277ccfd164 WIP: text_system 2024-01-22 19:30:40 -08:00
Mikayla 0b43bd7c14 Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
Mikayla 8604fcac41 Remove some comments 2024-01-12 20:10:40 -08:00
Piotr Osiewicz 62a2cc68f2 Another batch of fixups 2024-01-02 00:24:11 +01:00
Max Brunsfeld 0a5075ca96 Generalize Refineable derive macro to derive arbitrary traits on the refinement type 2023-11-09 13:23:31 -08:00
Marshall Bowers f81e3f4dab Allow deriving Serialize and Deserialize on generated refinement (#3227)
This PR adds support for deriving `Serialize` and `Deserialize` on the
refinement type generated by `#[derive(Refineable)]`.

Release Notes:

- N/A
2023-11-03 17:21:00 -04:00
Nathan Sobo 4b83b8bada Fix compile error 2023-10-16 20:19:04 +02:00
Nathan Sobo 458c7aa4f5 Get everything rendering again 2023-10-16 20:15:24 +02:00
Antonio Scandurra 9ffdf0e105 WIP 2023-10-13 19:06:03 +02:00
Nathan Sobo c9e6d09f23 Add group hovers 2023-10-11 21:34:08 -06:00
Nathan Sobo bf85f3580e Checkpoint 2023-09-14 14:42:04 -06:00
Nathan Sobo 1ccd2eda6b WIP 2023-09-12 07:34:42 -06:00
Nathan Sobo 82fdb5f091 Add basic inspector 2023-09-07 22:24:02 -06:00
Nathan SoboandConrad Irwin 6a86eb0486 Use RefinementCascade to compose pressability and hoverability
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
2023-08-23 12:18:12 -06:00
Nathan Sobo 298aeb0f11 Mark new crates as publish = false 2023-08-22 20:47:05 -06:00
Nathan Sobo e1034181ec Compiling checkpoint 2023-08-19 19:51:22 -06:00
Nathan Sobo ee2dc26e91 WIP 2023-08-18 17:14:29 -06:00
Nathan Sobo ea297c002a Compiling 2023-08-18 01:59:21 -06:00
Nathan Sobo 14368fd0b4 Introduce Refinement trait and derive macro 2023-08-18 01:03:46 -06:00