Skip to content

Commit b79a43c

Browse files
committed
Automatically enable std for simd
Won't work without anyways
1 parent dc198a4 commit b79a43c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repository = "https://github.com/vstroebel/jpeg-encoder"
1212

1313
[features]
1414
default = ["std"]
15-
simd = []
15+
simd = ["std"]
1616
std = []
1717

1818
[dependencies]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ encoder.encode(&data, 2, 2, ColorType::Rgb)?;
3636
```
3737

3838
## Crate features
39-
- std (default): Enables functionality dependent on the std lib
40-
- simd: Enables SIMD optimizations (only AVX2 as for now)
39+
- `std` (default): Enables functionality dependent on the std lib
40+
- `simd`: Enables SIMD optimizations (implies `std` and only AVX2 as for now)
4141

4242
## Minimum Supported Version of Rust (MSRV)
4343

0 commit comments

Comments
 (0)