Martin Herren
09910e2019
cargo: move clap to dev-dependencies
...
clap is only used in the examples, not in the library, so move it to
dev-dependencies so not all user of bwavfile need to pull clap and its
dependencies.
Especially as the examples use clap v2 which in turn depend on
unmaintained atty and ansi_term which have open reported
vulnerabilities.
Signed-off-by: Martin Herren <sputnik@on-the-web.ch >
2026-09-02 22:11:59 +02:00
Jamie Hardt
3315f00a89
Update CONTRIBUTING.md
2026-05-03 12:09:29 -07:00
Jamie Hardt
6819f63c74
Create CONTRIBUTING.md
2026-05-03 12:01:39 -07:00
jamie
1c83094888
Nudged version
2026-05-03 11:01:29 -07:00
jamie
977c8263d2
Silencing clippy errors
2026-05-03 10:44:31 -07:00
jamie
da4bad0e87
Fixed a WAVEFORMATEX cb_size typo
2026-05-03 10:30:27 -07:00
jamie
c89a98f7e4
Fixed a parser bug
...
Parsing was failing for malformed wav files
where the final chunk was not padded to a
word boundary.
2026-05-03 10:29:12 -07:00
Jamie Hardt
8e341990fa
Rustfmt
2024-12-10 17:41:50 -08:00
Jamie Hardt
2dfddff0b5
Update Cargo.toml
...
Nudge version
v2.0.1
2023-06-02 21:04:12 -07:00
Jamie Hardt
aa8365a38d
Documentation
2023-06-02 20:37:44 -07:00
Jamie Hardt
b8a428e757
Documentation and exposure
...
Documentation in the fmt module has been improved.
ReadWaveData trait is now public.
The
2023-06-02 11:06:53 -07:00
Jamie Hardt
c1d2b2c836
Documentation fixes. Made a trait public.
2023-06-02 09:53:23 -07:00
Jamie Hardt
f41b7ea575
Update lib.rs
2023-06-02 08:53:27 -07:00
Jamie Hardt
9a62bdc375
Update issue templates
2023-06-02 08:47:38 -07:00
Jamie Hardt
368ef4366d
Delete bwavefile.code-workspace
2023-06-02 08:42:55 -07:00
Jamie Hardt
bfa51a4e4c
Update issue templates
2023-06-02 08:42:27 -07:00
Jamie Hardt
4270dc9866
Merge pull request #16 from iluvcapra/release
...
Committing lock file
2023-05-26 22:31:27 -07:00
Jamie Hardt
92d76289e4
Update README.md
2023-05-26 12:29:28 -07:00
Jamie Hardt
15f9a240c0
Committing lock file
2023-05-22 18:04:53 -07:00
Jamie Hardt
da2e6f61ee
Merge branch 'master' of https://github.com/iluvcapra/bwavfile
v2.0.0
2023-05-22 17:53:44 -07:00
Jamie Hardt
eff4fe199f
Update Cargo.toml
...
Bumping version 2.0.0
2023-05-22 17:45:28 -07:00
Jamie Hardt
4e84756417
Merge pull request #14 from irh/performance-improvements
...
Performance improvements
2023-05-22 17:44:43 -07:00
Ian Hobson
5592e87f0e
Update Cargo.toml author list
2023-05-19 11:05:22 +02:00
Ian Hobson
72fea1a493
Expose and rename the supported wave tags and UUIDs
2023-05-19 10:57:39 +02:00
Ian Hobson
bd09ed207a
Re-use the write buffer between calls to write_frames
...
This resulted in a ~10% speedup in test runs of the deinter example.
2023-05-19 10:57:39 +02:00
Ian Hobson
3d1826007e
Avoid panics when incorrect buffer sizes are provided to read/write_frames
2023-05-19 10:57:39 +02:00
Ian Hobson
3400778991
Introduce generic read_frames and write_frames functions
2023-05-19 10:57:39 +02:00
Ian Hobson
7290d5ec81
Rework the deinter example, create writers before reading through the input file
2023-05-19 10:57:39 +02:00
Ian Hobson
0074e13bff
Avoid flushing output on each write
2023-05-19 10:57:39 +02:00
Ian Hobson
60a3eac072
clippy: Collapse nested else/if into else if
2023-05-19 10:57:39 +02:00
Ian Hobson
0c46a0e21f
clippy: Remove unnecessary import
2023-05-19 10:57:39 +02:00
Ian Hobson
8d34a517fc
clippy: Don't warn about the LUFS type name
2023-05-19 10:57:39 +02:00
Ian Hobson
86ffd4310a
clippy: Prefer if let Some(_) over Option::map
2023-05-19 10:57:39 +02:00
Ian Hobson
ceb8c4371e
clippy: Avoid unnecessary conversion
2023-05-19 10:57:39 +02:00
Ian Hobson
22e8dc79d1
clippy: Use a slice argument instead of the owned equivalent
2023-05-19 10:57:39 +02:00
Ian Hobson
f6f4869b5b
clippy: Avoid () as return type
2023-05-19 10:57:39 +02:00
Ian Hobson
cf5ec121da
clippy: Avoid unnecessary closures
2023-05-19 10:57:39 +02:00
Ian Hobson
7c01778029
clippy: Use .write_u8() when writing a single value
2023-05-19 10:57:39 +02:00
Ian Hobson
4e370c57c1
clippy: Use .write_all() when writing a slice
2023-05-19 10:57:39 +02:00
Ian Hobson
fc3b411717
clippy: Use .read_exact() when reading a fixed number of bytes
2023-05-19 10:57:39 +02:00
Ian Hobson
4d81ef36cd
clippy: Use the += operator
2023-05-19 10:57:39 +02:00
Ian Hobson
651009c96a
clippy: Avoid making unnecessary references
2023-05-19 10:57:39 +02:00
Ian Hobson
566ad07247
clippy: Remove unnecessary use of .into()
2023-05-19 10:57:39 +02:00
Ian Hobson
6989520743
clippy: Use Vec::get() instead of iter().nth()
2023-05-19 10:57:39 +02:00
Ian Hobson
b6c20ae410
clippy: Remove unnecessary casts
2023-05-19 10:57:39 +02:00
Ian Hobson
9eb655cd27
clippy: Remove unnecessary use of return
2023-05-19 10:57:39 +02:00
Ian Hobson
bbd84b7bbb
clippy: Remove unnecessary uses of ?
2023-05-19 10:57:39 +02:00
Ian Hobson
04d282ccd6
clippy: Use Avoid unnecessary indexing in for loops
2023-05-19 10:57:39 +02:00
Ian Hobson
1234c897a3
clippy: Use stream_position() to get current position
2023-05-19 10:57:39 +02:00
Ian Hobson
313f5408ca
Update the comment in wave-deinter.rs
2023-05-19 10:57:38 +02:00