Added "Define and operate on a type represented as a bitfield" example #192
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've added the bitflags example but unfortunately there is a linking error due to other book dependencies using different bitflags versions.
clap -> bitflags 0.8.2
png -> bitflags 0.7.0
openssl -> bitflags 0.9.1
This results in standard problem
It the moment I have no idea how to work around such problem in general without changes to skeptic or cargo itself
fixes: https://github.com/brson/rust-cookbook/issues/189
fixes: https://github.com/brson/rust-cookbook/issues/114
blocked on Update bitflags 0.8.0 -> 0.9 clap-rs/clap#966blocked on Update bitflags 0.7 -> 0.9 image-rs/image-png#56blocked on https://github.com/google/pulldown-cmark update to crates.io to 0.0.15Update:dependencies updated on crates.ioimage-pngandimagehave released a new version compatible with bitflags "^0.9". Still waiting forclap-rsUpdate: both
image-png,imageandclap-rsupdated on crates.io but now we are still blocked onpulldown-cmark(skeptic transitive dependency).