chore: upgrade to ffi 1.0.0

This commit is contained in:
Lukas Lihotzki 2021-03-29 16:37:29 +02:00
parent 88bc150722
commit 3d55abdd11
3 changed files with 13 additions and 6 deletions

View File

@ -9,4 +9,7 @@ analyzer:
errors:
todo: ignore
exclude:
- example/main.dart
- example/main.dart
# needed until crypto packages upgrade
- lib/src/database/database.g.dart

View File

@ -187,7 +187,7 @@ abstract class SignableKey extends MatrixSignableKey {
olm.Utility olmutil;
try {
olmutil = olm.Utility();
} on NoSuchMethodError {
} catch (e) {
// if no libolm is present we land in this catch block, and return the default
// set if no libolm is there. Some signatures should be assumed-valid while others
// should be assumed-invalid

View File

@ -13,14 +13,14 @@ dependencies:
canonical_json: ^1.0.0
markdown: ^3.0.0
html_unescape: ^1.0.2
moor: ^3.4.0
moor: ^4.0.0
random_string: ^2.1.0
encrypt: ^4.1.0
crypto: ^2.1.5
base58check: ^1.0.1
password_hash: ^2.0.0
olm: ^1.3.0
matrix_file_e2ee: ^1.0.5
olm: ^2.0.0
matrix_file_e2ee: ^1.1.0
isolate: ^2.0.3
logger: ^0.9.4
matrix_api_lite: ^0.2.0
@ -28,9 +28,13 @@ dependencies:
dev_dependencies:
test: ^1.15.7
coverage: ">=0.15.0 <2.0.0"
moor_generator: ^3.4.1
moor_generator: ^4.0.0
build_runner: ^1.11.1
pedantic: ^1.11.0
dapackages: ^1.4.0
#flutter_test:
#sdk: flutter
dependency_overrides:
# needed until crypto packages upgrade
convert: ^3.0.0