Removed unsafe from WritableElement trait declaration.
Altered the behavior regarding .npy extensions of the file names within
.npz archives to match NumPy's behavior, by @jturner314. See
#76. Specifically,
NpzWriter::add_array() now appends .npy to the name.
NpzReader::names() now strips a single .npy (if present) from the end
of each name.
NpzReader::by_name() now tries {name}.npy if {name} is not present in
the archive.
New Features
Added NpzWriter::new_with_options(), which allows for different compression
options, etc., when writing .npz files. By @DCNick3. See
#66 for the motivation.
0.8.1
Added support for complex floating point element types with the new
num-complex-0_4 feature.
0.8.0
Updated to ndarray 0.15.
Updated to py_literal 0.4.
Updated to Rust 1.49.
0.7.2
Added a .finish() method to NpzWriter. All users of NpzWriter should
call this method, after the write of the last array, in order to properly
handle errors. (Without calling .finish(), dropping will automatically
attempt to finish the file, but errors will be silently ignored.)
Changed the write_npy convenience function and the NpzWriter::add_array
method to buffer writes using BufWriter. This significantly improves write
performance for arrays which are not in standard or Fortran layout. The docs
of WriteNpyExt::write_npy have also been updated to recommend that users
wrap the writer in a BufWriter. Thanks to [@bluss] for reporting the
unbuffered writes issue and reviewing the PR.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on ndarray-npy to permit the latest version.
Changelog
Sourced from ndarray-npy's changelog.
... (truncated)
Commits
6170116
Release 0.9.15b54dd0
Remove broken links from docs84f8ebd
Update copyright year in LICENSE-MITac57171
Release 0.9.0754366f
Update memmap2 dev-dependency (#79)3efa590
Update zip dependency to version 2 (#78)9574a2f
Add NpzWriter::new_with_options (#66)dd0dc26
Allow running tests with --no-default-features (#77)08bef59
Merge pull request #76 from jturner314/names-in-npzd3f0dcb
Add simple round-trip test for npzDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show