Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this crate dead? #117

Open
Dushistov opened this issue Nov 20, 2023 · 4 comments
Open

Is this crate dead? #117

Dushistov opened this issue Nov 20, 2023 · 4 comments
Labels
bug The crate does not work as expected

Comments

@Dushistov
Copy link

Two years since last commit. Is it still maintained?

@Dushistov Dushistov added the bug The crate does not work as expected label Nov 20, 2023
@fritzrehde
Copy link

Would also like to know. The functionality this crate provides seems super useful. Maybe this crate is just feature complete, and there is no more work to be done. However, if anyone knows of similar crates, that are actively maintained, please let me know (here maybe).

@eric-seppanen
Copy link

I have found derive-where to be a good replacement: https://github.com/ModProg/derive-where

@negezor
Copy link

negezor commented Mar 31, 2024

I found an alternative module, namely educe, it is somewhat more compact than derivative.
https://github.com/magiclen/educe

bors added a commit to rust-lang-ci/rust that referenced this issue Jun 27, 2024
Switch from `derivative` to `derive-where`

This is a part of the effort to get rid of `syn 1.*` in compiler's dependencies: rust-lang#109302

Derivative has not been maintained in nearly 3 years[^1]. It also depends on `syn 1.*`.

This PR replaces `derivative` with `derive-where`[^2], a not dead alternative, which uses `syn 2.*`.

A couple of `Debug` formats have changed around the skipped fields[^3], but I doubt this is an issue.

[^1]: mcarton/rust-derivative#117
[^2]: https://lib.rs/crates/derive-where
[^3]: See the changes in `tests/ui`
bors added a commit to rust-lang-ci/rust that referenced this issue Jul 25, 2024
…errors

Switch from `derivative` to `derive-where`

This is a part of the effort to get rid of `syn 1.*` in compiler's dependencies: rust-lang#109302

Derivative has not been maintained in nearly 3 years[^1]. It also depends on `syn 1.*`.

This PR replaces `derivative` with `derive-where`[^2], a not dead alternative, which uses `syn 2.*`.

A couple of `Debug` formats have changed around the skipped fields[^3], but I doubt this is an issue.

[^1]: mcarton/rust-derivative#117
[^2]: https://lib.rs/crates/derive-where
[^3]: See the changes in `tests/ui`
github-actions bot pushed a commit to rust-lang/miri that referenced this issue Jul 26, 2024
Switch from `derivative` to `derive-where`

This is a part of the effort to get rid of `syn 1.*` in compiler's dependencies: #109302

Derivative has not been maintained in nearly 3 years[^1]. It also depends on `syn 1.*`.

This PR replaces `derivative` with `derive-where`[^2], a not dead alternative, which uses `syn 2.*`.

A couple of `Debug` formats have changed around the skipped fields[^3], but I doubt this is an issue.

[^1]: mcarton/rust-derivative#117
[^2]: https://lib.rs/crates/derive-where
[^3]: See the changes in `tests/ui`
lnicola pushed a commit to lnicola/rust-analyzer that referenced this issue Jul 28, 2024
Switch from `derivative` to `derive-where`

This is a part of the effort to get rid of `syn 1.*` in compiler's dependencies: #109302

Derivative has not been maintained in nearly 3 years[^1]. It also depends on `syn 1.*`.

This PR replaces `derivative` with `derive-where`[^2], a not dead alternative, which uses `syn 2.*`.

A couple of `Debug` formats have changed around the skipped fields[^3], but I doubt this is an issue.

[^1]: mcarton/rust-derivative#117
[^2]: https://lib.rs/crates/derive-where
[^3]: See the changes in `tests/ui`
ia0 added a commit to ia0/wasefire that referenced this issue Aug 13, 2024
ia0 added a commit to google/wasefire that referenced this issue Aug 13, 2024
@TmLev
Copy link

TmLev commented Aug 18, 2024

I think derive_more could be a good replacement, especially since it just reached its 1.0.0 release:
https://docs.rs/derive_more/latest/derive_more/

konstin added a commit to astral-sh/uv that referenced this issue Aug 19, 2024
Upstream konstin/pep508_rs#17

