Oliver Hamlet and GitHub
3b1e54a4ed
Merge pull request #2 from loot/dependabot/cargo/cbindgen-0.14
...
Update cbindgen requirement from 0.12 to 0.14
2020-05-30 12:42:16 +01:00
dependabot-preview[bot] and GitHub
75cd0e1d79
Update cbindgen requirement from 0.12 to 0.14
...
Updates the requirements on [cbindgen](https://github.com/eqrion/cbindgen ) to permit the latest version.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.12.0...v0.14.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-05-30 06:44:30 +00:00
Oliver Hamlet
99d227ec6d
Update rustfmt install command in CI
...
rustfmt hasn't been a preview for a while now. It still needs to
be installed separately because Travis uses the minimal Rustup
profile, which doesn't include it. Also use the minimal profile on
Windows for consistency and to speed up installation.
2020-05-29 16:44:22 +01:00
Oliver Hamlet
d9173d37cd
Update tarpaulin to support the new Cargo.lock format
...
Unfortunately the published binary no longer works on Travis
unless the build happens on its bionic image, because the binary is
built in GitHub Actions using the ubuntu:latest image. Running in bionic isn't
guaranteed not to break in the future, so install from source and cache
the artifact to be sure.
Fortunately, cargo install no longer requires --force to update an installed binary
crate, so building from source and caching the result is simpler
than it used to be.
2020-05-29 16:43:17 +01:00
Oliver Hamlet
e31456f5b9
Resolve rustc deprecation warnings
2020-04-02 08:55:29 +01:00
Oliver Hamlet
f6e988b1af
Handle directories gracefully in checksum(), version() and product_version() conditions
...
If the path is a directory, eval the same as if the path didn't exist.
2020-01-10 18:00:24 +00:00
Oliver Hamlet
ff1529d932
Update Tarpaulin to v0.10.0
...
Also download a prebuilt binary from GitHub to speed up Travis builds.
The later 0.9.x and 0.10.0 release binaries seems to have been built
against a version of libssl that isn't available on Travis.
2019-12-23 23:31:48 +00:00
Oliver Hamlet
458820b638
Update criterion to v0.3.0
2019-12-23 14:04:16 +00:00
Oliver Hamlet
377ebcbb63
Update pelite to v0.8.0
2019-12-23 13:37:55 +00:00
Oliver Hamlet
7ff5e0c5d1
Fix C++ linking on AppVeyor
...
For some reason Rustup now installs the i686 toolchain by default, so
build the C++ tests as a 32-bit application.
2019-12-23 13:22:01 +00:00
Oliver Hamlet
90ef017807
Update cbindgen to v0.12
2019-12-23 13:20:27 +00:00
Oliver Hamlet
1075596e99
Update versions and changelog for v2.1.0
2.1.0
2019-10-05 13:24:52 +01:00
Oliver Hamlet
e5755629e6
Fix deprecation warning about bare trait object syntax
2019-10-05 13:24:52 +01:00
Oliver Hamlet
cb211d6ec3
Add support for an is_master(file path) function
2019-10-05 13:24:52 +01:00
Oliver Hamlet
90cbeff71a
Update versions and changelog for v2.0.1
2.0.1
2019-07-23 19:15:35 +01:00
Oliver Hamlet
b9d5d57dac
Fix regex conditions returning true for partial matches
...
The regex engine implicitly adds .*? to the beginning and end of
expressions, so add ^ and $ to input expressions.
2019-07-23 19:04:22 +01:00
Oliver Hamlet
214cc93423
Update versions and changelog for v2.0.0
2.0.0
2019-06-30 11:25:24 +01:00
Oliver Hamlet
99e1c6d378
Don't error if an executable has no version info
...
Instead, treat it as having no version (so true if comparator is !=, <
or <=).
2019-06-30 11:25:24 +01:00
Oliver Hamlet
93b16a4c2a
Update cbindgen, generate a single C/C++ header
2019-06-30 11:25:24 +01:00
Oliver Hamlet
954757a141
Replace deprecated Error::cause with Error::source
...
Error::source was added in Rust 1.30.0, and Error::cause was deprecated
in favour of it in Rust 1.33.0.
2019-06-30 11:25:24 +01:00
Oliver Hamlet
860995638c
Rename LCI_GAME_* constants to use fewer acronyms
...
A minor quality of life improvement, to break the FFI compatibility in
step with the Rust library.
2019-06-30 11:25:23 +01:00
Oliver Hamlet
52792626af
Update to Rust 2018 syntax
2019-06-30 11:25:23 +01:00
Oliver Hamlet
6cfefc6c31
Rename GameType variants to use fewer acronyms
...
A minor quality of life improvement since the nom 5 update is a
breaking change.
2019-06-30 11:25:23 +01:00
Oliver Hamlet
4db34be2c9
Upgrade to nom v5
...
Error handling has changed, affecting the error variants LCI exports,
and macros are replaced by functions, so all the parsing code has been rewritten.
2019-06-30 11:25:23 +01:00
Oliver Hamlet
cb19ec084a
Add coverage checking for Travis builds
2019-06-16 20:36:14 +01:00