dotenvy icon indicating copy to clipboard operation
dotenvy copied to clipboard

Publised crate missing `macros`

Open nuke-web3 opened this issue 1 year ago • 4 comments

Maybe I am missing something, but I was expecting the macros feature to be in 0.15.7 to use in my own project. https://github.com/allan2/dotenvy/blob/e2da110668572cf2d67178f192eb1fc285224040/dotenvy/Cargo.toml#L35-L38

but https://docs.rs/crate/dotenvy/0.15.7/source/Cargo.toml does not match this, and thus I am unable to access the macros at all downstream from crates.io

nuke-web3 avatar Jan 22 '25 21:01 nuke-web3

The features described on the master branch are for the upcoming 0.16 version, which is not released yet. It is still under development.

allan2 avatar Jan 23 '25 02:01 allan2

@allan2 When is version 0.16 expected to be released?

Robert-maker1994 avatar Jan 28 '25 10:01 Robert-maker1994

@nuke-web3 You can specify dependencies from git repositories.

[dependencies]
dotenvy = { git = "https://github.com/allan2/dotenvy" }

However, this API will stlil be changed before the final release due to some ergonomic issues (#136).

@Robert-maker1994 I am hoping before April. My original goal was to have the API out before Rust 2024 stabilizes (on Feb 20) but it will have to come later.

I will first modify the API to resolve #136 and then leave it for a few weeks for feedback. I would also like to update the compile-time macro to mirror the syntax of the new attribute macro.

PRs are welcome, especially for the compile-time macro.

allan2 avatar Feb 04 '25 05:02 allan2

@allan2 Thanks for all the work you do on this crate! Do you have any news on when 0.16 is expected to release?

emilbonnek avatar Apr 10 '25 14:04 emilbonnek