Kagami Sascha Rosylight
0f3e934f77
Follow the default behavior of rustfmt ( #224 )
2 years ago
Jan-Erik Rediger
c30523065a
Unbreak compilation on MSRV (Rust 1.45.0)
2 years ago
Jan-Erik Rediger
9d5c5e9f24
CI: Workaround for network issue with old Rust toolchain
2 years ago
Jan-Erik Rediger
a2de8a917d
Address new clippy warnings
2 years ago
Jan-Erik Rediger
4410a95b41
CI: Upgrade nightly to use
2 years ago
Jan-Erik Rediger
d503ec2587
Remove LMDB from the default features
2 years ago
Jan-Erik Rediger
dd42887903
Hide all of LMDB behind a feature
2 years ago
Kagami Sascha Rosylight
c03fcfbf3d
`fail-fast: false` for ci.yml
...
Because currently it's hard to see whether a failure happens on a specific job or affects everything.
2 years ago
Kagami Sascha Rosylight
5fbe85f970
Migrate from Travis CI to GitHub Actions ( #220 )
...
* Migrate from Travis CI to GitHub Actions
* name
* downgrade to checkout@v2 and ditch actions-rs
* Update ci.yml
* Update ci.yml
* KNOWN_TO_HAVE_RUSTFMT
* we don't need continue-on-error, we can just exclude it from required status
* Cover Windows 32bit
* CC: clang
* Skip clippy in 1.45.0
* Update ci.yml
* pin bitflags to last known good version
* Pin to nightly-2020-07-12 for now
* use ${{}} for windows compat
* Prevent line ending normalization
* Actually let's force LF.
* shell: bash for windows
* default to bash
* Remove appveyor/travis
2 years ago
Jan-Erik Rediger
762887be3f
(cargo-release) version 0.17.1
2 years ago
Jan-Erik Rediger
68bba74234
Upgrade to latest ordered-float
...
Also contains the fixes for https://github.com/advisories/GHSA-566x-hhrf-qf8m
2 years ago
Jan-Erik Rediger
e972992d8d
Merge pull request #217 from badboy/paste-update
2 years ago
Jan-Erik Rediger
0c41e61a64
Update paste to v1
2 years ago
Victor Porof
76cfa91fc7
Update version to 0.17.0
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
3 years ago
Xidorn Quan
835c5ac90e
Remove mention of failure in doc
3 years ago
Xidorn Quan
47f63aead1
Replace failure with thiserror
3 years ago
Victor Porof
fba6b3eb06
Merge pull request #209 from badboy/patch-1
...
Update dependencies to minimal supported versions
3 years ago
Victor Porof
65d1243bbe
Update version to 0.16.1
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
3 years ago
Victor Porof
a558c4bc1b
Handle all corrupted cases in the easy migration
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
3 years ago
Jan-Erik Rediger
c9d2030b3a
Update several other dependencies to correct minimal version
4 years ago
Jan-Erik Rediger
fc70fbc348
Update ordered-float dependency
4 years ago
Victor Porof
82b5031187
Update version to 0.16
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
8b28b1b8e0
Merge pull request #207 from mozilla/dealing-with-corrupted
...
Add a way to discard corrupted databases on load
4 years ago
Victor Porof
bce037a902
Add a way to discard corrupted databases on load
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
f604c83170
Merge pull request #206 from mozilla/migration-bug
...
Migration updates
4 years ago
Victor Porof
b51b5e07a5
Prevent potential deadlocks in safe mode environments when opnening dbs
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
2d93f06d39
Make easy migrator more reslient against situations where old files don't get deleted
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
2b0ececa3f
Update version to 0.15
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
a6a9042ec8
Merge pull request #203 from mozilla/ignore-more
...
Ignore file invalid errors when migrating
4 years ago
Victor Porof
d74250b549
Make migration methods and error handling less surprising
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
6e04f6a117
Add tests
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
1c892355b7
Ignore file invalid errors when migrating
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
7fd0c83d14
Update version to 0.14.1
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
4ebabdba4f
Merge pull request #202 from mozilla/ignore-io-error
...
Small migration helper followups
4 years ago
Victor Porof
a2b4f2cc77
Add ability to disable path canonicalization
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
99203b05c7
Ignore source environment path errors when migrating, as per documentation
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
efa7ed63a1
Update version to 0.14
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
5e2d0d6764
Merge pull request #201 from mozilla/easy-migration
...
Make migration easier for consumers
4 years ago
Victor Porof
84b74b7610
Handle NO_LOCK when opening environments
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
b2f4f097c6
Handle NO_LOCK and NO_SUB_DIR when retrieving environment files
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
a634920d46
Remove `set_check_if_env_exists` since it's unreliable with LMDB
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
bada6fec6f
Make migration easier for consumers
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
d1fef9a2c8
Update version to 0.13
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
cf410ad6de
Update old comments with incorrect info in tests
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
a6a616ad3d
Merge pull request #200 from mozilla/migrator
...
Implement a simple migrator between multiple backends
4 years ago
Victor Porof
ceda0d5091
Implement a basic migrator that works across backends
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
0fd756d5d9
Add ability to list all created dbs
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
55d04b43ad
Move current migrator to a legacy module
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
3c502c4bb4
Pre: Iterators shouldn't wrap values in options
...
Signed-off-by: Victor Porof <victor.porof@gmail.com>
4 years ago
Victor Porof
42c5c2c1b1
Remove leftover/unused `OtherError`
4 years ago