Skip to content

Commit d3d562e

Browse files
committed
chore: update versions and readme
1 parent 5e25c6c commit d3d562e

3 files changed

Lines changed: 40 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,17 @@ rand = "0.10"
4242
criterion = "0.7"
4343

4444
[features]
45-
default = ["image", "client_support", "image_formats", "serde", "encoding_rs", "encoders", "decoders", "full_barcode_format_support", "multi_barcode_readers"]
45+
default = [
46+
"image",
47+
"client_support",
48+
"image_formats",
49+
"serde",
50+
"encoding_rs",
51+
"encoders",
52+
"decoders",
53+
"full_barcode_format_support",
54+
"multi_barcode_readers"
55+
]
4656

4757
#/// Enable features required for image manipulation and reading.
4858
image = ["dep:image", "dep:imageproc"]

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,34 @@ fn main() {
9090
```
9191

9292
## Latest Release Notes
93+
* *v0.9.0* -> Refactor crate features. This is a **breaking change**.
94+
95+
This version allows buiding the crate with much more granularity, only including features, symbologies, and
96+
capabilities necessary for the task. Consumers who do not use `default-features = false` will likely not need
97+
to make any changes to their build or configuration.
98+
99+
The new default features list for 0.9.0 is:
100+
```yaml
101+
default = [
102+
"image",
103+
"client_support",
104+
"image_formats",
105+
"serde",
106+
"encoding_rs",
107+
"encoders",
108+
"decoders",
109+
"full_barcode_format_support",
110+
"multi_barcode_readers"
111+
]
112+
```
113+
114+
For instance, a program that needs only the ability to decode qr_codes could select the following features.
115+
`image, image_formats, encoding_rs, decoders, qrcode`. Similarly, a use case where encoding Aztec codes was
116+
all that was required would likely want to use: `image, image_formats, encoding_rs, encoders, aztec`. This
117+
change has been tested against the full test suite, which has required some modification of the test suite.
118+
119+
Please file issues if any problems are detected.
120+
93121
* *v0.8.5* -> DX Film Edge Support added (decode only). Also adds several enhancements to performance and memory.
94122

95123
The default character encoding backend has changed to the more modern `encoding_rs`. This should bring some slight

crates/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rxing-cli"
3-
version = "0.2.5"
3+
version = "0.3.0"
44
edition = "2024"
55
description = "A command line interface for rxing supporting encoding and decoding of multiple barcode formats"
66
license="Apache-2.0"

0 commit comments

Comments
 (0)