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

update release in crates.io #121

Open
joseluis opened this issue Nov 14, 2024 · 4 comments
Open

update release in crates.io #121

joseluis opened this issue Nov 14, 2024 · 4 comments

Comments

@joseluis
Copy link
Contributor

Latest published version is v0.2.0-beta.0 which unfortunately requires nightly.

@knickish
Copy link
Collaborator

Can you elaborate on this? It's building on stable for me

@joseluis
Copy link
Contributor Author

You're right, it only requires nightly when the std feature is disabled, which is how I intended to use it.

[dependencies.nanoserde]
# git = "https://github.com/not-fl3/nanoserde" # 0.2.0-beta.2 COMPILES
version = "0.2.0-beta.0" # FIXME: needs nightly
default-features = false
features = ["json", "binary", "ron", "toml"]
$ cargo -V
cargo 1.82.0 (8f40fc59f 2024-08-21)

$ cargo build
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /home/.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/nanoserde-0.2.0-beta.0/src/lib.rs:19:35
   |
19 | #![cfg_attr(not(feature = "std"), feature(error_in_core))]
   |                                   ^^^^^^^^^^^^^^^^^^^^^^

@knickish
Copy link
Collaborator

Ah, I see, hadn't realized the change to not require nightly was since then

@knickish
Copy link
Collaborator

Sounded like @not-fl3 was fine with bumping the MSRV when 0.2 actually comes out, so will make a PR to raise that soon. Waiting atm to see if any other breaking changes should make it in, but it's not really looking like it. Should be good to release the new version pretty soon.

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