Releases: kevinmehall/rust-vcd
Releases · kevinmehall/rust-vcd
0.7.0
Breaking changes
Parser
now requiresBufRead
rather thanRead
. This was already a practical requirement, given that it would have performed abysmally doing a syscall per byte if passed an unwrappedFile
.- Added
#[non_exhaustive]
onScope
,Var
, andScopeItem
. - Added
Vector
type instead of usingVec<Value>
. This is currently just a wrapper, but may be replaced with a faster bit vector in the future. - Replaced
InvalidData
error type withParseError
and individual error types forFromStr
implementations. - Removed
Header::comment
field -- comments are now initems
for consistency with child scopes and to allow multiple comments. - Renamed
Scope::children
toitems
for consistency withHeader
andScopeItem
. - Changed
ReferenceIndex
fields fromu32
toi32
.
Fixes
- Allow
Header::find_var
to find variables not under a scope.
Additions
- Track line number for error messages.
- Support
$comment
in scopes. - Add access to the underlying
io::BufRead
onParser
. - Add access to the underlying
io::Write
onWriter
. - Allow negative reference indexes.
- Improved documentation.
Contributors
0.6.1
0.6.0
0.5.0
0.4.0
Fixes
- Fix handling multi-character ID codes
- Remove arbitrary limit on vector width
Additions
- Add support for more signal types
- Support variables and multiple scopes at top-level
Header::find_scope
andfind_var
methods to find by path in nested scopes
0.3.0
Fixes
- Prevent generating identifiers with non-printable characters when writing a file with many variables.
- Return errors instead of panicking in several cases in the parser.
Changes
- Parser error types changed to
io::Error
.
Additions
- Convenience API for writing scopes and their variables when outputting VCD.