Crates.io | vobsub |
lib.rs | vobsub |
version | 0.2.3 |
source | src |
created_at | 2017-02-12 13:54:58.104705 |
updated_at | 2017-05-22 13:01:32.803214 |
description | Decode DVD VobSub-format subtitles (*.sub/*.idx files) |
homepage | |
repository | https://github.com/emk/subtitles-rs |
max_upload_size | |
id | 8487 |
size | 62,481 |
For documentation and example code, please see the API docs.
Your feedback and contributions are welcome! For more information, see the subtitles-rs project.
We test some portions of this crate using the
excellent cargo fuzz
tool. To run these tests, install cargo fuzz
according to its documentation. Then run:
env RUST_BACKTRACE=1 rustup run nightly cargo fuzz run fuzzer_script_1 -- \
-dict=dictionary.txt -detect_leaks=0
You can also pass -jobs N
to run multiple jobs in parallel. By default,
this is limited to half the number of available CPU cores.
If it finds a crash, then copy the test case it produces back into our standard test suite and run the tests:
cp fuzz/artifacts/* ../fixtures/invalid
cargo test
This will allow us to tell whether the bug is fixed, and to detect any
regressions. Once the bug is fixed, call cargo fuzz run
again (as shown
above).