> This removes the `derivative` dependency which [seems to be unmaintained](mcarton/rust-derivative#117) and depends on old versions of some crates, especially `syn`.
>
> I could also replace it with another crate like `educe` or `derive-where` but the implementation seems simple enough.
konstin added a commit to astral-sh/uv that referenced this issue Aug 19, 2024
Upstream konstin/pep508_rs#17

> This removes the `derivative` dependency which [seems to be
unmaintained](mcarton/rust-derivative#117) and
depends on old versions of some crates, especially `syn`.
>
> I could also replace it with another crate like `educe` or
`derive-where` but the implementation seems simple enough.
This was referenced Nov 11, 2024
taiki-e added a commit to openrr/urdf-viz that referenced this issue Nov 18, 2024
```
error[unmaintained]: `derivative` is unmaintained; consider using an alternative
   ┌─ /home/runner/work/urdf-viz/urdf-viz/Cargo.lock:65:1
   │
65 │ derivative 2.2.0 registry+https://github.com/rust-lang/crates.io-index
   │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unmaintained advisory detected
   │
   ├ ID: RUSTSEC-2024-0388
   ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0388
   ├ The [`derivative`](https://crates.io/crates/derivative) crate is no longer maintained.
     Consider using any alternative, for instance:
     - [derive_more](https://crates.io/crates/derive_more)
     - [derive-where](https://crates.io/crates/derive-where)
     - [educe](https://crates.io/crates/educe)
   ├ Announcement: mcarton/rust-derivative#117
   ├ Solution: No safe upgrade is available!
   ├ derivative v2.2.0
     └── num_enum v0.4.3
         └── ndk v0.2.1
             ├── ndk-glue v0.2.1
             │   └── winit v0.24.0
             │       └── glutin v0.26.0
             │           └── kiss3d v0.35.0
             │               └── urdf-viz v0.46.0
             │                   └── urdf-viz-wasm v0.0.0
             └── winit v0.24.0 (*)

error[unmaintained]: `instant` is unmaintained
    ┌─ /home/runner/work/urdf-viz/urdf-viz/Cargo.lock:124:1
    │
124 │ instant 0.1.13 registry+https://github.com/rust-lang/crates.io-index
    │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unmaintained advisory detected
    │
    ├ ID: RUSTSEC-2024-0384
    ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0384
    ├ This crate is no longer maintained, and the author recommends using the maintained [`web-time`] crate instead.
      
      [`web-time`]: https://crates.io/crates/web-time
    ├ Solution: No safe upgrade is available!
    ├ instant v0.1.13
      ├── kiss3d v0.35.0
      │   └── urdf-viz v0.46.0
      │       └── urdf-viz-wasm v0.0.0
      ├── parking_lot v0.11.2
      │   ├── glutin v0.26.0
      │   │   └── kiss3d v0.35.0 (*)
      │   └── winit v0.24.0
      │       └── glutin v0.26.0 (*)
      ├── parking_lot_core v0.8.6
      │   └── parking_lot v0.11.2 (*)
      └── winit v0.24.0 (*)
```
taiki-e added a commit to openrr/urdf-viz that referenced this issue Nov 19, 2024
```
error[unmaintained]: `derivative` is unmaintained; consider using an alternative
   ┌─ /home/runner/work/urdf-viz/urdf-viz/Cargo.lock:65:1
   │
65 │ derivative 2.2.0 registry+https://github.com/rust-lang/crates.io-index
   │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unmaintained advisory detected
   │
   ├ ID: RUSTSEC-2024-0388
   ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0388
   ├ The [`derivative`](https://crates.io/crates/derivative) crate is no longer maintained.
     Consider using any alternative, for instance:
     - [derive_more](https://crates.io/crates/derive_more)
     - [derive-where](https://crates.io/crates/derive-where)
     - [educe](https://crates.io/crates/educe)
   ├ Announcement: mcarton/rust-derivative#117
   ├ Solution: No safe upgrade is available!
   ├ derivative v2.2.0
     └── num_enum v0.4.3
         └── ndk v0.2.1
             ├── ndk-glue v0.2.1
             │   └── winit v0.24.0
             │       └── glutin v0.26.0
             │           └── kiss3d v0.35.0
             │               └── urdf-viz v0.46.0
             │                   └── urdf-viz-wasm v0.0.0
             └── winit v0.24.0 (*)

error[unmaintained]: `instant` is unmaintained
    ┌─ /home/runner/work/urdf-viz/urdf-viz/Cargo.lock:124:1
    │
124 │ instant 0.1.13 registry+https://github.com/rust-lang/crates.io-index
    │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unmaintained advisory detected
    │
    ├ ID: RUSTSEC-2024-0384
    ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0384
    ├ This crate is no longer maintained, and the author recommends using the maintained [`web-time`] crate instead.
      
      [`web-time`]: https://crates.io/crates/web-time
    ├ Solution: No safe upgrade is available!
    ├ instant v0.1.13
      ├── kiss3d v0.35.0
      │   └── urdf-viz v0.46.0
      │       └── urdf-viz-wasm v0.0.0
      ├── parking_lot v0.11.2
      │   ├── glutin v0.26.0
      │   │   └── kiss3d v0.35.0 (*)
      │   └── winit v0.24.0
      │       └── glutin v0.26.0 (*)
      ├── parking_lot_core v0.8.6
      │   └── parking_lot v0.11.2 (*)
      └── winit v0.24.0 (*)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The crate does not work as expected
Projects
None yet
Development

No branches or pull requests

5 participants