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

Cargo add cv doesn't work due to old unsupported attributes. #80

Open
dogunbound opened this issue Feb 17, 2024 · 1 comment
Open

Cargo add cv doesn't work due to old unsupported attributes. #80

dogunbound opened this issue Feb 17, 2024 · 1 comment

Comments

@dogunbound
Copy link

New project, and doing cargo add cv ; cargo run will generate this error:

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /home/dogunbound/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitarray-0.2.6/src/lib.rs:2:1
  |
2 | #![feature(min_const_generics)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute
  |
  = help: the feature `min_const_generics` has been stable since `1.51.0` and no longer requires an attribute to enable

I decided to try out master with this settings:

[dependencies.cv]
git = "https://github.com/rust-cv/cv"

And only got these warnings (atleast it is running):

[dogunbound@archlinux test-rust]$ cargo run
warning: skipping duplicate package `ensure_no_std` found at `/home/dogunbound/.cargo/git/checkouts/cv-f2802c299d0e3a2a/82a25ee/cv-geom/ensure_no_std`
warning: skipping duplicate package `ensure_no_std` found at `/home/dogunbound/.cargo/git/checkouts/cv-f2802c299d0e3a2a/82a25ee/lambda-twist/ensure_no_std`
warning: skipping duplicate package `ensure_no_std` found at `/home/dogunbound/.cargo/git/checkouts/cv-f2802c299d0e3a2a/82a25ee/akaze/ensure_no_std`
warning: skipping duplicate package `ensure_no_std` found at `/home/dogunbound/.cargo/git/checkouts/cv-f2802c299d0e3a2a/82a25ee/cv-pinhole/ensure_no_std`
warning: skipping duplicate package `ensure_no_std` found at `/home/dogunbound/.cargo/git/checkouts/cv-f2802c299d0e3a2a/82a25ee/cv-core/ensure_no_std`
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/test-rust`
@F8RZD
Copy link

F8RZD commented Apr 3, 2024

the cv cargo crate version "0.6.0" uses bitarray crate version "0.2.3".
bitarray is now at version "0.10.0"

cv/Cargo.toml

Line 43 in eba16de

bitarray = { version = "0.2.3", features = ["space"], optional = true }

I do guess they do not plan to update the crate maybe ?
my assumptions come from the way they present the build section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants