Comments (8)
@mandrean , Version 0.16 is published :)
from strum.
from strum.
Actually I'm a bit blocked now in one of my own projejcts! What do you think, could you help a brother out and publish v0.16.0
? 😄
from strum.
Until he's published it, my suggestion would be to pull it in and use crates.io-patch
from strum.
@ahmed-masud Building locally is fine with git
+ rev
. I've also gotten [replace]
and [patch.crates-io]
working locally (separately)
But are you sure that one can publish a crate to Crates.io if the dependency is a replace or patch pointing at a git branch or revision?
I just couldn't get publishing working. I've tried all kinds of permutations, like:
[dependencies]
...
strum = "0.15.0"
strum_macros = "0.15.0"
url = "2.1.0"
[replace]
"strum:0.16.0" = { git = "https://github.com/Peternator7/strum", branch = "refactor" }
"strum_macros:0.15.0" = { git = "https://github.com/Peternator7/strum", branch = "refactor" }
and
[dependencies]
...
strum = "0.15.0"
strum_macros = "0.15.0"
[patch.crates-io]
"strum" = { git = "https://github.com/Peternator7/strum", branch = "refactor" }
"strum_macros" = { git = "https://github.com/Peternator7/strum", branch = "refactor" }
from strum.
Awesome 😄 Enjoy your honeymoon @Peternator7
from strum.
Enjoy your honeymoon!
(Found this issue when I wanted to ask for a new release, too. Also: If you need someone to help you maintain this crate, let me know!)
from strum.
Awesome! Thanks 😄
from strum.
Related Issues (20)
- Disabled variant still included in Count
- Enum variant with number produces "is not a valid identifier"
- Enum Map derive macro HOT 7
- Convert between structs and enums HOT 2
- derive(FromRepr) broken in 0.25.0 HOT 13
- Unwrap methods HOT 6
- strum(serialize_all vs serde(rename_all HOT 1
- rustfmt::skip is broken by derive(FromRepr) HOT 1
- Maybe EnumCount should respect `#[repr(...)]` like FromRepr HOT 2
- EnumDiscriminants should inherit the repr of the enum they are derived from HOT 1
- `could not find fmt in core` when upgrading to 0.25 HOT 1
- Proposal: Exclude macro for EnumIter macro
- IntoStaticStr but from immutable reference to an enum From<&MyEnum> HOT 7
- `EnumString` match with non-default variables HOT 1
- Feature request: A function to convert to integer by variant HOT 1
- EnumIter does not work for enums named 'Option'
- [Feature] Macro to Implement PartialEq<str> HOT 1
- strum::Display doesn't work with non-unit non-string variants
- `EnumString` should derive `From<&str>` instead of `TryFrom<&str>` when `#[strum(default)]` is present HOT 1
- to_string and serialize when used together causes unreachable code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strum.