Skip to content

An open-source cross-platform alternative to AirDrop

fix: make it build again

Tien Do Nam80d710461ceb
diff --git a/app/build.yaml b/app/build.yaml
index 2d6be342..256bd962 100644
--- a/app/build.yaml
+++ b/app/build.yaml
@@ -2,6 +2,7 @@ targets:
$default:
builders:
slang_build_runner:
+ enabled: false
options:
base_locale: en
fallback_strategy: base_locale
diff --git a/app/lib/common/model/device.mapper.dart b/app/lib/common/model/device.mapper.dart
index c2766703..392c8778 100644
--- a/app/lib/common/model/device.mapper.dart
+++ b/app/lib/common/model/device.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -25,15 +27,15 @@ class DeviceTypeMapper extends EnumMapper<DeviceType> {
@override
DeviceType decode(dynamic value) {
switch (value) {
- case 'mobile':
+ case r'mobile':
return DeviceType.mobile;
- case 'desktop':
+ case r'desktop':
return DeviceType.desktop;
- case 'web':
+ case r'web':
return DeviceType.web;
- case 'headless':
+ case r'headless':
return DeviceType.headless;
- case 'server':
+ case r'server':
return DeviceType.server;
default:
return DeviceType.values[1];
@@ -44,15 +46,15 @@ class DeviceTypeMapper extends EnumMapper<DeviceType> {
dynamic encode(DeviceType self) {
switch (self) {
case DeviceType.mobile:
- return 'mobile';
+ return r'mobile';
case DeviceType.desktop:
- return 'desktop';
+ return r'desktop';
case DeviceType.web:
- return 'web';
+ return r'web';
case DeviceType.headless:
- return 'headless';
+ return r'headless';
case DeviceType.server:
- return 'server';
+ return r'server';
}
}
}
@@ -103,12 +105,16 @@ class DiscoveryMethodMapper extends ClassMapperBase<DiscoveryMethod> {
mixin DiscoveryMethodMappable {
String serialize();
Map<String, dynamic> toJson();
- DiscoveryMethodCopyWith<DiscoveryMethod, DiscoveryMethod, DiscoveryMethod> get copyWith;
+ DiscoveryMethodCopyWith<DiscoveryMethod, DiscoveryMethod, DiscoveryMethod>
+ get copyWith;
}
-abstract class DiscoveryMethodCopyWith<$R, $In extends DiscoveryMethod, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class DiscoveryMethodCopyWith<$R, $In extends DiscoveryMethod, $Out>
+ implements ClassCopyWith<$R, $In, $Out> {
$R call();
- DiscoveryMethodCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+ DiscoveryMethodCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
class MulticastDiscoveryMapper extends ClassMapperBase<MulticastDiscovery> {
@@ -147,56 +153,87 @@ class MulticastDiscoveryMapper extends ClassMapperBase<MulticastDiscovery> {
mixin MulticastDiscoveryMappable {
String serialize() {
- return MulticastDiscoveryMapper.ensureInitialized().encodeJson<MulticastDiscovery>(this as MulticastDiscovery);
+ return MulticastDiscoveryMapper.ensureInitialized()
+ .encodeJson<MulticastDiscovery>(this as MulticastDiscovery);
}
Map<String, dynamic> toJson() {
- return MulticastDiscoveryMapper.ensureInitialized().encodeMap<MulticastDiscovery>(this as MulticastDiscovery);
- }
-
- MulticastDiscoveryCopyWith<MulticastDiscovery, MulticastDiscovery, MulticastDiscovery> get copyWith =>
- _MulticastDiscoveryCopyWithImpl(this as MulticastDiscovery, $identity, $identity);
+ return MulticastDiscoveryMapper.ensureInitialized()
+ .encodeMap<MulticastDiscovery>(this as MulticastDiscovery);
+ }
+
+ MulticastDiscoveryCopyWith<
+ MulticastDiscovery,
+ MulticastDiscovery,
+ MulticastDiscovery
+ >
+ get copyWith =>
+ _MulticastDiscoveryCopyWithImpl<MulticastDiscovery, MulticastDiscovery>(
+ this as MulticastDiscovery,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return MulticastDiscoveryMapper.ensureInitialized().stringifyValue(this as MulticastDiscovery);
+ return MulticastDiscoveryMapper.ensureInitialized().stringifyValue(
+ this as MulticastDiscovery,
+ );
}
@override
bool operator ==(Object other) {
- return MulticastDiscoveryMapper.ensureInitialized().equalsValue(this as MulticastDiscovery, other);
+ return MulticastDiscoveryMapper.ensureInitialized().equalsValue(
+ this as MulticastDiscovery,
+ other,
+ );
}
@override
int get hashCode {
- return MulticastDiscoveryMapper.ensureInitialized().hashValue(this as MulticastDiscovery);
+ return MulticastDiscoveryMapper.ensureInitialized().hashValue(
+ this as MulticastDiscovery,
+ );
}
}
-extension MulticastDiscoveryValueCopy<$R, $Out> on ObjectCopyWith<$R, MulticastDiscovery, $Out> {
- MulticastDiscoveryCopyWith<$R, MulticastDiscovery, $Out> get $asMulticastDiscovery =>
- $base.as((v, t, t2) => _MulticastDiscoveryCopyWithImpl(v, t, t2));
+extension MulticastDiscoveryValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, MulticastDiscovery, $Out> {
+ MulticastDiscoveryCopyWith<$R, MulticastDiscovery, $Out>
+ get $asMulticastDiscovery => $base.as(
+ (v, t, t2) => _MulticastDiscoveryCopyWithImpl<$R, $Out>(v, t, t2),
+ );
}
-abstract class MulticastDiscoveryCopyWith<$R, $In extends MulticastDiscovery, $Out> implements DiscoveryMethodCopyWith<$R, $In, $Out> {
+abstract class MulticastDiscoveryCopyWith<
+ $R,
+ $In extends MulticastDiscovery,
+ $Out
+>
+ implements DiscoveryMethodCopyWith<$R, $In, $Out> {
@override
$R call();
- MulticastDiscoveryCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+ MulticastDiscoveryCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
-class _MulticastDiscoveryCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, MulticastDiscovery, $Out>
+class _MulticastDiscoveryCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, MulticastDiscovery, $Out>
implements MulticastDiscoveryCopyWith<$R, MulticastDiscovery, $Out> {
_MulticastDiscoveryCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<MulticastDiscovery> $mapper = MulticastDiscoveryMapper.ensureInitialized();
+ late final ClassMapperBase<MulticastDiscovery> $mapper =
+ MulticastDiscoveryMapper.ensureInitialized();
@override
$R call() => $apply(FieldCopyWithData({}));
@override
MulticastDiscovery $make(CopyWithData data) => MulticastDiscovery();
@override
- MulticastDiscoveryCopyWith<$R2, MulticastDiscovery, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
- _MulticastDiscoveryCopyWithImpl($value, $cast, t);
+ MulticastDiscoveryCopyWith<$R2, MulticastDiscovery, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _MulticastDiscoveryCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
class HttpDiscoveryMapper extends ClassMapperBase<HttpDiscovery> {
@@ -218,9 +255,7 @@ class HttpDiscoveryMapper extends ClassMapperBase<HttpDiscovery> {
static const Field<HttpDiscovery, String> _f$ip = Field('ip', _$ip);
@override
- final MappableFields<HttpDiscovery> fields = const {
- #ip: _f$ip,
- };
+ final MappableFields<HttpDiscovery> fields = const {#ip: _f$ip};
static HttpDiscovery _instantiate(DecodingData data) {
return HttpDiscovery(ip: data.dec(_f$ip));
@@ -240,54 +275,77 @@ class HttpDiscoveryMapper extends ClassMapperBase<HttpDiscovery> {
mixin HttpDiscoveryMappable {
String serialize() {
- return HttpDiscoveryMapper.ensureInitialized().encodeJson<HttpDiscovery>(this as HttpDiscovery);
+ return HttpDiscoveryMapper.ensureInitialized().encodeJson<HttpDiscovery>(
+ this as HttpDiscovery,
+ );
}
Map<String, dynamic> toJson() {
- return HttpDiscoveryMapper.ensureInitialized().encodeMap<HttpDiscovery>(this as HttpDiscovery);
+ return HttpDiscoveryMapper.ensureInitialized().encodeMap<HttpDiscovery>(
+ this as HttpDiscovery,
+ );
}
- HttpDiscoveryCopyWith<HttpDiscovery, HttpDiscovery, HttpDiscovery> get copyWith =>
- _HttpDiscoveryCopyWithImpl(this as HttpDiscovery, $identity, $identity);
+ HttpDiscoveryCopyWith<HttpDiscovery, HttpDiscovery, HttpDiscovery>
+ get copyWith => _HttpDiscoveryCopyWithImpl<HttpDiscovery, HttpDiscovery>(
+ this as HttpDiscovery,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return HttpDiscoveryMapper.ensureInitialized().stringifyValue(this as HttpDiscovery);
+ return HttpDiscoveryMapper.ensureInitialized().stringifyValue(
+ this as HttpDiscovery,
+ );
}
@override
bool operator ==(Object other) {
- return HttpDiscoveryMapper.ensureInitialized().equalsValue(this as HttpDiscovery, other);
+ return HttpDiscoveryMapper.ensureInitialized().equalsValue(
+ this as HttpDiscovery,
+ other,
+ );
}
@override
int get hashCode {
- return HttpDiscoveryMapper.ensureInitialized().hashValue(this as HttpDiscovery);
+ return HttpDiscoveryMapper.ensureInitialized().hashValue(
+ this as HttpDiscovery,
+ );
}
}
-extension HttpDiscoveryValueCopy<$R, $Out> on ObjectCopyWith<$R, HttpDiscovery, $Out> {
- HttpDiscoveryCopyWith<$R, HttpDiscovery, $Out> get $asHttpDiscovery => $base.as((v, t, t2) => _HttpDiscoveryCopyWithImpl(v, t, t2));
+extension HttpDiscoveryValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, HttpDiscovery, $Out> {
+ HttpDiscoveryCopyWith<$R, HttpDiscovery, $Out> get $asHttpDiscovery =>
+ $base.as((v, t, t2) => _HttpDiscoveryCopyWithImpl<$R, $Out>(v, t, t2));
}
-abstract class HttpDiscoveryCopyWith<$R, $In extends HttpDiscovery, $Out> implements DiscoveryMethodCopyWith<$R, $In, $Out> {
+abstract class HttpDiscoveryCopyWith<$R, $In extends HttpDiscovery, $Out>
+ implements DiscoveryMethodCopyWith<$R, $In, $Out> {
@override
$R call({String? ip});
HttpDiscoveryCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
}
-class _HttpDiscoveryCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, HttpDiscovery, $Out>
+class _HttpDiscoveryCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, HttpDiscovery, $Out>
implements HttpDiscoveryCopyWith<$R, HttpDiscovery, $Out> {
_HttpDiscoveryCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<HttpDiscovery> $mapper = HttpDiscoveryMapper.ensureInitialized();
+ late final ClassMapperBase<HttpDiscovery> $mapper =
+ HttpDiscoveryMapper.ensureInitialized();
@override
$R call({String? ip}) => $apply(FieldCopyWithData({if (ip != null) #ip: ip}));
@override
- HttpDiscovery $make(CopyWithData data) => HttpDiscovery(ip: data.get(#ip, or: $value.ip));
+ HttpDiscovery $make(CopyWithData data) =>
+ HttpDiscovery(ip: data.get(#ip, or: $value.ip));
@override
- HttpDiscoveryCopyWith<$R2, HttpDiscovery, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _HttpDiscoveryCopyWithImpl($value, $cast, t);
+ HttpDiscoveryCopyWith<$R2, HttpDiscovery, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _HttpDiscoveryCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
class SignalingDiscoveryMapper extends ClassMapperBase<SignalingDiscovery> {
@@ -306,7 +364,10 @@ class SignalingDiscoveryMapper extends ClassMapperBase<SignalingDiscovery> {
final String id = 'SignalingDiscovery';
static String _$signalingServer(SignalingDiscovery v) => v.signalingServer;
- static const Field<SignalingDiscovery, String> _f$signalingServer = Field('signalingServer', _$signalingServer);
+ static const Field<SignalingDiscovery, String> _f$signalingServer = Field(
+ 'signalingServer',
+ _$signalingServer,
+ );
@override
final MappableFields<SignalingDiscovery> fields = const {
@@ -331,56 +392,93 @@ class SignalingDiscoveryMapper extends ClassMapperBase<SignalingDiscovery> {
mixin SignalingDiscoveryMappable {
String serialize() {
- return SignalingDiscoveryMapper.ensureInitialized().encodeJson<SignalingDiscovery>(this as SignalingDiscovery);
+ return SignalingDiscoveryMapper.ensureInitialized()
+ .encodeJson<SignalingDiscovery>(this as SignalingDiscovery);
}
Map<String, dynamic> toJson() {
- return SignalingDiscoveryMapper.ensureInitialized().encodeMap<SignalingDiscovery>(this as SignalingDiscovery);
- }
-
- SignalingDiscoveryCopyWith<SignalingDiscovery, SignalingDiscovery, SignalingDiscovery> get copyWith =>
- _SignalingDiscoveryCopyWithImpl(this as SignalingDiscovery, $identity, $identity);
+ return SignalingDiscoveryMapper.ensureInitialized()
+ .encodeMap<SignalingDiscovery>(this as SignalingDiscovery);
+ }
+
+ SignalingDiscoveryCopyWith<
+ SignalingDiscovery,
+ SignalingDiscovery,
+ SignalingDiscovery
+ >
+ get copyWith =>
+ _SignalingDiscoveryCopyWithImpl<SignalingDiscovery, SignalingDiscovery>(
+ this as SignalingDiscovery,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return SignalingDiscoveryMapper.ensureInitialized().stringifyValue(this as SignalingDiscovery);
+ return SignalingDiscoveryMapper.ensureInitialized().stringifyValue(
+ this as SignalingDiscovery,
+ );
}
@override
bool operator ==(Object other) {
- return SignalingDiscoveryMapper.ensureInitialized().equalsValue(this as SignalingDiscovery, other);
+ return SignalingDiscoveryMapper.ensureInitialized().equalsValue(
+ this as SignalingDiscovery,
+ other,
+ );
}
@override
int get hashCode {
- return SignalingDiscoveryMapper.ensureInitialized().hashValue(this as SignalingDiscovery);
+ return SignalingDiscoveryMapper.ensureInitialized().hashValue(
+ this as SignalingDiscovery,
+ );
}
}
-extension SignalingDiscoveryValueCopy<$R, $Out> on ObjectCopyWith<$R, SignalingDiscovery, $Out> {
- SignalingDiscoveryCopyWith<$R, SignalingDiscovery, $Out> get $asSignalingDiscovery =>
- $base.as((v, t, t2) => _SignalingDiscoveryCopyWithImpl(v, t, t2));
+extension SignalingDiscoveryValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, SignalingDiscovery, $Out> {
+ SignalingDiscoveryCopyWith<$R, SignalingDiscovery, $Out>
+ get $asSignalingDiscovery => $base.as(
+ (v, t, t2) => _SignalingDiscoveryCopyWithImpl<$R, $Out>(v, t, t2),
+ );
}
-abstract class SignalingDiscoveryCopyWith<$R, $In extends SignalingDiscovery, $Out> implements DiscoveryMethodCopyWith<$R, $In, $Out> {
+abstract class SignalingDiscoveryCopyWith<
+ $R,
+ $In extends SignalingDiscovery,
+ $Out
+>
+ implements DiscoveryMethodCopyWith<$R, $In, $Out> {
@override
$R call({String? signalingServer});
- SignalingDiscoveryCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+ SignalingDiscoveryCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
-class _SignalingDiscoveryCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, SignalingDiscovery, $Out>
+class _SignalingDiscoveryCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, SignalingDiscovery, $Out>
implements SignalingDiscoveryCopyWith<$R, SignalingDiscovery, $Out> {
_SignalingDiscoveryCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<SignalingDiscovery> $mapper = SignalingDiscoveryMapper.ensureInitialized();
+ late final ClassMapperBase<SignalingDiscovery> $mapper =
+ SignalingDiscoveryMapper.ensureInitialized();
@override
- $R call({String? signalingServer}) => $apply(FieldCopyWithData({if (signalingServer != null) #signalingServer: signalingServer}));
+ $R call({String? signalingServer}) => $apply(
+ FieldCopyWithData({
+ if (signalingServer != null) #signalingServer: signalingServer,
+ }),
+ );
@override
- SignalingDiscovery $make(CopyWithData data) => SignalingDiscovery(signalingServer: data.get(#signalingServer, or: $value.signalingServer));
+ SignalingDiscovery $make(CopyWithData data) => SignalingDiscovery(
+ signalingServer: data.get(#signalingServer, or: $value.signalingServer),
+ );
@override
- SignalingDiscoveryCopyWith<$R2, SignalingDiscovery, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
- _SignalingDiscoveryCopyWithImpl($value, $cast, t);
+ SignalingDiscoveryCopyWith<$R2, SignalingDiscovery, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _SignalingDiscoveryCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
class DeviceMapper extends ClassMapperBase<Device> {
@@ -400,7 +498,10 @@ class DeviceMapper extends ClassMapperBase<Device> {
final String id = 'Device';
static String? _$signalingId(Device v) => v.signalingId;
- static const Field<Device, String> _f$signalingId = Field('signalingId', _$signalingId);
+ static const Field<Device, String> _f$signalingId = Field(
+ 'signalingId',
+ _$signalingId,
+ );
static String? _$ip(Device v) => v.ip;
static const Field<Device, String> _f$ip = Field('ip', _$ip);
static String _$version(Device v) => v.version;
@@ -410,17 +511,30 @@ class DeviceMapper extends ClassMapperBase<Device> {
static bool _$https(Device v) => v.https;
static const Field<Device, bool> _f$https = Field('https', _$https);
static String _$fingerprint(Device v) => v.fingerprint;
- static const Field<Device, String> _f$fingerprint = Field('fingerprint', _$fingerprint);
+ static const Field<Device, String> _f$fingerprint = Field(
+ 'fingerprint',
+ _$fingerprint,
+ );
static String _$alias(Device v) => v.alias;
static const Field<Device, String> _f$alias = Field('alias', _$alias);
static String? _$deviceModel(Device v) => v.deviceModel;
- static const Field<Device, String> _f$deviceModel = Field('deviceModel', _$deviceModel);
+ static const Field<Device, String> _f$deviceModel = Field(
+ 'deviceModel',
+ _$deviceModel,
+ );
static DeviceType _$deviceType(Device v) => v.deviceType;
- static const Field<Device, DeviceType> _f$deviceType = Field('deviceType', _$deviceType);
+ static const Field<Device, DeviceType> _f$deviceType = Field(
+ 'deviceType',
+ _$deviceType,
+ );
static bool _$download(Device v) => v.download;
static const Field<Device, bool> _f$download = Field('download', _$download);
- static Set<DiscoveryMethod> _$discoveryMethods(Device v) => v.discoveryMethods;
- static const Field<Device, Set<DiscoveryMethod>> _f$discoveryMethods = Field('discoveryMethods', _$discoveryMethods);
+ static Set<DiscoveryMethod> _$discoveryMethods(Device v) =>
+ v.discoveryMethods;
+ static const Field<Device, Set<DiscoveryMethod>> _f$discoveryMethods = Field(
+ 'discoveryMethods',
+ _$discoveryMethods,
+ );
@override
final MappableFields<Device> fields = const {
@@ -474,7 +588,8 @@ mixin DeviceMappable {
return DeviceMapper.ensureInitialized().encodeMap<Device>(this as Device);
}
- DeviceCopyWith<Device, Device, Device> get copyWith => _DeviceCopyWithImpl(this as Device, $identity, $identity);
+ DeviceCopyWith<Device, Device, Device> get copyWith =>
+ _DeviceCopyWithImpl<Device, Device>(this as Device, $identity, $identity);
@override
String toString() {
return DeviceMapper.ensureInitialized().stringifyValue(this as Device);
@@ -492,10 +607,12 @@ mixin DeviceMappable {
}
extension DeviceValueCopy<$R, $Out> on ObjectCopyWith<$R, Device, $Out> {
- DeviceCopyWith<$R, Device, $Out> get $asDevice => $base.as((v, t, t2) => _DeviceCopyWithImpl(v, t, t2));
+ DeviceCopyWith<$R, Device, $Out> get $asDevice =>
+ $base.as((v, t, t2) => _DeviceCopyWithImpl<$R, $Out>(v, t, t2));
}
-abstract class DeviceCopyWith<$R, $In extends Device, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class DeviceCopyWith<$R, $In extends Device, $Out>
+ implements ClassCopyWith<$R, $In, $Out> {
$R call({
String? signalingId,
String? ip,
@@ -512,7 +629,8 @@ abstract class DeviceCopyWith<$R, $In extends Device, $Out> implements ClassCopy
DeviceCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
}
-class _DeviceCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, Device, $Out> implements DeviceCopyWith<$R, Device, $Out> {
+class _DeviceCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, Device, $Out>
+ implements DeviceCopyWith<$R, Device, $Out> {
_DeviceCopyWithImpl(super.value, super.then, super.then2);
@override
@@ -561,5 +679,7 @@ class _DeviceCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, Device, $Out>
);
@override
- DeviceCopyWith<$R2, Device, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _DeviceCopyWithImpl($value, $cast, t);
+ DeviceCopyWith<$R2, Device, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
+ _DeviceCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/dto/file_dto.mapper.dart b/app/lib/common/model/dto/file_dto.mapper.dart
index 41fb41ae..6e1ec0f0 100644
--- a/app/lib/common/model/dto/file_dto.mapper.dart
+++ b/app/lib/common/model/dto/file_dto.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -21,9 +23,17 @@ class FileMetadataMapper extends ClassMapperBase<FileMetadata> {
final String id = 'FileMetadata';
static DateTime? _$lastModified(FileMetadata v) => v.lastModified;
- static const Field<FileMetadata, DateTime> _f$lastModified = Field('lastModified', _$lastModified, key: 'modified');
+ static const Field<FileMetadata, DateTime> _f$lastModified = Field(
+ 'lastModified',
+ _$lastModified,
+ key: r'modified',
+ );
static DateTime? _$lastAccessed(FileMetadata v) => v.lastAccessed;
- static const Field<FileMetadata, DateTime> _f$lastAccessed = Field('lastAccessed', _$lastAccessed, key: 'accessed');
+ static const Field<FileMetadata, DateTime> _f$lastAccessed = Field(
+ 'lastAccessed',
+ _$lastAccessed,
+ key: r'accessed',
+ );
@override
final MappableFields<FileMetadata> fields = const {
@@ -34,7 +44,10 @@ class FileMetadataMapper extends ClassMapperBase<FileMetadata> {
final bool ignoreNull = true;
static FileMetadata _instantiate(DecodingData data) {
- return FileMetadata(lastModified: data.dec(_f$lastModified), lastAccessed: data.dec(_f$lastAccessed));
+ return FileMetadata(
+ lastModified: data.dec(_f$lastModified),
+ lastAccessed: data.dec(_f$lastAccessed),
+ );
}
@override
@@ -51,48 +64,74 @@ class FileMetadataMapper extends ClassMapperBase<FileMetadata> {
mixin FileMetadataMappable {
String serialize() {
- return FileMetadataMapper.ensureInitialized().encodeJson<FileMetadata>(this as FileMetadata);
+ return FileMetadataMapper.ensureInitialized().encodeJson<FileMetadata>(
+ this as FileMetadata,
+ );
}
Map<String, dynamic> toJson() {
- return FileMetadataMapper.ensureInitialized().encodeMap<FileMetadata>(this as FileMetadata);
+ return FileMetadataMapper.ensureInitialized().encodeMap<FileMetadata>(
+ this as FileMetadata,
+ );
}
FileMetadataCopyWith<FileMetadata, FileMetadata, FileMetadata> get copyWith =>
- _FileMetadataCopyWithImpl(this as FileMetadata, $identity, $identity);
+ _FileMetadataCopyWithImpl<FileMetadata, FileMetadata>(
+ this as FileMetadata,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return FileMetadataMapper.ensureInitialized().stringifyValue(this as FileMetadata);
+ return FileMetadataMapper.ensureInitialized().stringifyValue(
+ this as FileMetadata,
+ );
}
@override
bool operator ==(Object other) {
- return FileMetadataMapper.ensureInitialized().equalsValue(this as FileMetadata, other);
+ return FileMetadataMapper.ensureInitialized().equalsValue(
+ this as FileMetadata,
+ other,
+ );
}
@override
int get hashCode {
- return FileMetadataMapper.ensureInitialized().hashValue(this as FileMetadata);
+ return FileMetadataMapper.ensureInitialized().hashValue(
+ this as FileMetadata,
+ );
}
}
-extension FileMetadataValueCopy<$R, $Out> on ObjectCopyWith<$R, FileMetadata, $Out> {
- FileMetadataCopyWith<$R, FileMetadata, $Out> get $asFileMetadata => $base.as((v, t, t2) => _FileMetadataCopyWithImpl(v, t, t2));
+extension FileMetadataValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, FileMetadata, $Out> {
+ FileMetadataCopyWith<$R, FileMetadata, $Out> get $asFileMetadata =>
+ $base.as((v, t, t2) => _FileMetadataCopyWithImpl<$R, $Out>(v, t, t2));
}
-abstract class FileMetadataCopyWith<$R, $In extends FileMetadata, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class FileMetadataCopyWith<$R, $In extends FileMetadata, $Out>
+ implements ClassCopyWith<$R, $In, $Out> {
$R call({DateTime? lastModified, DateTime? lastAccessed});
FileMetadataCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
}
-class _FileMetadataCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, FileMetadata, $Out> implements FileMetadataCopyWith<$R, FileMetadata, $Out> {
+class _FileMetadataCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, FileMetadata, $Out>
+ implements FileMetadataCopyWith<$R, FileMetadata, $Out> {
_FileMetadataCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<FileMetadata> $mapper = FileMetadataMapper.ensureInitialized();
+ late final ClassMapperBase<FileMetadata> $mapper =
+ FileMetadataMapper.ensureInitialized();
@override
$R call({Object? lastModified = $none, Object? lastAccessed = $none}) =>
- $apply(FieldCopyWithData({if (lastModified != $none) #lastModified: lastModified, if (lastAccessed != $none) #lastAccessed: lastAccessed}));
+ $apply(
+ FieldCopyWithData({
+ if (lastModified != $none) #lastModified: lastModified,
+ if (lastAccessed != $none) #lastAccessed: lastAccessed,
+ }),
+ );
@override
FileMetadata $make(CopyWithData data) => FileMetadata(
lastModified: data.get(#lastModified, or: $value.lastModified),
@@ -100,5 +139,8 @@ class _FileMetadataCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, FileMeta
);
@override
- FileMetadataCopyWith<$R2, FileMetadata, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _FileMetadataCopyWithImpl($value, $cast, t);
+ FileMetadataCopyWith<$R2, FileMetadata, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _FileMetadataCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/dto/info_dto.mapper.dart b/app/lib/common/model/dto/info_dto.mapper.dart
index 551bfc58..8ebf514e 100644
--- a/app/lib/common/model/dto/info_dto.mapper.dart
+++ b/app/lib/common/model/dto/info_dto.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -26,11 +28,20 @@ class InfoDtoMapper extends ClassMapperBase<InfoDto> {
static String? _$version(InfoDto v) => v.version;
static const Field<InfoDto, String> _f$version = Field('version', _$version);
static String? _$deviceModel(InfoDto v) => v.deviceModel;
- static const Field<InfoDto, String> _f$deviceModel = Field('deviceModel', _$deviceModel);
+ static const Field<InfoDto, String> _f$deviceModel = Field(
+ 'deviceModel',
+ _$deviceModel,
+ );
static DeviceType? _$deviceType(InfoDto v) => v.deviceType;
- static const Field<InfoDto, DeviceType> _f$deviceType = Field('deviceType', _$deviceType);
+ static const Field<InfoDto, DeviceType> _f$deviceType = Field(
+ 'deviceType',
+ _$deviceType,
+ );
static String? _$fingerprint(InfoDto v) => v.fingerprint;
- static const Field<InfoDto, String> _f$fingerprint = Field('fingerprint', _$fingerprint);
+ static const Field<InfoDto, String> _f$fingerprint = Field(
+ 'fingerprint',
+ _$fingerprint,
+ );
static bool? _$download(InfoDto v) => v.download;
static const Field<InfoDto, bool> _f$download = Field('download', _$download);
@@ -69,14 +80,23 @@ class InfoDtoMapper extends ClassMapperBase<InfoDto> {
mixin InfoDtoMappable {
String serialize() {
- return InfoDtoMapper.ensureInitialized().encodeJson<InfoDto>(this as InfoDto);
+ return InfoDtoMapper.ensureInitialized().encodeJson<InfoDto>(
+ this as InfoDto,
+ );
}
Map<String, dynamic> toJson() {
- return InfoDtoMapper.ensureInitialized().encodeMap<InfoDto>(this as InfoDto);
+ return InfoDtoMapper.ensureInitialized().encodeMap<InfoDto>(
+ this as InfoDto,
+ );
}
- InfoDtoCopyWith<InfoDto, InfoDto, InfoDto> get copyWith => _InfoDtoCopyWithImpl(this as InfoDto, $identity, $identity);
+ InfoDtoCopyWith<InfoDto, InfoDto, InfoDto> get copyWith =>
+ _InfoDtoCopyWithImpl<InfoDto, InfoDto>(
+ this as InfoDto,
+ $identity,
+ $identity,
+ );
@override
String toString() {
return InfoDtoMapper.ensureInitialized().stringifyValue(this as InfoDto);
@@ -84,7 +104,10 @@ mixin InfoDtoMappable {
@override
bool operator ==(Object other) {
- return InfoDtoMapper.ensureInitialized().equalsValue(this as InfoDto, other);
+ return InfoDtoMapper.ensureInitialized().equalsValue(
+ this as InfoDto,
+ other,
+ );
}
@override
@@ -94,19 +117,31 @@ mixin InfoDtoMappable {
}
extension InfoDtoValueCopy<$R, $Out> on ObjectCopyWith<$R, InfoDto, $Out> {
- InfoDtoCopyWith<$R, InfoDto, $Out> get $asInfoDto => $base.as((v, t, t2) => _InfoDtoCopyWithImpl(v, t, t2));
+ InfoDtoCopyWith<$R, InfoDto, $Out> get $asInfoDto =>
+ $base.as((v, t, t2) => _InfoDtoCopyWithImpl<$R, $Out>(v, t, t2));
}
-abstract class InfoDtoCopyWith<$R, $In extends InfoDto, $Out> implements ClassCopyWith<$R, $In, $Out> {
- $R call({String? alias, String? version, String? deviceModel, DeviceType? deviceType, String? fingerprint, bool? download});
+abstract class InfoDtoCopyWith<$R, $In extends InfoDto, $Out>
+ implements ClassCopyWith<$R, $In, $Out> {
+ $R call({
+ String? alias,
+ String? version,
+ String? deviceModel,
+ DeviceType? deviceType,
+ String? fingerprint,
+ bool? download,
+ });
InfoDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
}
-class _InfoDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, InfoDto, $Out> implements InfoDtoCopyWith<$R, InfoDto, $Out> {
+class _InfoDtoCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, InfoDto, $Out>
+ implements InfoDtoCopyWith<$R, InfoDto, $Out> {
_InfoDtoCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<InfoDto> $mapper = InfoDtoMapper.ensureInitialized();
+ late final ClassMapperBase<InfoDto> $mapper =
+ InfoDtoMapper.ensureInitialized();
@override
$R call({
String? alias,
@@ -136,5 +171,7 @@ class _InfoDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, InfoDto, $Out
);
@override
- InfoDtoCopyWith<$R2, InfoDto, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _InfoDtoCopyWithImpl($value, $cast, t);
+ InfoDtoCopyWith<$R2, InfoDto, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
+ _InfoDtoCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/dto/info_register_dto.mapper.dart b/app/lib/common/model/dto/info_register_dto.mapper.dart
index 486253db..03e0b059 100644
--- a/app/lib/common/model/dto/info_register_dto.mapper.dart
+++ b/app/lib/common/model/dto/info_register_dto.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -23,21 +25,42 @@ class InfoRegisterDtoMapper extends ClassMapperBase<InfoRegisterDto> {
final String id = 'InfoRegisterDto';
static String _$alias(InfoRegisterDto v) => v.alias;
- static const Field<InfoRegisterDto, String> _f$alias = Field('alias', _$alias);
+ static const Field<InfoRegisterDto, String> _f$alias = Field(
+ 'alias',
+ _$alias,
+ );
static String? _$version(InfoRegisterDto v) => v.version;
- static const Field<InfoRegisterDto, String> _f$version = Field('version', _$version);
+ static const Field<InfoRegisterDto, String> _f$version = Field(
+ 'version',
+ _$version,
+ );
static String? _$deviceModel(InfoRegisterDto v) => v.deviceModel;
- static const Field<InfoRegisterDto, String> _f$deviceModel = Field('deviceModel', _$deviceModel);
+ static const Field<InfoRegisterDto, String> _f$deviceModel = Field(
+ 'deviceModel',
+ _$deviceModel,
+ );
static DeviceType? _$deviceType(InfoRegisterDto v) => v.deviceType;
- static const Field<InfoRegisterDto, DeviceType> _f$deviceType = Field('deviceType', _$deviceType);
+ static const Field<InfoRegisterDto, DeviceType> _f$deviceType = Field(
+ 'deviceType',
+ _$deviceType,
+ );
static String? _$fingerprint(InfoRegisterDto v) => v.fingerprint;
- static const Field<InfoRegisterDto, String> _f$fingerprint = Field('fingerprint', _$fingerprint);
+ static const Field<InfoRegisterDto, String> _f$fingerprint = Field(
+ 'fingerprint',
+ _$fingerprint,
+ );
static int? _$port(InfoRegisterDto v) => v.port;
static const Field<InfoRegisterDto, int> _f$port = Field('port', _$port);
static ProtocolType? _$protocol(InfoRegisterDto v) => v.protocol;
- static const Field<InfoRegisterDto, ProtocolType> _f$protocol = Field('protocol', _$protocol);
+ static const Field<InfoRegisterDto, ProtocolType> _f$protocol = Field(
+ 'protocol',
+ _$protocol,
+ );
static bool? _$download(InfoRegisterDto v) => v.download;
- static const Field<InfoRegisterDto, bool> _f$download = Field('download', _$download);
+ static const Field<InfoRegisterDto, bool> _f$download = Field(
+ 'download',
+ _$download,
+ );
@override
final MappableFields<InfoRegisterDto> fields = const {
@@ -78,36 +101,54 @@ class InfoRegisterDtoMapper extends ClassMapperBase<InfoRegisterDto> {
mixin InfoRegisterDtoMappable {
String serialize() {
- return InfoRegisterDtoMapper.ensureInitialized().encodeJson<InfoRegisterDto>(this as InfoRegisterDto);
+ return InfoRegisterDtoMapper.ensureInitialized()
+ .encodeJson<InfoRegisterDto>(this as InfoRegisterDto);
}
Map<String, dynamic> toJson() {
- return InfoRegisterDtoMapper.ensureInitialized().encodeMap<InfoRegisterDto>(this as InfoRegisterDto);
+ return InfoRegisterDtoMapper.ensureInitialized().encodeMap<InfoRegisterDto>(
+ this as InfoRegisterDto,
+ );
}
- InfoRegisterDtoCopyWith<InfoRegisterDto, InfoRegisterDto, InfoRegisterDto> get copyWith =>
- _InfoRegisterDtoCopyWithImpl(this as InfoRegisterDto, $identity, $identity);
+ InfoRegisterDtoCopyWith<InfoRegisterDto, InfoRegisterDto, InfoRegisterDto>
+ get copyWith =>
+ _InfoRegisterDtoCopyWithImpl<InfoRegisterDto, InfoRegisterDto>(
+ this as InfoRegisterDto,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return InfoRegisterDtoMapper.ensureInitialized().stringifyValue(this as InfoRegisterDto);
+ return InfoRegisterDtoMapper.ensureInitialized().stringifyValue(
+ this as InfoRegisterDto,
+ );
}
@override
bool operator ==(Object other) {
- return InfoRegisterDtoMapper.ensureInitialized().equalsValue(this as InfoRegisterDto, other);
+ return InfoRegisterDtoMapper.ensureInitialized().equalsValue(
+ this as InfoRegisterDto,
+ other,
+ );
}
@override
int get hashCode {
- return InfoRegisterDtoMapper.ensureInitialized().hashValue(this as InfoRegisterDto);
+ return InfoRegisterDtoMapper.ensureInitialized().hashValue(
+ this as InfoRegisterDto,
+ );
}
}
-extension InfoRegisterDtoValueCopy<$R, $Out> on ObjectCopyWith<$R, InfoRegisterDto, $Out> {
- InfoRegisterDtoCopyWith<$R, InfoRegisterDto, $Out> get $asInfoRegisterDto => $base.as((v, t, t2) => _InfoRegisterDtoCopyWithImpl(v, t, t2));
+extension InfoRegisterDtoValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, InfoRegisterDto, $Out> {
+ InfoRegisterDtoCopyWith<$R, InfoRegisterDto, $Out> get $asInfoRegisterDto =>
+ $base.as((v, t, t2) => _InfoRegisterDtoCopyWithImpl<$R, $Out>(v, t, t2));
}
-abstract class InfoRegisterDtoCopyWith<$R, $In extends InfoRegisterDto, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class InfoRegisterDtoCopyWith<$R, $In extends InfoRegisterDto, $Out>
+ implements ClassCopyWith<$R, $In, $Out> {
$R call({
String? alias,
String? version,
@@ -118,15 +159,19 @@ abstract class InfoRegisterDtoCopyWith<$R, $In extends InfoRegisterDto, $Out> im
ProtocolType? protocol,
bool? download,
});
- InfoRegisterDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+ InfoRegisterDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
-class _InfoRegisterDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, InfoRegisterDto, $Out>
+class _InfoRegisterDtoCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, InfoRegisterDto, $Out>
implements InfoRegisterDtoCopyWith<$R, InfoRegisterDto, $Out> {
_InfoRegisterDtoCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<InfoRegisterDto> $mapper = InfoRegisterDtoMapper.ensureInitialized();
+ late final ClassMapperBase<InfoRegisterDto> $mapper =
+ InfoRegisterDtoMapper.ensureInitialized();
@override
$R call({
String? alias,
@@ -162,5 +207,8 @@ class _InfoRegisterDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, InfoR
);
@override
- InfoRegisterDtoCopyWith<$R2, InfoRegisterDto, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _InfoRegisterDtoCopyWithImpl($value, $cast, t);
+ InfoRegisterDtoCopyWith<$R2, InfoRegisterDto, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _InfoRegisterDtoCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/dto/multicast_dto.mapper.dart b/app/lib/common/model/dto/multicast_dto.mapper.dart
index c87e6d33..355d54d4 100644
--- a/app/lib/common/model/dto/multicast_dto.mapper.dart
+++ b/app/lib/common/model/dto/multicast_dto.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -25,9 +27,9 @@ class ProtocolTypeMapper extends EnumMapper<ProtocolType> {
@override
ProtocolType decode(dynamic value) {
switch (value) {
- case 'http':
+ case r'http':
return ProtocolType.http;
- case 'https':
+ case r'https':
return ProtocolType.https;
default:
return ProtocolType.values[1];
@@ -38,9 +40,9 @@ class ProtocolTypeMapper extends EnumMapper<ProtocolType> {
dynamic encode(ProtocolType self) {
switch (self) {
case ProtocolType.http:
- return 'http';
+ return r'http';
case ProtocolType.https:
- return 'https';
+ return r'https';
}
}
}
@@ -71,23 +73,47 @@ class MulticastDtoMapper extends ClassMapperBase<MulticastDto> {
static String _$alias(MulticastDto v) => v.alias;
static const Field<MulticastDto, String> _f$alias = Field('alias', _$alias);
static String? _$version(MulticastDto v) => v.version;
- static const Field<MulticastDto, String> _f$version = Field('version', _$version);
+ static const Field<MulticastDto, String> _f$version = Field(
+ 'version',
+ _$version,
+ );
static String? _$deviceModel(MulticastDto v) => v.deviceModel;
- static const Field<MulticastDto, String> _f$deviceModel = Field('deviceModel', _$deviceModel);
+ static const Field<MulticastDto, String> _f$deviceModel = Field(
+ 'deviceModel',
+ _$deviceModel,
+ );
static DeviceType? _$deviceType(MulticastDto v) => v.deviceType;
- static const Field<MulticastDto, DeviceType> _f$deviceType = Field('deviceType', _$deviceType);
+ static const Field<MulticastDto, DeviceType> _f$deviceType = Field(
+ 'deviceType',
+ _$deviceType,
+ );
static String _$fingerprint(MulticastDto v) => v.fingerprint;
- static const Field<MulticastDto, String> _f$fingerprint = Field('fingerprint', _$fingerprint);
+ static const Field<MulticastDto, String> _f$fingerprint = Field(
+ 'fingerprint',
+ _$fingerprint,
+ );
static int? _$port(MulticastDto v) => v.port;
static const Field<MulticastDto, int> _f$port = Field('port', _$port);
static ProtocolType? _$protocol(MulticastDto v) => v.protocol;
- static const Field<MulticastDto, ProtocolType> _f$protocol = Field('protocol', _$protocol);
+ static const Field<MulticastDto, ProtocolType> _f$protocol = Field(
+ 'protocol',
+ _$protocol,
+ );
static bool? _$download(MulticastDto v) => v.download;
- static const Field<MulticastDto, bool> _f$download = Field('download', _$download);
+ static const Field<MulticastDto, bool> _f$download = Field(
+ 'download',
+ _$download,
+ );
static bool? _$announcement(MulticastDto v) => v.announcement;
- static const Field<MulticastDto, bool> _f$announcement = Field('announcement', _$announcement);
+ static const Field<MulticastDto, bool> _f$announcement = Field(
+ 'announcement',
+ _$announcement,
+ );
static bool? _$announce(MulticastDto v) => v.announce;
- static const Field<MulticastDto, bool> _f$announce = Field('announce', _$announce);
+ static const Field<MulticastDto, bool> _f$announce = Field(
+ 'announce',
+ _$announce,
+ );
@override
final MappableFields<MulticastDto> fields = const {
@@ -132,36 +158,54 @@ class MulticastDtoMapper extends ClassMapperBase<MulticastDto> {
mixin MulticastDtoMappable {
String serialize() {
- return MulticastDtoMapper.ensureInitialized().encodeJson<MulticastDto>(this as MulticastDto);
+ return MulticastDtoMapper.ensureInitialized().encodeJson<MulticastDto>(
+ this as MulticastDto,
+ );
}
Map<String, dynamic> toJson() {
- return MulticastDtoMapper.ensureInitialized().encodeMap<MulticastDto>(this as MulticastDto);
+ return MulticastDtoMapper.ensureInitialized().encodeMap<MulticastDto>(
+ this as MulticastDto,
+ );
}
MulticastDtoCopyWith<MulticastDto, MulticastDto, MulticastDto> get copyWith =>
- _MulticastDtoCopyWithImpl(this as MulticastDto, $identity, $identity);
+ _MulticastDtoCopyWithImpl<MulticastDto, MulticastDto>(
+ this as MulticastDto,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return MulticastDtoMapper.ensureInitialized().stringifyValue(this as MulticastDto);
+ return MulticastDtoMapper.ensureInitialized().stringifyValue(
+ this as MulticastDto,
+ );
}
@override
bool operator ==(Object other) {
- return MulticastDtoMapper.ensureInitialized().equalsValue(this as MulticastDto, other);
+ return MulticastDtoMapper.ensureInitialized().equalsValue(
+ this as MulticastDto,
+ other,
+ );
}
@override
int get hashCode {
- return MulticastDtoMapper.ensureInitialized().hashValue(this as MulticastDto);
+ return MulticastDtoMapper.ensureInitialized().hashValue(
+ this as MulticastDto,
+ );
}
}
-extension MulticastDtoValueCopy<$R, $Out> on ObjectCopyWith<$R, MulticastDto, $Out> {
- MulticastDtoCopyWith<$R, MulticastDto, $Out> get $asMulticastDto => $base.as((v, t, t2) => _MulticastDtoCopyWithImpl(v, t, t2));
+extension MulticastDtoValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, MulticastDto, $Out> {
+ MulticastDtoCopyWith<$R, MulticastDto, $Out> get $asMulticastDto =>
+ $base.as((v, t, t2) => _MulticastDtoCopyWithImpl<$R, $Out>(v, t, t2));
}
-abstract class MulticastDtoCopyWith<$R, $In extends MulticastDto, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class MulticastDtoCopyWith<$R, $In extends MulticastDto, $Out>
+ implements ClassCopyWith<$R, $In, $Out> {
$R call({
String? alias,
String? version,
@@ -177,11 +221,14 @@ abstract class MulticastDtoCopyWith<$R, $In extends MulticastDto, $Out> implemen
MulticastDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
}
-class _MulticastDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, MulticastDto, $Out> implements MulticastDtoCopyWith<$R, MulticastDto, $Out> {
+class _MulticastDtoCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, MulticastDto, $Out>
+ implements MulticastDtoCopyWith<$R, MulticastDto, $Out> {
_MulticastDtoCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<MulticastDto> $mapper = MulticastDtoMapper.ensureInitialized();
+ late final ClassMapperBase<MulticastDto> $mapper =
+ MulticastDtoMapper.ensureInitialized();
@override
$R call({
String? alias,
@@ -223,5 +270,8 @@ class _MulticastDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, Multicas
);
@override
- MulticastDtoCopyWith<$R2, MulticastDto, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _MulticastDtoCopyWithImpl($value, $cast, t);
+ MulticastDtoCopyWith<$R2, MulticastDto, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _MulticastDtoCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/dto/prepare_upload_request_dto.mapper.dart b/app/lib/common/model/dto/prepare_upload_request_dto.mapper.dart
index 5fba1e17..dae80054 100644
--- a/app/lib/common/model/dto/prepare_upload_request_dto.mapper.dart
+++ b/app/lib/common/model/dto/prepare_upload_request_dto.mapper.dart
@@ -1,18 +1,23 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
part of 'prepare_upload_request_dto.dart';
-class PrepareUploadRequestDtoMapper extends ClassMapperBase<PrepareUploadRequestDto> {
+class PrepareUploadRequestDtoMapper
+ extends ClassMapperBase<PrepareUploadRequestDto> {
PrepareUploadRequestDtoMapper._();
static PrepareUploadRequestDtoMapper? _instance;
static PrepareUploadRequestDtoMapper ensureInitialized() {
if (_instance == null) {
- MapperContainer.globals.use(_instance = PrepareUploadRequestDtoMapper._());
+ MapperContainer.globals.use(
+ _instance = PrepareUploadRequestDtoMapper._(),
+ );
InfoRegisterDtoMapper.ensureInitialized();
}
return _instance!;
@@ -22,9 +27,13 @@ class PrepareUploadRequestDtoMapper extends ClassMapperBase<PrepareUploadRequest
final String id = 'PrepareUploadRequestDto';
static InfoRegisterDto _$info(PrepareUploadRequestDto v) => v.info;
- static const Field<PrepareUploadRequestDto, InfoRegisterDto> _f$info = Field('info', _$info);
+ static const Field<PrepareUploadRequestDto, InfoRegisterDto> _f$info = Field(
+ 'info',
+ _$info,
+ );
static Map<String, FileDto> _$files(PrepareUploadRequestDto v) => v.files;
- static const Field<PrepareUploadRequestDto, Map<String, FileDto>> _f$files = Field('files', _$files);
+ static const Field<PrepareUploadRequestDto, Map<String, FileDto>> _f$files =
+ Field('files', _$files);
@override
final MappableFields<PrepareUploadRequestDto> fields = const {
@@ -33,7 +42,10 @@ class PrepareUploadRequestDtoMapper extends ClassMapperBase<PrepareUploadRequest
};
static PrepareUploadRequestDto _instantiate(DecodingData data) {
- return PrepareUploadRequestDto(info: data.dec(_f$info), files: data.dec(_f$files));
+ return PrepareUploadRequestDto(
+ info: data.dec(_f$info),
+ files: data.dec(_f$files),
+ );
}
@override
@@ -50,57 +62,97 @@ class PrepareUploadRequestDtoMapper extends ClassMapperBase<PrepareUploadRequest
mixin PrepareUploadRequestDtoMappable {
String serialize() {
- return PrepareUploadRequestDtoMapper.ensureInitialized().encodeJson<PrepareUploadRequestDto>(this as PrepareUploadRequestDto);
+ return PrepareUploadRequestDtoMapper.ensureInitialized()
+ .encodeJson<PrepareUploadRequestDto>(this as PrepareUploadRequestDto);
}
Map<String, dynamic> toJson() {
- return PrepareUploadRequestDtoMapper.ensureInitialized().encodeMap<PrepareUploadRequestDto>(this as PrepareUploadRequestDto);
+ return PrepareUploadRequestDtoMapper.ensureInitialized()
+ .encodeMap<PrepareUploadRequestDto>(this as PrepareUploadRequestDto);
}
- PrepareUploadRequestDtoCopyWith<PrepareUploadRequestDto, PrepareUploadRequestDto, PrepareUploadRequestDto> get copyWith =>
- _PrepareUploadRequestDtoCopyWithImpl(this as PrepareUploadRequestDto, $identity, $identity);
+ PrepareUploadRequestDtoCopyWith<
+ PrepareUploadRequestDto,
+ PrepareUploadRequestDto,
+ PrepareUploadRequestDto
+ >
+ get copyWith =>
+ _PrepareUploadRequestDtoCopyWithImpl<
+ PrepareUploadRequestDto,
+ PrepareUploadRequestDto
+ >(this as PrepareUploadRequestDto, $identity, $identity);
@override
String toString() {
- return PrepareUploadRequestDtoMapper.ensureInitialized().stringifyValue(this as PrepareUploadRequestDto);
+ return PrepareUploadRequestDtoMapper.ensureInitialized().stringifyValue(
+ this as PrepareUploadRequestDto,
+ );
}
@override
bool operator ==(Object other) {
- return PrepareUploadRequestDtoMapper.ensureInitialized().equalsValue(this as PrepareUploadRequestDto, other);
+ return PrepareUploadRequestDtoMapper.ensureInitialized().equalsValue(
+ this as PrepareUploadRequestDto,
+ other,
+ );
}
@override
int get hashCode {
- return PrepareUploadRequestDtoMapper.ensureInitialized().hashValue(this as PrepareUploadRequestDto);
+ return PrepareUploadRequestDtoMapper.ensureInitialized().hashValue(
+ this as PrepareUploadRequestDto,
+ );
}
}
-extension PrepareUploadRequestDtoValueCopy<$R, $Out> on ObjectCopyWith<$R, PrepareUploadRequestDto, $Out> {
- PrepareUploadRequestDtoCopyWith<$R, PrepareUploadRequestDto, $Out> get $asPrepareUploadRequestDto =>
- $base.as((v, t, t2) => _PrepareUploadRequestDtoCopyWithImpl(v, t, t2));
+extension PrepareUploadRequestDtoValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, PrepareUploadRequestDto, $Out> {
+ PrepareUploadRequestDtoCopyWith<$R, PrepareUploadRequestDto, $Out>
+ get $asPrepareUploadRequestDto => $base.as(
+ (v, t, t2) => _PrepareUploadRequestDtoCopyWithImpl<$R, $Out>(v, t, t2),
+ );
}
-abstract class PrepareUploadRequestDtoCopyWith<$R, $In extends PrepareUploadRequestDto, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class PrepareUploadRequestDtoCopyWith<
+ $R,
+ $In extends PrepareUploadRequestDto,
+ $Out
+>
+ implements ClassCopyWith<$R, $In, $Out> {
InfoRegisterDtoCopyWith<$R, InfoRegisterDto, InfoRegisterDto> get info;
- MapCopyWith<$R, String, FileDto, ObjectCopyWith<$R, FileDto, FileDto>> get files;
+ MapCopyWith<$R, String, FileDto, ObjectCopyWith<$R, FileDto, FileDto>>
+ get files;
$R call({InfoRegisterDto? info, Map<String, FileDto>? files});
- PrepareUploadRequestDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+ PrepareUploadRequestDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
-class _PrepareUploadRequestDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, PrepareUploadRequestDto, $Out>
- implements PrepareUploadRequestDtoCopyWith<$R, PrepareUploadRequestDto, $Out> {
+class _PrepareUploadRequestDtoCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, PrepareUploadRequestDto, $Out>
+ implements
+ PrepareUploadRequestDtoCopyWith<$R, PrepareUploadRequestDto, $Out> {
_PrepareUploadRequestDtoCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<PrepareUploadRequestDto> $mapper = PrepareUploadRequestDtoMapper.ensureInitialized();
+ late final ClassMapperBase<PrepareUploadRequestDto> $mapper =
+ PrepareUploadRequestDtoMapper.ensureInitialized();
@override
- InfoRegisterDtoCopyWith<$R, InfoRegisterDto, InfoRegisterDto> get info => $value.info.copyWith.$chain((v) => call(info: v));
+ InfoRegisterDtoCopyWith<$R, InfoRegisterDto, InfoRegisterDto> get info =>
+ $value.info.copyWith.$chain((v) => call(info: v));
@override
- MapCopyWith<$R, String, FileDto, ObjectCopyWith<$R, FileDto, FileDto>> get files =>
- MapCopyWith($value.files, (v, t) => ObjectCopyWith(v, $identity, t), (v) => call(files: v));
+ MapCopyWith<$R, String, FileDto, ObjectCopyWith<$R, FileDto, FileDto>>
+ get files => MapCopyWith(
+ $value.files,
+ (v, t) => ObjectCopyWith(v, $identity, t),
+ (v) => call(files: v),
+ );
@override
- $R call({InfoRegisterDto? info, Map<String, FileDto>? files}) =>
- $apply(FieldCopyWithData({if (info != null) #info: info, if (files != null) #files: files}));
+ $R call({InfoRegisterDto? info, Map<String, FileDto>? files}) => $apply(
+ FieldCopyWithData({
+ if (info != null) #info: info,
+ if (files != null) #files: files,
+ }),
+ );
@override
PrepareUploadRequestDto $make(CopyWithData data) => PrepareUploadRequestDto(
info: data.get(#info, or: $value.info),
@@ -108,6 +160,8 @@ class _PrepareUploadRequestDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$
);
@override
- PrepareUploadRequestDtoCopyWith<$R2, PrepareUploadRequestDto, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
- _PrepareUploadRequestDtoCopyWithImpl($value, $cast, t);
+ PrepareUploadRequestDtoCopyWith<$R2, PrepareUploadRequestDto, $Out2>
+ $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
+ _PrepareUploadRequestDtoCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/dto/prepare_upload_response_dto.mapper.dart b/app/lib/common/model/dto/prepare_upload_response_dto.mapper.dart
index ca2cd69b..d665c700 100644
--- a/app/lib/common/model/dto/prepare_upload_response_dto.mapper.dart
+++ b/app/lib/common/model/dto/prepare_upload_response_dto.mapper.dart
@@ -1,18 +1,23 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
part of 'prepare_upload_response_dto.dart';
-class PrepareUploadResponseDtoMapper extends ClassMapperBase<PrepareUploadResponseDto> {
+class PrepareUploadResponseDtoMapper
+ extends ClassMapperBase<PrepareUploadResponseDto> {
PrepareUploadResponseDtoMapper._();
static PrepareUploadResponseDtoMapper? _instance;
static PrepareUploadResponseDtoMapper ensureInitialized() {
if (_instance == null) {
- MapperContainer.globals.use(_instance = PrepareUploadResponseDtoMapper._());
+ MapperContainer.globals.use(
+ _instance = PrepareUploadResponseDtoMapper._(),
+ );
}
return _instance!;
}
@@ -21,9 +26,13 @@ class PrepareUploadResponseDtoMapper extends ClassMapperBase<PrepareUploadRespon
final String id = 'PrepareUploadResponseDto';
static String _$sessionId(PrepareUploadResponseDto v) => v.sessionId;
- static const Field<PrepareUploadResponseDto, String> _f$sessionId = Field('sessionId', _$sessionId);
+ static const Field<PrepareUploadResponseDto, String> _f$sessionId = Field(
+ 'sessionId',
+ _$sessionId,
+ );
static Map<String, String> _$files(PrepareUploadResponseDto v) => v.files;
- static const Field<PrepareUploadResponseDto, Map<String, String>> _f$files = Field('files', _$files);
+ static const Field<PrepareUploadResponseDto, Map<String, String>> _f$files =
+ Field('files', _$files);
@override
final MappableFields<PrepareUploadResponseDto> fields = const {
@@ -32,7 +41,10 @@ class PrepareUploadResponseDtoMapper extends ClassMapperBase<PrepareUploadRespon
};
static PrepareUploadResponseDto _instantiate(DecodingData data) {
- return PrepareUploadResponseDto(sessionId: data.dec(_f$sessionId), files: data.dec(_f$files));
+ return PrepareUploadResponseDto(
+ sessionId: data.dec(_f$sessionId),
+ files: data.dec(_f$files),
+ );
}
@override
@@ -49,54 +61,92 @@ class PrepareUploadResponseDtoMapper extends ClassMapperBase<PrepareUploadRespon
mixin PrepareUploadResponseDtoMappable {
String serialize() {
- return PrepareUploadResponseDtoMapper.ensureInitialized().encodeJson<PrepareUploadResponseDto>(this as PrepareUploadResponseDto);
+ return PrepareUploadResponseDtoMapper.ensureInitialized()
+ .encodeJson<PrepareUploadResponseDto>(this as PrepareUploadResponseDto);
}
Map<String, dynamic> toJson() {
- return PrepareUploadResponseDtoMapper.ensureInitialized().encodeMap<PrepareUploadResponseDto>(this as PrepareUploadResponseDto);
+ return PrepareUploadResponseDtoMapper.ensureInitialized()
+ .encodeMap<PrepareUploadResponseDto>(this as PrepareUploadResponseDto);
}
- PrepareUploadResponseDtoCopyWith<PrepareUploadResponseDto, PrepareUploadResponseDto, PrepareUploadResponseDto> get copyWith =>
- _PrepareUploadResponseDtoCopyWithImpl(this as PrepareUploadResponseDto, $identity, $identity);
+ PrepareUploadResponseDtoCopyWith<
+ PrepareUploadResponseDto,
+ PrepareUploadResponseDto,
+ PrepareUploadResponseDto
+ >
+ get copyWith =>
+ _PrepareUploadResponseDtoCopyWithImpl<
+ PrepareUploadResponseDto,
+ PrepareUploadResponseDto
+ >(this as PrepareUploadResponseDto, $identity, $identity);
@override
String toString() {
- return PrepareUploadResponseDtoMapper.ensureInitialized().stringifyValue(this as PrepareUploadResponseDto);
+ return PrepareUploadResponseDtoMapper.ensureInitialized().stringifyValue(
+ this as PrepareUploadResponseDto,
+ );
}
@override
bool operator ==(Object other) {
- return PrepareUploadResponseDtoMapper.ensureInitialized().equalsValue(this as PrepareUploadResponseDto, other);
+ return PrepareUploadResponseDtoMapper.ensureInitialized().equalsValue(
+ this as PrepareUploadResponseDto,
+ other,
+ );
}
@override
int get hashCode {
- return PrepareUploadResponseDtoMapper.ensureInitialized().hashValue(this as PrepareUploadResponseDto);
+ return PrepareUploadResponseDtoMapper.ensureInitialized().hashValue(
+ this as PrepareUploadResponseDto,
+ );
}
}
-extension PrepareUploadResponseDtoValueCopy<$R, $Out> on ObjectCopyWith<$R, PrepareUploadResponseDto, $Out> {
- PrepareUploadResponseDtoCopyWith<$R, PrepareUploadResponseDto, $Out> get $asPrepareUploadResponseDto =>
- $base.as((v, t, t2) => _PrepareUploadResponseDtoCopyWithImpl(v, t, t2));
+extension PrepareUploadResponseDtoValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, PrepareUploadResponseDto, $Out> {
+ PrepareUploadResponseDtoCopyWith<$R, PrepareUploadResponseDto, $Out>
+ get $asPrepareUploadResponseDto => $base.as(
+ (v, t, t2) => _PrepareUploadResponseDtoCopyWithImpl<$R, $Out>(v, t, t2),
+ );
}
-abstract class PrepareUploadResponseDtoCopyWith<$R, $In extends PrepareUploadResponseDto, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class PrepareUploadResponseDtoCopyWith<
+ $R,
+ $In extends PrepareUploadResponseDto,
+ $Out
+>
+ implements ClassCopyWith<$R, $In, $Out> {
MapCopyWith<$R, String, String, ObjectCopyWith<$R, String, String>> get files;
$R call({String? sessionId, Map<String, String>? files});
- PrepareUploadResponseDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+ PrepareUploadResponseDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
-class _PrepareUploadResponseDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, PrepareUploadResponseDto, $Out>
- implements PrepareUploadResponseDtoCopyWith<$R, PrepareUploadResponseDto, $Out> {
+class _PrepareUploadResponseDtoCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, PrepareUploadResponseDto, $Out>
+ implements
+ PrepareUploadResponseDtoCopyWith<$R, PrepareUploadResponseDto, $Out> {
_PrepareUploadResponseDtoCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<PrepareUploadResponseDto> $mapper = PrepareUploadResponseDtoMapper.ensureInitialized();
+ late final ClassMapperBase<PrepareUploadResponseDto> $mapper =
+ PrepareUploadResponseDtoMapper.ensureInitialized();
@override
- MapCopyWith<$R, String, String, ObjectCopyWith<$R, String, String>> get files =>
- MapCopyWith($value.files, (v, t) => ObjectCopyWith(v, $identity, t), (v) => call(files: v));
+ MapCopyWith<$R, String, String, ObjectCopyWith<$R, String, String>>
+ get files => MapCopyWith(
+ $value.files,
+ (v, t) => ObjectCopyWith(v, $identity, t),
+ (v) => call(files: v),
+ );
@override
- $R call({String? sessionId, Map<String, String>? files}) =>
- $apply(FieldCopyWithData({if (sessionId != null) #sessionId: sessionId, if (files != null) #files: files}));
+ $R call({String? sessionId, Map<String, String>? files}) => $apply(
+ FieldCopyWithData({
+ if (sessionId != null) #sessionId: sessionId,
+ if (files != null) #files: files,
+ }),
+ );
@override
PrepareUploadResponseDto $make(CopyWithData data) => PrepareUploadResponseDto(
sessionId: data.get(#sessionId, or: $value.sessionId),
@@ -104,6 +154,8 @@ class _PrepareUploadResponseDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<
);
@override
- PrepareUploadResponseDtoCopyWith<$R2, PrepareUploadResponseDto, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
- _PrepareUploadResponseDtoCopyWithImpl($value, $cast, t);
+ PrepareUploadResponseDtoCopyWith<$R2, PrepareUploadResponseDto, $Out2>
+ $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
+ _PrepareUploadResponseDtoCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/dto/receive_request_response_dto.mapper.dart b/app/lib/common/model/dto/receive_request_response_dto.mapper.dart
index ce80d5b8..a8cc37fa 100644
--- a/app/lib/common/model/dto/receive_request_response_dto.mapper.dart
+++ b/app/lib/common/model/dto/receive_request_response_dto.mapper.dart
@@ -1,18 +1,23 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
part of 'receive_request_response_dto.dart';
-class ReceiveRequestResponseDtoMapper extends ClassMapperBase<ReceiveRequestResponseDto> {
+class ReceiveRequestResponseDtoMapper
+ extends ClassMapperBase<ReceiveRequestResponseDto> {
ReceiveRequestResponseDtoMapper._();
static ReceiveRequestResponseDtoMapper? _instance;
static ReceiveRequestResponseDtoMapper ensureInitialized() {
if (_instance == null) {
- MapperContainer.globals.use(_instance = ReceiveRequestResponseDtoMapper._());
+ MapperContainer.globals.use(
+ _instance = ReceiveRequestResponseDtoMapper._(),
+ );
InfoDtoMapper.ensureInitialized();
}
return _instance!;
@@ -22,11 +27,18 @@ class ReceiveRequestResponseDtoMapper extends ClassMapperBase<ReceiveRequestResp
final String id = 'ReceiveRequestResponseDto';
static InfoDto _$info(ReceiveRequestResponseDto v) => v.info;
- static const Field<ReceiveRequestResponseDto, InfoDto> _f$info = Field('info', _$info);
+ static const Field<ReceiveRequestResponseDto, InfoDto> _f$info = Field(
+ 'info',
+ _$info,
+ );
static String _$sessionId(ReceiveRequestResponseDto v) => v.sessionId;
- static const Field<ReceiveRequestResponseDto, String> _f$sessionId = Field('sessionId', _$sessionId);
+ static const Field<ReceiveRequestResponseDto, String> _f$sessionId = Field(
+ 'sessionId',
+ _$sessionId,
+ );
static Map<String, FileDto> _$files(ReceiveRequestResponseDto v) => v.files;
- static const Field<ReceiveRequestResponseDto, Map<String, FileDto>> _f$files = Field('files', _$files);
+ static const Field<ReceiveRequestResponseDto, Map<String, FileDto>> _f$files =
+ Field('files', _$files);
@override
final MappableFields<ReceiveRequestResponseDto> fields = const {
@@ -36,7 +48,11 @@ class ReceiveRequestResponseDtoMapper extends ClassMapperBase<ReceiveRequestResp
};
static ReceiveRequestResponseDto _instantiate(DecodingData data) {
- return ReceiveRequestResponseDto(info: data.dec(_f$info), sessionId: data.dec(_f$sessionId), files: data.dec(_f$files));
+ return ReceiveRequestResponseDto(
+ info: data.dec(_f$info),
+ sessionId: data.dec(_f$sessionId),
+ files: data.dec(_f$files),
+ );
}
@override
@@ -53,65 +69,114 @@ class ReceiveRequestResponseDtoMapper extends ClassMapperBase<ReceiveRequestResp
mixin ReceiveRequestResponseDtoMappable {
String serialize() {
- return ReceiveRequestResponseDtoMapper.ensureInitialized().encodeJson<ReceiveRequestResponseDto>(this as ReceiveRequestResponseDto);
+ return ReceiveRequestResponseDtoMapper.ensureInitialized()
+ .encodeJson<ReceiveRequestResponseDto>(
+ this as ReceiveRequestResponseDto,
+ );
}
Map<String, dynamic> toJson() {
- return ReceiveRequestResponseDtoMapper.ensureInitialized().encodeMap<ReceiveRequestResponseDto>(this as ReceiveRequestResponseDto);
+ return ReceiveRequestResponseDtoMapper.ensureInitialized()
+ .encodeMap<ReceiveRequestResponseDto>(
+ this as ReceiveRequestResponseDto,
+ );
}
- ReceiveRequestResponseDtoCopyWith<ReceiveRequestResponseDto, ReceiveRequestResponseDto, ReceiveRequestResponseDto> get copyWith =>
- _ReceiveRequestResponseDtoCopyWithImpl(this as ReceiveRequestResponseDto, $identity, $identity);
+ ReceiveRequestResponseDtoCopyWith<
+ ReceiveRequestResponseDto,
+ ReceiveRequestResponseDto,
+ ReceiveRequestResponseDto
+ >
+ get copyWith =>
+ _ReceiveRequestResponseDtoCopyWithImpl<
+ ReceiveRequestResponseDto,
+ ReceiveRequestResponseDto
+ >(this as ReceiveRequestResponseDto, $identity, $identity);
@override
String toString() {
- return ReceiveRequestResponseDtoMapper.ensureInitialized().stringifyValue(this as ReceiveRequestResponseDto);
+ return ReceiveRequestResponseDtoMapper.ensureInitialized().stringifyValue(
+ this as ReceiveRequestResponseDto,
+ );
}
@override
bool operator ==(Object other) {
- return ReceiveRequestResponseDtoMapper.ensureInitialized().equalsValue(this as ReceiveRequestResponseDto, other);
+ return ReceiveRequestResponseDtoMapper.ensureInitialized().equalsValue(
+ this as ReceiveRequestResponseDto,
+ other,
+ );
}
@override
int get hashCode {
- return ReceiveRequestResponseDtoMapper.ensureInitialized().hashValue(this as ReceiveRequestResponseDto);
+ return ReceiveRequestResponseDtoMapper.ensureInitialized().hashValue(
+ this as ReceiveRequestResponseDto,
+ );
}
}
-extension ReceiveRequestResponseDtoValueCopy<$R, $Out> on ObjectCopyWith<$R, ReceiveRequestResponseDto, $Out> {
- ReceiveRequestResponseDtoCopyWith<$R, ReceiveRequestResponseDto, $Out> get $asReceiveRequestResponseDto =>
- $base.as((v, t, t2) => _ReceiveRequestResponseDtoCopyWithImpl(v, t, t2));
+extension ReceiveRequestResponseDtoValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, ReceiveRequestResponseDto, $Out> {
+ ReceiveRequestResponseDtoCopyWith<$R, ReceiveRequestResponseDto, $Out>
+ get $asReceiveRequestResponseDto => $base.as(
+ (v, t, t2) => _ReceiveRequestResponseDtoCopyWithImpl<$R, $Out>(v, t, t2),
+ );
}
-abstract class ReceiveRequestResponseDtoCopyWith<$R, $In extends ReceiveRequestResponseDto, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class ReceiveRequestResponseDtoCopyWith<
+ $R,
+ $In extends ReceiveRequestResponseDto,
+ $Out
+>
+ implements ClassCopyWith<$R, $In, $Out> {
InfoDtoCopyWith<$R, InfoDto, InfoDto> get info;
- MapCopyWith<$R, String, FileDto, ObjectCopyWith<$R, FileDto, FileDto>> get files;
+ MapCopyWith<$R, String, FileDto, ObjectCopyWith<$R, FileDto, FileDto>>
+ get files;
$R call({InfoDto? info, String? sessionId, Map<String, FileDto>? files});
- ReceiveRequestResponseDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+ ReceiveRequestResponseDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
-class _ReceiveRequestResponseDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, ReceiveRequestResponseDto, $Out>
- implements ReceiveRequestResponseDtoCopyWith<$R, ReceiveRequestResponseDto, $Out> {
+class _ReceiveRequestResponseDtoCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, ReceiveRequestResponseDto, $Out>
+ implements
+ ReceiveRequestResponseDtoCopyWith<$R, ReceiveRequestResponseDto, $Out> {
_ReceiveRequestResponseDtoCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<ReceiveRequestResponseDto> $mapper = ReceiveRequestResponseDtoMapper.ensureInitialized();
+ late final ClassMapperBase<ReceiveRequestResponseDto> $mapper =
+ ReceiveRequestResponseDtoMapper.ensureInitialized();
@override
- InfoDtoCopyWith<$R, InfoDto, InfoDto> get info => $value.info.copyWith.$chain((v) => call(info: v));
+ InfoDtoCopyWith<$R, InfoDto, InfoDto> get info =>
+ $value.info.copyWith.$chain((v) => call(info: v));
@override
- MapCopyWith<$R, String, FileDto, ObjectCopyWith<$R, FileDto, FileDto>> get files =>
- MapCopyWith($value.files, (v, t) => ObjectCopyWith(v, $identity, t), (v) => call(files: v));
+ MapCopyWith<$R, String, FileDto, ObjectCopyWith<$R, FileDto, FileDto>>
+ get files => MapCopyWith(
+ $value.files,
+ (v, t) => ObjectCopyWith(v, $identity, t),
+ (v) => call(files: v),
+ );
@override
$R call({InfoDto? info, String? sessionId, Map<String, FileDto>? files}) =>
- $apply(FieldCopyWithData({if (info != null) #info: info, if (sessionId != null) #sessionId: sessionId, if (files != null) #files: files}));
+ $apply(
+ FieldCopyWithData({
+ if (info != null) #info: info,
+ if (sessionId != null) #sessionId: sessionId,
+ if (files != null) #files: files,
+ }),
+ );
@override
- ReceiveRequestResponseDto $make(CopyWithData data) => ReceiveRequestResponseDto(
- info: data.get(#info, or: $value.info),
- sessionId: data.get(#sessionId, or: $value.sessionId),
- files: data.get(#files, or: $value.files),
- );
+ ReceiveRequestResponseDto $make(CopyWithData data) =>
+ ReceiveRequestResponseDto(
+ info: data.get(#info, or: $value.info),
+ sessionId: data.get(#sessionId, or: $value.sessionId),
+ files: data.get(#files, or: $value.files),
+ );
@override
- ReceiveRequestResponseDtoCopyWith<$R2, ReceiveRequestResponseDto, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
- _ReceiveRequestResponseDtoCopyWithImpl($value, $cast, t);
+ ReceiveRequestResponseDtoCopyWith<$R2, ReceiveRequestResponseDto, $Out2>
+ $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
+ _ReceiveRequestResponseDtoCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/dto/register_dto.mapper.dart b/app/lib/common/model/dto/register_dto.mapper.dart
index d7ccea59..73cb5d45 100644
--- a/app/lib/common/model/dto/register_dto.mapper.dart
+++ b/app/lib/common/model/dto/register_dto.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -25,19 +27,37 @@ class RegisterDtoMapper extends ClassMapperBase<RegisterDto> {
static String _$alias(RegisterDto v) => v.alias;
static const Field<RegisterDto, String> _f$alias = Field('alias', _$alias);
static String? _$version(RegisterDto v) => v.version;
- static const Field<RegisterDto, String> _f$version = Field('version', _$version);
+ static const Field<RegisterDto, String> _f$version = Field(
+ 'version',
+ _$version,
+ );
static String? _$deviceModel(RegisterDto v) => v.deviceModel;
- static const Field<RegisterDto, String> _f$deviceModel = Field('deviceModel', _$deviceModel);
+ static const Field<RegisterDto, String> _f$deviceModel = Field(
+ 'deviceModel',
+ _$deviceModel,
+ );
static DeviceType? _$deviceType(RegisterDto v) => v.deviceType;
- static const Field<RegisterDto, DeviceType> _f$deviceType = Field('deviceType', _$deviceType);
+ static const Field<RegisterDto, DeviceType> _f$deviceType = Field(
+ 'deviceType',
+ _$deviceType,
+ );
static String _$fingerprint(RegisterDto v) => v.fingerprint;
- static const Field<RegisterDto, String> _f$fingerprint = Field('fingerprint', _$fingerprint);
+ static const Field<RegisterDto, String> _f$fingerprint = Field(
+ 'fingerprint',
+ _$fingerprint,
+ );
static int? _$port(RegisterDto v) => v.port;
static const Field<RegisterDto, int> _f$port = Field('port', _$port);
static ProtocolType? _$protocol(RegisterDto v) => v.protocol;
- static const Field<RegisterDto, ProtocolType> _f$protocol = Field('protocol', _$protocol);
+ static const Field<RegisterDto, ProtocolType> _f$protocol = Field(
+ 'protocol',
+ _$protocol,
+ );
static bool? _$download(RegisterDto v) => v.download;
- static const Field<RegisterDto, bool> _f$download = Field('download', _$download);
+ static const Field<RegisterDto, bool> _f$download = Field(
+ 'download',
+ _$download,
+ );
@override
final MappableFields<RegisterDto> fields = const {
@@ -78,22 +98,36 @@ class RegisterDtoMapper extends ClassMapperBase<RegisterDto> {
mixin RegisterDtoMappable {
String serialize() {
- return RegisterDtoMapper.ensureInitialized().encodeJson<RegisterDto>(this as RegisterDto);
+ return RegisterDtoMapper.ensureInitialized().encodeJson<RegisterDto>(
+ this as RegisterDto,
+ );
}
Map<String, dynamic> toJson() {
- return RegisterDtoMapper.ensureInitialized().encodeMap<RegisterDto>(this as RegisterDto);
+ return RegisterDtoMapper.ensureInitialized().encodeMap<RegisterDto>(
+ this as RegisterDto,
+ );
}
- RegisterDtoCopyWith<RegisterDto, RegisterDto, RegisterDto> get copyWith => _RegisterDtoCopyWithImpl(this as RegisterDto, $identity, $identity);
+ RegisterDtoCopyWith<RegisterDto, RegisterDto, RegisterDto> get copyWith =>
+ _RegisterDtoCopyWithImpl<RegisterDto, RegisterDto>(
+ this as RegisterDto,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return RegisterDtoMapper.ensureInitialized().stringifyValue(this as RegisterDto);
+ return RegisterDtoMapper.ensureInitialized().stringifyValue(
+ this as RegisterDto,
+ );
}
@override
bool operator ==(Object other) {
- return RegisterDtoMapper.ensureInitialized().equalsValue(this as RegisterDto, other);
+ return RegisterDtoMapper.ensureInitialized().equalsValue(
+ this as RegisterDto,
+ other,
+ );
}
@override
@@ -102,11 +136,14 @@ mixin RegisterDtoMappable {
}
}
-extension RegisterDtoValueCopy<$R, $Out> on ObjectCopyWith<$R, RegisterDto, $Out> {
- RegisterDtoCopyWith<$R, RegisterDto, $Out> get $asRegisterDto => $base.as((v, t, t2) => _RegisterDtoCopyWithImpl(v, t, t2));
+extension RegisterDtoValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, RegisterDto, $Out> {
+ RegisterDtoCopyWith<$R, RegisterDto, $Out> get $asRegisterDto =>
+ $base.as((v, t, t2) => _RegisterDtoCopyWithImpl<$R, $Out>(v, t, t2));
}
-abstract class RegisterDtoCopyWith<$R, $In extends RegisterDto, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class RegisterDtoCopyWith<$R, $In extends RegisterDto, $Out>
+ implements ClassCopyWith<$R, $In, $Out> {
$R call({
String? alias,
String? version,
@@ -120,11 +157,14 @@ abstract class RegisterDtoCopyWith<$R, $In extends RegisterDto, $Out> implements
RegisterDtoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
}
-class _RegisterDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, RegisterDto, $Out> implements RegisterDtoCopyWith<$R, RegisterDto, $Out> {
+class _RegisterDtoCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, RegisterDto, $Out>
+ implements RegisterDtoCopyWith<$R, RegisterDto, $Out> {
_RegisterDtoCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<RegisterDto> $mapper = RegisterDtoMapper.ensureInitialized();
+ late final ClassMapperBase<RegisterDto> $mapper =
+ RegisterDtoMapper.ensureInitialized();
@override
$R call({
String? alias,
@@ -160,5 +200,8 @@ class _RegisterDtoCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, RegisterD
);
@override
- RegisterDtoCopyWith<$R2, RegisterDto, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _RegisterDtoCopyWithImpl($value, $cast, t);
+ RegisterDtoCopyWith<$R2, RegisterDto, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _RegisterDtoCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/model/file_type.mapper.dart b/app/lib/common/model/file_type.mapper.dart
index 489f714b..8fbfd9b8 100644
--- a/app/lib/common/model/file_type.mapper.dart
+++ b/app/lib/common/model/file_type.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -25,17 +27,17 @@ class FileTypeMapper extends EnumMapper<FileType> {
@override
FileType decode(dynamic value) {
switch (value) {
- case 'image':
+ case r'image':
return FileType.image;
- case 'video':
+ case r'video':
return FileType.video;
- case 'pdf':
+ case r'pdf':
return FileType.pdf;
- case 'text':
+ case r'text':
return FileType.text;
- case 'apk':
+ case r'apk':
return FileType.apk;
- case 'other':
+ case r'other':
return FileType.other;
default:
return FileType.values[5];
@@ -46,17 +48,17 @@ class FileTypeMapper extends EnumMapper<FileType> {
dynamic encode(FileType self) {
switch (self) {
case FileType.image:
- return 'image';
+ return r'image';
case FileType.video:
- return 'video';
+ return r'video';
case FileType.pdf:
- return 'pdf';
+ return r'pdf';
case FileType.text:
- return 'text';
+ return r'text';
case FileType.apk:
- return 'apk';
+ return r'apk';
case FileType.other:
- return 'other';
+ return r'other';
}
}
}
@@ -67,3 +69,4 @@ extension FileTypeMapperExtension on FileType {
return MapperContainer.globals.toValue<FileType>(this) as String;
}
}
+
diff --git a/app/lib/common/model/stored_security_context.mapper.dart b/app/lib/common/model/stored_security_context.mapper.dart
index 451f3a47..f0abcd30 100644
--- a/app/lib/common/model/stored_security_context.mapper.dart
+++ b/app/lib/common/model/stored_security_context.mapper.dart
@@ -1,12 +1,15 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
part of 'stored_security_context.dart';
-class StoredSecurityContextMapper extends ClassMapperBase<StoredSecurityContext> {
+class StoredSecurityContextMapper
+ extends ClassMapperBase<StoredSecurityContext> {
StoredSecurityContextMapper._();
static StoredSecurityContextMapper? _instance;
@@ -21,13 +24,25 @@ class StoredSecurityContextMapper extends ClassMapperBase<StoredSecurityContext>
final String id = 'StoredSecurityContext';
static String _$privateKey(StoredSecurityContext v) => v.privateKey;
- static const Field<StoredSecurityContext, String> _f$privateKey = Field('privateKey', _$privateKey);
+ static const Field<StoredSecurityContext, String> _f$privateKey = Field(
+ 'privateKey',
+ _$privateKey,
+ );
static String _$publicKey(StoredSecurityContext v) => v.publicKey;
- static const Field<StoredSecurityContext, String> _f$publicKey = Field('publicKey', _$publicKey);
+ static const Field<StoredSecurityContext, String> _f$publicKey = Field(
+ 'publicKey',
+ _$publicKey,
+ );
static String _$certificate(StoredSecurityContext v) => v.certificate;
- static const Field<StoredSecurityContext, String> _f$certificate = Field('certificate', _$certificate);
+ static const Field<StoredSecurityContext, String> _f$certificate = Field(
+ 'certificate',
+ _$certificate,
+ );
static String _$certificateHash(StoredSecurityContext v) => v.certificateHash;
- static const Field<StoredSecurityContext, String> _f$certificateHash = Field('certificateHash', _$certificateHash);
+ static const Field<StoredSecurityContext, String> _f$certificateHash = Field(
+ 'certificateHash',
+ _$certificateHash,
+ );
@override
final MappableFields<StoredSecurityContext> fields = const {
@@ -60,49 +75,88 @@ class StoredSecurityContextMapper extends ClassMapperBase<StoredSecurityContext>
mixin StoredSecurityContextMappable {
String serialize() {
- return StoredSecurityContextMapper.ensureInitialized().encodeJson<StoredSecurityContext>(this as StoredSecurityContext);
+ return StoredSecurityContextMapper.ensureInitialized()
+ .encodeJson<StoredSecurityContext>(this as StoredSecurityContext);
}
Map<String, dynamic> toJson() {
- return StoredSecurityContextMapper.ensureInitialized().encodeMap<StoredSecurityContext>(this as StoredSecurityContext);
+ return StoredSecurityContextMapper.ensureInitialized()
+ .encodeMap<StoredSecurityContext>(this as StoredSecurityContext);
}
- StoredSecurityContextCopyWith<StoredSecurityContext, StoredSecurityContext, StoredSecurityContext> get copyWith =>
- _StoredSecurityContextCopyWithImpl(this as StoredSecurityContext, $identity, $identity);
+ StoredSecurityContextCopyWith<
+ StoredSecurityContext,
+ StoredSecurityContext,
+ StoredSecurityContext
+ >
+ get copyWith =>
+ _StoredSecurityContextCopyWithImpl<
+ StoredSecurityContext,
+ StoredSecurityContext
+ >(this as StoredSecurityContext, $identity, $identity);
@override
String toString() {
- return StoredSecurityContextMapper.ensureInitialized().stringifyValue(this as StoredSecurityContext);
+ return StoredSecurityContextMapper.ensureInitialized().stringifyValue(
+ this as StoredSecurityContext,
+ );
}
@override
bool operator ==(Object other) {
- return StoredSecurityContextMapper.ensureInitialized().equalsValue(this as StoredSecurityContext, other);
+ return StoredSecurityContextMapper.ensureInitialized().equalsValue(
+ this as StoredSecurityContext,
+ other,
+ );
}
@override
int get hashCode {
- return StoredSecurityContextMapper.ensureInitialized().hashValue(this as StoredSecurityContext);
+ return StoredSecurityContextMapper.ensureInitialized().hashValue(
+ this as StoredSecurityContext,
+ );
}
}
-extension StoredSecurityContextValueCopy<$R, $Out> on ObjectCopyWith<$R, StoredSecurityContext, $Out> {
- StoredSecurityContextCopyWith<$R, StoredSecurityContext, $Out> get $asStoredSecurityContext =>
- $base.as((v, t, t2) => _StoredSecurityContextCopyWithImpl(v, t, t2));
+extension StoredSecurityContextValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, StoredSecurityContext, $Out> {
+ StoredSecurityContextCopyWith<$R, StoredSecurityContext, $Out>
+ get $asStoredSecurityContext => $base.as(
+ (v, t, t2) => _StoredSecurityContextCopyWithImpl<$R, $Out>(v, t, t2),
+ );
}
-abstract class StoredSecurityContextCopyWith<$R, $In extends StoredSecurityContext, $Out> implements ClassCopyWith<$R, $In, $Out> {
- $R call({String? privateKey, String? publicKey, String? certificate, String? certificateHash});
- StoredSecurityContextCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+abstract class StoredSecurityContextCopyWith<
+ $R,
+ $In extends StoredSecurityContext,
+ $Out
+>
+ implements ClassCopyWith<$R, $In, $Out> {
+ $R call({
+ String? privateKey,
+ String? publicKey,
+ String? certificate,
+ String? certificateHash,
+ });
+ StoredSecurityContextCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
-class _StoredSecurityContextCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, StoredSecurityContext, $Out>
+class _StoredSecurityContextCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, StoredSecurityContext, $Out>
implements StoredSecurityContextCopyWith<$R, StoredSecurityContext, $Out> {
_StoredSecurityContextCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<StoredSecurityContext> $mapper = StoredSecurityContextMapper.ensureInitialized();
+ late final ClassMapperBase<StoredSecurityContext> $mapper =
+ StoredSecurityContextMapper.ensureInitialized();
@override
- $R call({String? privateKey, String? publicKey, String? certificate, String? certificateHash}) => $apply(
+ $R call({
+ String? privateKey,
+ String? publicKey,
+ String? certificate,
+ String? certificateHash,
+ }) => $apply(
FieldCopyWithData({
if (privateKey != null) #privateKey: privateKey,
if (publicKey != null) #publicKey: publicKey,
@@ -119,6 +173,8 @@ class _StoredSecurityContextCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R,
);
@override
- StoredSecurityContextCopyWith<$R2, StoredSecurityContext, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
- _StoredSecurityContextCopyWithImpl($value, $cast, t);
+ StoredSecurityContextCopyWith<$R2, StoredSecurityContext, $Out2>
+ $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
+ _StoredSecurityContextCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/src/isolate/child/sync_provider.mapper.dart b/app/lib/common/src/isolate/child/sync_provider.mapper.dart
index d4bb8e7a..4376171c 100644
--- a/app/lib/common/src/isolate/child/sync_provider.mapper.dart
+++ b/app/lib/common/src/isolate/child/sync_provider.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -24,34 +26,73 @@ class SyncStateMapper extends ClassMapperBase<SyncState> {
static Function _$init(SyncState v) => (v as dynamic).init as Function;
static dynamic _arg$init(f) => f<Future<void> Function()>();
- static const Field<SyncState, Function> _f$init = Field('init', _$init, arg: _arg$init);
+ static const Field<SyncState, Function> _f$init = Field(
+ 'init',
+ _$init,
+ arg: _arg$init,
+ );
static Object _$rootIsolateToken(SyncState v) => v.rootIsolateToken;
- static const Field<SyncState, Object> _f$rootIsolateToken = Field('rootIsolateToken', _$rootIsolateToken);
- static Function _$httpClientFactory(SyncState v) => (v as dynamic).httpClientFactory as Function;
- static dynamic _arg$httpClientFactory(f) => f<CustomHttpClient Function(Duration, StoredSecurityContext)>();
- static const Field<SyncState, Function> _f$httpClientFactory = Field('httpClientFactory', _$httpClientFactory, arg: _arg$httpClientFactory);
- static StoredSecurityContext _$securityContext(SyncState v) => v.securityContext;
- static const Field<SyncState, StoredSecurityContext> _f$securityContext = Field('securityContext', _$securityContext);
+ static const Field<SyncState, Object> _f$rootIsolateToken = Field(
+ 'rootIsolateToken',
+ _$rootIsolateToken,
+ );
+ static Function _$httpClientFactory(SyncState v) =>
+ (v as dynamic).httpClientFactory as Function;
+ static dynamic _arg$httpClientFactory(f) =>
+ f<CustomHttpClient Function(Duration, StoredSecurityContext)>();
+ static const Field<SyncState, Function> _f$httpClientFactory = Field(
+ 'httpClientFactory',
+ _$httpClientFactory,
+ arg: _arg$httpClientFactory,
+ );
+ static StoredSecurityContext _$securityContext(SyncState v) =>
+ v.securityContext;
+ static const Field<SyncState, StoredSecurityContext> _f$securityContext =
+ Field('securityContext', _$securityContext);
static DeviceInfoResult _$deviceInfo(SyncState v) => v.deviceInfo;
- static const Field<SyncState, DeviceInfoResult> _f$deviceInfo = Field('deviceInfo', _$deviceInfo);
+ static const Field<SyncState, DeviceInfoResult> _f$deviceInfo = Field(
+ 'deviceInfo',
+ _$deviceInfo,
+ );
static String _$alias(SyncState v) => v.alias;
static const Field<SyncState, String> _f$alias = Field('alias', _$alias);
static int _$port(SyncState v) => v.port;
static const Field<SyncState, int> _f$port = Field('port', _$port);
static List<String>? _$networkWhitelist(SyncState v) => v.networkWhitelist;
- static const Field<SyncState, List<String>> _f$networkWhitelist = Field('networkWhitelist', _$networkWhitelist);
+ static const Field<SyncState, List<String>> _f$networkWhitelist = Field(
+ 'networkWhitelist',
+ _$networkWhitelist,
+ );
static List<String>? _$networkBlacklist(SyncState v) => v.networkBlacklist;
- static const Field<SyncState, List<String>> _f$networkBlacklist = Field('networkBlacklist', _$networkBlacklist);
+ static const Field<SyncState, List<String>> _f$networkBlacklist = Field(
+ 'networkBlacklist',
+ _$networkBlacklist,
+ );
static ProtocolType _$protocol(SyncState v) => v.protocol;
- static const Field<SyncState, ProtocolType> _f$protocol = Field('protocol', _$protocol);
+ static const Field<SyncState, ProtocolType> _f$protocol = Field(
+ 'protocol',
+ _$protocol,
+ );
static String _$multicastGroup(SyncState v) => v.multicastGroup;
- static const Field<SyncState, String> _f$multicastGroup = Field('multicastGroup', _$multicastGroup);
+ static const Field<SyncState, String> _f$multicastGroup = Field(
+ 'multicastGroup',
+ _$multicastGroup,
+ );
static int _$discoveryTimeout(SyncState v) => v.discoveryTimeout;
- static const Field<SyncState, int> _f$discoveryTimeout = Field('discoveryTimeout', _$discoveryTimeout);
+ static const Field<SyncState, int> _f$discoveryTimeout = Field(
+ 'discoveryTimeout',
+ _$discoveryTimeout,
+ );
static bool _$serverRunning(SyncState v) => v.serverRunning;
- static const Field<SyncState, bool> _f$serverRunning = Field('serverRunning', _$serverRunning);
+ static const Field<SyncState, bool> _f$serverRunning = Field(
+ 'serverRunning',
+ _$serverRunning,
+ );
static bool _$download(SyncState v) => v.download;
- static const Field<SyncState, bool> _f$download = Field('download', _$download);
+ static const Field<SyncState, bool> _f$download = Field(
+ 'download',
+ _$download,
+ );
@override
final MappableFields<SyncState> fields = const {
@@ -104,22 +145,36 @@ class SyncStateMapper extends ClassMapperBase<SyncState> {
mixin SyncStateMappable {
String serialize() {
- return SyncStateMapper.ensureInitialized().encodeJson<SyncState>(this as SyncState);
+ return SyncStateMapper.ensureInitialized().encodeJson<SyncState>(
+ this as SyncState,
+ );
}
Map<String, dynamic> toJson() {
- return SyncStateMapper.ensureInitialized().encodeMap<SyncState>(this as SyncState);
+ return SyncStateMapper.ensureInitialized().encodeMap<SyncState>(
+ this as SyncState,
+ );
}
- SyncStateCopyWith<SyncState, SyncState, SyncState> get copyWith => _SyncStateCopyWithImpl(this as SyncState, $identity, $identity);
+ SyncStateCopyWith<SyncState, SyncState, SyncState> get copyWith =>
+ _SyncStateCopyWithImpl<SyncState, SyncState>(
+ this as SyncState,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return SyncStateMapper.ensureInitialized().stringifyValue(this as SyncState);
+ return SyncStateMapper.ensureInitialized().stringifyValue(
+ this as SyncState,
+ );
}
@override
bool operator ==(Object other) {
- return SyncStateMapper.ensureInitialized().equalsValue(this as SyncState, other);
+ return SyncStateMapper.ensureInitialized().equalsValue(
+ this as SyncState,
+ other,
+ );
}
@override
@@ -129,17 +184,27 @@ mixin SyncStateMappable {
}
extension SyncStateValueCopy<$R, $Out> on ObjectCopyWith<$R, SyncState, $Out> {
- SyncStateCopyWith<$R, SyncState, $Out> get $asSyncState => $base.as((v, t, t2) => _SyncStateCopyWithImpl(v, t, t2));
+ SyncStateCopyWith<$R, SyncState, $Out> get $asSyncState =>
+ $base.as((v, t, t2) => _SyncStateCopyWithImpl<$R, $Out>(v, t, t2));
}
-abstract class SyncStateCopyWith<$R, $In extends SyncState, $Out> implements ClassCopyWith<$R, $In, $Out> {
- StoredSecurityContextCopyWith<$R, StoredSecurityContext, StoredSecurityContext> get securityContext;
- ListCopyWith<$R, String, ObjectCopyWith<$R, String, String>>? get networkWhitelist;
- ListCopyWith<$R, String, ObjectCopyWith<$R, String, String>>? get networkBlacklist;
+abstract class SyncStateCopyWith<$R, $In extends SyncState, $Out>
+ implements ClassCopyWith<$R, $In, $Out> {
+ StoredSecurityContextCopyWith<
+ $R,
+ StoredSecurityContext,
+ StoredSecurityContext
+ >
+ get securityContext;
+ ListCopyWith<$R, String, ObjectCopyWith<$R, String, String>>?
+ get networkWhitelist;
+ ListCopyWith<$R, String, ObjectCopyWith<$R, String, String>>?
+ get networkBlacklist;
$R call({
Future<void> Function()? init,
Object? rootIsolateToken,
- CustomHttpClient Function(Duration, StoredSecurityContext)? httpClientFactory,
+ CustomHttpClient Function(Duration, StoredSecurityContext)?
+ httpClientFactory,
StoredSecurityContext? securityContext,
DeviceInfoResult? deviceInfo,
String? alias,
@@ -155,27 +220,46 @@ abstract class SyncStateCopyWith<$R, $In extends SyncState, $Out> implements Cla
SyncStateCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
}
-class _SyncStateCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, SyncState, $Out> implements SyncStateCopyWith<$R, SyncState, $Out> {
+class _SyncStateCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, SyncState, $Out>
+ implements SyncStateCopyWith<$R, SyncState, $Out> {
_SyncStateCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<SyncState> $mapper = SyncStateMapper.ensureInitialized();
+ late final ClassMapperBase<SyncState> $mapper =
+ SyncStateMapper.ensureInitialized();
@override
- StoredSecurityContextCopyWith<$R, StoredSecurityContext, StoredSecurityContext> get securityContext =>
+ StoredSecurityContextCopyWith<
+ $R,
+ StoredSecurityContext,
+ StoredSecurityContext
+ >
+ get securityContext =>
$value.securityContext.copyWith.$chain((v) => call(securityContext: v));
@override
- ListCopyWith<$R, String, ObjectCopyWith<$R, String, String>>? get networkWhitelist => $value.networkWhitelist != null
- ? ListCopyWith($value.networkWhitelist!, (v, t) => ObjectCopyWith(v, $identity, t), (v) => call(networkWhitelist: v))
+ ListCopyWith<$R, String, ObjectCopyWith<$R, String, String>>?
+ get networkWhitelist => $value.networkWhitelist != null
+ ? ListCopyWith(
+ $value.networkWhitelist!,
+ (v, t) => ObjectCopyWith(v, $identity, t),
+ (v) => call(networkWhitelist: v),
+ )
: null;
@override
- ListCopyWith<$R, String, ObjectCopyWith<$R, String, String>>? get networkBlacklist => $value.networkBlacklist != null
- ? ListCopyWith($value.networkBlacklist!, (v, t) => ObjectCopyWith(v, $identity, t), (v) => call(networkBlacklist: v))
+ ListCopyWith<$R, String, ObjectCopyWith<$R, String, String>>?
+ get networkBlacklist => $value.networkBlacklist != null
+ ? ListCopyWith(
+ $value.networkBlacklist!,
+ (v, t) => ObjectCopyWith(v, $identity, t),
+ (v) => call(networkBlacklist: v),
+ )
: null;
@override
$R call({
Future<void> Function()? init,
Object? rootIsolateToken,
- CustomHttpClient Function(Duration, StoredSecurityContext)? httpClientFactory,
+ CustomHttpClient Function(Duration, StoredSecurityContext)?
+ httpClientFactory,
StoredSecurityContext? securityContext,
DeviceInfoResult? deviceInfo,
String? alias,
@@ -209,7 +293,10 @@ class _SyncStateCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, SyncState,
SyncState $make(CopyWithData data) => SyncState(
init: data.get(#init, or: $value.init),
rootIsolateToken: data.get(#rootIsolateToken, or: $value.rootIsolateToken),
- httpClientFactory: data.get(#httpClientFactory, or: $value.httpClientFactory),
+ httpClientFactory: data.get(
+ #httpClientFactory,
+ or: $value.httpClientFactory,
+ ),
securityContext: data.get(#securityContext, or: $value.securityContext),
deviceInfo: data.get(#deviceInfo, or: $value.deviceInfo),
alias: data.get(#alias, or: $value.alias),
@@ -224,5 +311,8 @@ class _SyncStateCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, SyncState,
);
@override
- SyncStateCopyWith<$R2, SyncState, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _SyncStateCopyWithImpl($value, $cast, t);
+ SyncStateCopyWith<$R2, SyncState, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _SyncStateCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/common/src/isolate/parent/parent_isolate_provider.mapper.dart b/app/lib/common/src/isolate/parent/parent_isolate_provider.mapper.dart
index c4ab6b10..b755e223 100644
--- a/app/lib/common/src/isolate/parent/parent_isolate_provider.mapper.dart
+++ b/app/lib/common/src/isolate/parent/parent_isolate_provider.mapper.dart
@@ -1,6 +1,8 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
+// dart format off
// ignore_for_file: type=lint
+// ignore_for_file: invalid_use_of_protected_member
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter
@@ -23,20 +25,46 @@ class ParentIsolateStateMapper extends ClassMapperBase<ParentIsolateState> {
final String id = 'ParentIsolateState';
static SyncState _$syncState(ParentIsolateState v) => v.syncState;
- static const Field<ParentIsolateState, SyncState> _f$syncState = Field('syncState', _$syncState);
- static IsolateConnector<IsolateTaskStreamResult<Device>, SendToIsolateData<IsolateTask<HttpScanTask>>>? _$httpScanDiscovery(ParentIsolateState v) =>
- v.httpScanDiscovery;
- static const Field<ParentIsolateState, IsolateConnector<IsolateTaskStreamResult<Device>, SendToIsolateData<IsolateTask<HttpScanTask>>>>
- _f$httpScanDiscovery = Field('httpScanDiscovery', _$httpScanDiscovery);
- static IsolateConnector<Device, SendToIsolateData<MulticastTask>>? _$multicastDiscovery(ParentIsolateState v) => v.multicastDiscovery;
- static const Field<ParentIsolateState, IsolateConnector<Device, SendToIsolateData<MulticastTask>>> _f$multicastDiscovery = Field(
- 'multicastDiscovery',
- _$multicastDiscovery,
+ static const Field<ParentIsolateState, SyncState> _f$syncState = Field(
+ 'syncState',
+ _$syncState,
);
- static List<IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>> _$httpUpload(
- ParentIsolateState v,
- ) => v.httpUpload;
- static const Field<ParentIsolateState, List<IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>>>
+ static IsolateConnector<
+ IsolateTaskStreamResult<Device>,
+ SendToIsolateData<IsolateTask<HttpScanTask>>
+ >?
+ _$httpScanDiscovery(ParentIsolateState v) => v.httpScanDiscovery;
+ static const Field<
+ ParentIsolateState,
+ IsolateConnector<
+ IsolateTaskStreamResult<Device>,
+ SendToIsolateData<IsolateTask<HttpScanTask>>
+ >
+ >
+ _f$httpScanDiscovery = Field('httpScanDiscovery', _$httpScanDiscovery);
+ static IsolateConnector<Device, SendToIsolateData<MulticastTask>>?
+ _$multicastDiscovery(ParentIsolateState v) => v.multicastDiscovery;
+ static const Field<
+ ParentIsolateState,
+ IsolateConnector<Device, SendToIsolateData<MulticastTask>>
+ >
+ _f$multicastDiscovery = Field('multicastDiscovery', _$multicastDiscovery);
+ static List<
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >
+ >
+ _$httpUpload(ParentIsolateState v) => v.httpUpload;
+ static const Field<
+ ParentIsolateState,
+ List<
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >
+ >
+ >
_f$httpUpload = Field('httpUpload', _$httpUpload);
@override
@@ -70,82 +98,152 @@ class ParentIsolateStateMapper extends ClassMapperBase<ParentIsolateState> {
mixin ParentIsolateStateMappable {
String serialize() {
- return ParentIsolateStateMapper.ensureInitialized().encodeJson<ParentIsolateState>(this as ParentIsolateState);
+ return ParentIsolateStateMapper.ensureInitialized()
+ .encodeJson<ParentIsolateState>(this as ParentIsolateState);
}
Map<String, dynamic> toJson() {
- return ParentIsolateStateMapper.ensureInitialized().encodeMap<ParentIsolateState>(this as ParentIsolateState);
+ return ParentIsolateStateMapper.ensureInitialized()
+ .encodeMap<ParentIsolateState>(this as ParentIsolateState);
}
- ParentIsolateStateCopyWith<ParentIsolateState, ParentIsolateState, ParentIsolateState> get copyWith =>
- _ParentIsolateStateCopyWithImpl(this as ParentIsolateState, $identity, $identity);
+ ParentIsolateStateCopyWith<
+ ParentIsolateState,
+ ParentIsolateState,
+ ParentIsolateState
+ >
+ get copyWith =>
+ _ParentIsolateStateCopyWithImpl<ParentIsolateState, ParentIsolateState>(
+ this as ParentIsolateState,
+ $identity,
+ $identity,
+ );
@override
String toString() {
- return ParentIsolateStateMapper.ensureInitialized().stringifyValue(this as ParentIsolateState);
+ return ParentIsolateStateMapper.ensureInitialized().stringifyValue(
+ this as ParentIsolateState,
+ );
}
@override
bool operator ==(Object other) {
- return ParentIsolateStateMapper.ensureInitialized().equalsValue(this as ParentIsolateState, other);
+ return ParentIsolateStateMapper.ensureInitialized().equalsValue(
+ this as ParentIsolateState,
+ other,
+ );
}
@override
int get hashCode {
- return ParentIsolateStateMapper.ensureInitialized().hashValue(this as ParentIsolateState);
+ return ParentIsolateStateMapper.ensureInitialized().hashValue(
+ this as ParentIsolateState,
+ );
}
}
-extension ParentIsolateStateValueCopy<$R, $Out> on ObjectCopyWith<$R, ParentIsolateState, $Out> {
- ParentIsolateStateCopyWith<$R, ParentIsolateState, $Out> get $asParentIsolateState =>
- $base.as((v, t, t2) => _ParentIsolateStateCopyWithImpl(v, t, t2));
+extension ParentIsolateStateValueCopy<$R, $Out>
+ on ObjectCopyWith<$R, ParentIsolateState, $Out> {
+ ParentIsolateStateCopyWith<$R, ParentIsolateState, $Out>
+ get $asParentIsolateState => $base.as(
+ (v, t, t2) => _ParentIsolateStateCopyWithImpl<$R, $Out>(v, t, t2),
+ );
}
-abstract class ParentIsolateStateCopyWith<$R, $In extends ParentIsolateState, $Out> implements ClassCopyWith<$R, $In, $Out> {
+abstract class ParentIsolateStateCopyWith<
+ $R,
+ $In extends ParentIsolateState,
+ $Out
+>
+ implements ClassCopyWith<$R, $In, $Out> {
SyncStateCopyWith<$R, SyncState, SyncState> get syncState;
ListCopyWith<
$R,
- IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>,
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >,
ObjectCopyWith<
$R,
- IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>,
- IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >,
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >
>
>
get httpUpload;
$R call({
SyncState? syncState,
- IsolateConnector<IsolateTaskStreamResult<Device>, SendToIsolateData<IsolateTask<HttpScanTask>>>? httpScanDiscovery,
- IsolateConnector<Device, SendToIsolateData<MulticastTask>>? multicastDiscovery,
- List<IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>>? httpUpload,
+ IsolateConnector<
+ IsolateTaskStreamResult<Device>,
+ SendToIsolateData<IsolateTask<HttpScanTask>>
+ >?
+ httpScanDiscovery,
+ IsolateConnector<Device, SendToIsolateData<MulticastTask>>?
+ multicastDiscovery,
+ List<
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >
+ >?
+ httpUpload,
});
- ParentIsolateStateCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
+ ParentIsolateStateCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ );
}
-class _ParentIsolateStateCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, ParentIsolateState, $Out>
+class _ParentIsolateStateCopyWithImpl<$R, $Out>
+ extends ClassCopyWithBase<$R, ParentIsolateState, $Out>
implements ParentIsolateStateCopyWith<$R, ParentIsolateState, $Out> {
_ParentIsolateStateCopyWithImpl(super.value, super.then, super.then2);
@override
- late final ClassMapperBase<ParentIsolateState> $mapper = ParentIsolateStateMapper.ensureInitialized();
+ late final ClassMapperBase<ParentIsolateState> $mapper =
+ ParentIsolateStateMapper.ensureInitialized();
@override
- SyncStateCopyWith<$R, SyncState, SyncState> get syncState => $value.syncState.copyWith.$chain((v) => call(syncState: v));
+ SyncStateCopyWith<$R, SyncState, SyncState> get syncState =>
+ $value.syncState.copyWith.$chain((v) => call(syncState: v));
@override
ListCopyWith<
$R,
- IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>,
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >,
ObjectCopyWith<
$R,
- IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>,
- IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >,
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >
>
>
- get httpUpload => ListCopyWith($value.httpUpload, (v, t) => ObjectCopyWith(v, $identity, t), (v) => call(httpUpload: v));
+ get httpUpload => ListCopyWith(
+ $value.httpUpload,
+ (v, t) => ObjectCopyWith(v, $identity, t),
+ (v) => call(httpUpload: v),
+ );
@override
$R call({
SyncState? syncState,
Object? httpScanDiscovery = $none,
Object? multicastDiscovery = $none,
- List<IsolateConnector<IsolateTaskStreamResult<double>, SendToIsolateData<IsolateTask<BaseHttpUploadTask>>>>? httpUpload,
+ List<
+ IsolateConnector<
+ IsolateTaskStreamResult<double>,
+ SendToIsolateData<IsolateTask<BaseHttpUploadTask>>
+ >
+ >?
+ httpUpload,
}) => $apply(
FieldCopyWithData({
if (syncState != null) #syncState: syncState,
@@ -157,12 +255,20 @@ class _ParentIsolateStateCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, Pa
@override
ParentIsolateState $make(CopyWithData data) => ParentIsolateState(
syncState: data.get(#syncState, or: $value.syncState),
- httpScanDiscovery: data.get(#httpScanDiscovery, or: $value.httpScanDiscovery),
- multicastDiscovery: data.get(#multicastDiscovery, or: $value.multicastDiscovery),
+ httpScanDiscovery: data.get(
+ #httpScanDiscovery,
+ or: $value.httpScanDiscovery,
+ ),
+ multicastDiscovery: data.get(
+ #multicastDiscovery,
+ or: $value.multicastDiscovery,
+ ),
httpUpload: data.get(#httpUpload, or: $value.httpUpload),
);
@override
- ParentIsolateStateCopyWith<$R2, ParentIsolateState, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) =>
- _ParentIsolateStateCopyWithImpl($value, $cast, t);
+ ParentIsolateStateCopyWith<$R2, ParentIsolateState, $Out2> $chain<$R2, $Out2>(
+ Then<$Out2, $R2> t,
+ ) => _ParentIsolateStateCopyWithImpl<$R2, $Out2>($value, $cast, t);
}
+
diff --git a/app/lib/rust/api/crypto.dart b/app/lib/rust/api/crypto.dart
index 1509ea23..b07c34af 100644
--- a/app/lib/rust/api/crypto.dart
+++ b/app/lib/rust/api/crypto.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
diff --git a/app/lib/rust/api/http.dart b/app/lib/rust/api/http.dart
index 02e63ccc..6ccde271 100644
--- a/app/lib/rust/api/http.dart
+++ b/app/lib/rust/api/http.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
diff --git a/app/lib/rust/api/logging.dart b/app/lib/rust/api/logging.dart
index 2bf90ab5..bade998c 100644
--- a/app/lib/rust/api/logging.dart
+++ b/app/lib/rust/api/logging.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
diff --git a/app/lib/rust/api/model.dart b/app/lib/rust/api/model.dart
index 753d7d8f..7601bdc8 100644
--- a/app/lib/rust/api/model.dart
+++ b/app/lib/rust/api/model.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
diff --git a/app/lib/rust/api/stream.dart b/app/lib/rust/api/stream.dart
index 77c28c64..f4c99fde 100644
--- a/app/lib/rust/api/stream.dart
+++ b/app/lib/rust/api/stream.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
diff --git a/app/lib/rust/api/webrtc.dart b/app/lib/rust/api/webrtc.dart
index f6996c2d..8920a111 100644
--- a/app/lib/rust/api/webrtc.dart
+++ b/app/lib/rust/api/webrtc.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
diff --git a/app/lib/rust/frb_generated.dart b/app/lib/rust/frb_generated.dart
index 3e881561..e51addd5 100644
--- a/app/lib/rust/frb_generated.dart
+++ b/app/lib/rust/frb_generated.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
@@ -68,7 +68,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
ExternalLibraryLoaderConfig get defaultExternalLibraryLoaderConfig => kDefaultExternalLibraryLoaderConfig;
@override
- String get codegenVersion => '2.11.1';
+ String get codegenVersion => '2.12.0';
@override
int get rustContentHash => -137920352;
@@ -77,6 +77,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
stem: 'rust_lib_localsend_app',
ioDirectory: 'rust/target/release/',
webPrefix: 'pkg/',
+ wasmBindgenName: 'wasm_bindgen',
);
}
diff --git a/app/lib/rust/frb_generated.io.dart b/app/lib/rust/frb_generated.io.dart
index 9234505f..c7c9b087 100644
--- a/app/lib/rust/frb_generated.io.dart
+++ b/app/lib/rust/frb_generated.io.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
diff --git a/app/lib/rust/frb_generated.web.dart b/app/lib/rust/frb_generated.web.dart
index 3b9a78ba..175b5b5c 100644
--- a/app/lib/rust/frb_generated.web.dart
+++ b/app/lib/rust/frb_generated.web.dart
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
diff --git a/app/pubspec.lock b/app/pubspec.lock
index 026a16c4..c6d4668e 100644
--- a/app/pubspec.lock
+++ b/app/pubspec.lock
@@ -568,10 +568,10 @@ packages:
dependency: "direct main"
description:
name: flutter_rust_bridge
- sha256: "37ef40bc6f863652e865f0b2563ea07f0d3c58d8efad803cc01933a4b2ee067e"
+ sha256: e87d6b9ee934dcd24a128ccb2bd91905d2d5fe5c06245d6a8f5477d4907a437a
url: "https://pub.dev"
source: hosted
- version: "2.11.1"
+ version: "2.12.0"
flutter_test:
dependency: transitive
description: flutter
@@ -1404,10 +1404,10 @@ packages:
dependency: "direct main"
description:
name: rhttp
- sha256: e8f0a8756a931598b7d9c4107a4afe93c2b81cbf8c45e532ba9dc52e12bbaa35
+ sha256: "954d5a9aa5a4f1e2a8612e8cb9ecbe4fc0826fcbf0406f40115573e2e92b7dde"
url: "https://pub.dev"
source: hosted
- version: "0.13.0"
+ version: "0.18.0"
routerino:
dependency: "direct main"
description:
diff --git a/app/pubspec.yaml b/app/pubspec.yaml
index 420ffe96..4d13dc31 100644
--- a/app/pubspec.yaml
+++ b/app/pubspec.yaml
@@ -28,7 +28,7 @@ dependencies:
flutter_localizations:
sdk: flutter
flutter_markdown: 0.7.7+1
- flutter_rust_bridge: 2.11.1
+ flutter_rust_bridge: 2.12.0
freezed_annotation: 3.1.0
gal: 2.3.2
glob: 2.1.3
@@ -56,7 +56,7 @@ dependencies:
pretty_qr_code: 3.6.0
refena_flutter: 3.2.1
refena_inspector_client: 2.1.1
- rhttp: 0.13.0
+ rhttp: 0.18.0
routerino: 0.8.1
rust_lib_localsend_app:
path: rust_builder
diff --git a/app/rust/Cargo.lock b/app/rust/Cargo.lock
index 4b2b1d02..677918dd 100644
--- a/app/rust/Cargo.lock
+++ b/app/rust/Cargo.lock
@@ -4,24 +4,18 @@ version = 4
[[package]]
name = "addr2line"
-version = "0.21.0"
+version = "0.25.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
+checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b"
dependencies = [
"gimli",
]
-[[package]]
-name = "adler"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
-
[[package]]
name = "adler2"
-version = "2.0.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
[[package]]
name = "aead"
@@ -60,18 +54,18 @@ dependencies = [
[[package]]
name = "aho-corasick"
-version = "1.1.2"
+version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
+checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
dependencies = [
"memchr",
]
[[package]]
name = "allo-isolate"
-version = "0.1.26"
+version = "0.1.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f67642eb6773fb42a95dd3b348c305ee18dee6642274c6b412d67e985e3befc"
+checksum = "449e356a4864c017286dbbec0e12767ea07efba29e3b7d984194c2a7ff3c4550"
dependencies = [
"anyhow",
"atomic",
@@ -104,15 +98,18 @@ dependencies = [
[[package]]
name = "anyhow"
-version = "1.0.100"
+version = "1.0.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
+checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
[[package]]
name = "arc-swap"
-version = "1.7.1"
+version = "1.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
+checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b"
+dependencies = [
+ "rustversion",
+]
[[package]]
name = "asn1-rs"
@@ -132,9 +129,9 @@ dependencies = [
[[package]]
name = "asn1-rs"
-version = "0.7.0"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "607495ec7113b178fbba7a6166a27f99e774359ef4823adbefd756b5b81d7970"
+checksum = "b7f43a50ac4fdca5df8e885c21b835997f0a1cdee65494a6847694a98652d9d8"
dependencies = [
"asn1-rs-derive 0.6.0",
"asn1-rs-impl",
@@ -183,9 +180,9 @@ dependencies = [
[[package]]
name = "async-trait"
-version = "0.1.85"
+version = "0.1.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f934833b4b7233644e5848f235df3f57ed8c80f1528a26c3dfa13d2147fa056"
+checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
dependencies = [
"proc-macro2",
"quote",
@@ -206,23 +203,23 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
[[package]]
name = "autocfg"
-version = "1.1.0"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "backtrace"
-version = "0.3.69"
+version = "0.3.76"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
+checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6"
dependencies = [
"addr2line",
- "cc",
"cfg-if",
"libc",
- "miniz_oxide 0.7.1",
+ "miniz_oxide",
"object",
"rustc-demangle",
+ "windows-link",
]
[[package]]
@@ -239,9 +236,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "base64ct"
-version = "1.6.0"
+version = "1.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
+checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06"
[[package]]
name = "bincode"
@@ -260,9 +257,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitflags"
-version = "2.11.0"
+version = "2.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af"
+checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
[[package]]
name = "block-buffer"
@@ -290,15 +287,15 @@ checksum = "832133bbabbbaa9fbdba793456a2827627a7d2b8fb96032fa1e7666d7895832b"
[[package]]
name = "bumpalo"
-version = "3.14.0"
+version = "3.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec"
+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
[[package]]
name = "bytemuck"
-version = "1.14.0"
+version = "1.25.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6"
+checksum = "d6aedf8ae72766347502cf3cb4f41cf5e9cc37d28bee90f1fdaaae15f9cf9424"
[[package]]
name = "byteorder"
@@ -308,9 +305,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
-version = "1.11.1"
+version = "1.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
+checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
[[package]]
name = "cbc"
@@ -323,10 +320,11 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.32"
+version = "1.2.67"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2352e5597e9c544d5e6d9c95190d5d27738ade584fa8db0a16e130e5c2b5296e"
+checksum = "e17dd265a7d0f31ef544e1b20e03add05d3b45b491b633b10d67145d2acc1a38"
dependencies = [
+ "find-msvc-tools",
"shlex",
]
@@ -350,9 +348,9 @@ checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
[[package]]
name = "cfg-if"
-version = "1.0.0"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
[[package]]
name = "chacha20"
@@ -443,33 +441,33 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "cpufeatures"
-version = "0.2.16"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3"
+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
dependencies = [
"libc",
]
[[package]]
name = "crc"
-version = "3.2.1"
+version = "3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636"
+checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d"
dependencies = [
"crc-catalog",
]
[[package]]
name = "crc-catalog"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
+checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853"
[[package]]
name = "crc32fast"
-version = "1.4.2"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
+checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
dependencies = [
"cfg-if",
]
@@ -488,9 +486,9 @@ dependencies = [
[[package]]
name = "crypto-common"
-version = "0.1.6"
+version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
dependencies = [
"generic-array",
"rand_core 0.6.4",
@@ -557,9 +555,9 @@ dependencies = [
[[package]]
name = "data-encoding"
-version = "2.6.0"
+version = "2.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"
+checksum = "a4ae5f15dda3c708c0ade84bfee31ccab44a3da4f88015ed22f63732abe300c8"
[[package]]
name = "delegate-attr"
@@ -574,9 +572,9 @@ dependencies = [
[[package]]
name = "der"
-version = "0.7.9"
+version = "0.7.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0"
+checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
dependencies = [
"const-oid",
"pem-rfc7468",
@@ -603,7 +601,7 @@ version = "10.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6"
dependencies = [
- "asn1-rs 0.7.0",
+ "asn1-rs 0.7.2",
"displaydoc",
"nom",
"num-bigint",
@@ -613,12 +611,9 @@ dependencies = [
[[package]]
name = "deranged"
-version = "0.3.11"
+version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
-dependencies = [
- "powerfmt",
-]
+checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
[[package]]
name = "digest"
@@ -634,9 +629,9 @@ dependencies = [
[[package]]
name = "displaydoc"
-version = "0.2.5"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
+checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
dependencies = [
"proc-macro2",
"quote",
@@ -663,7 +658,7 @@ dependencies = [
"p256",
"p384",
"portable-atomic",
- "rand 0.9.2",
+ "rand 0.9.5",
"rand_core 0.6.4",
"rcgen",
"ring",
@@ -750,9 +745,9 @@ dependencies = [
[[package]]
name = "env_filter"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0"
+checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2"
dependencies = [
"log",
"regex",
@@ -760,15 +755,25 @@ dependencies = [
[[package]]
name = "equivalent"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+
+[[package]]
+name = "errno"
+version = "0.3.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
[[package]]
name = "ff"
-version = "0.13.0"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449"
+checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
dependencies = [
"rand_core 0.6.4",
"subtle",
@@ -780,21 +785,27 @@ version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+
[[package]]
name = "flate2"
-version = "1.1.4"
+version = "1.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc5a4e564e38c699f2880d3fda590bedc2e69f3f84cd48b457bd892ce61d0aa9"
+checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
dependencies = [
"crc32fast",
- "miniz_oxide 0.8.9",
+ "miniz_oxide",
]
[[package]]
name = "flutter_rust_bridge"
-version = "2.11.1"
+version = "2.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dde126295b2acc5f0a712e265e91b6fdc0ed38767496483e592ae7134db83725"
+checksum = "a0884853aae8a6517b5b58cf36f55da487f2fe110e1686938eb29b6640aae4a5"
dependencies = [
"allo-isolate",
"android_logger",
@@ -822,9 +833,9 @@ dependencies = [
[[package]]
name = "flutter_rust_bridge_macros"
-version = "2.11.1"
+version = "2.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5f0420326b13675321b194928bb7830043b68cf8b810e1c651285c747abb080"
+checksum = "6b5ce32f35f710ced8c5aa557f023f1a624e737b5460cee2b70fcd3a8df09e1b"
dependencies = [
"hex",
"md-5",
@@ -839,12 +850,6 @@ version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
-[[package]]
-name = "foldhash"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
-
[[package]]
name = "foldhash"
version = "0.2.0"
@@ -853,18 +858,18 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
[[package]]
name = "form_urlencoded"
-version = "1.2.1"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
dependencies = [
"percent-encoding",
]
[[package]]
name = "futures"
-version = "0.3.29"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335"
+checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d"
dependencies = [
"futures-channel",
"futures-core",
@@ -893,9 +898,9 @@ checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
[[package]]
name = "futures-executor"
-version = "0.3.29"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc"
+checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
dependencies = [
"futures-core",
"futures-task",
@@ -961,38 +966,36 @@ dependencies = [
[[package]]
name = "getrandom"
-version = "0.2.15"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
+checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
dependencies = [
"cfg-if",
"libc",
- "wasi 0.11.0+wasi-snapshot-preview1",
+ "wasi",
]
[[package]]
name = "getrandom"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
dependencies = [
"cfg-if",
"libc",
- "r-efi",
- "wasi 0.14.2+wasi-0.2.4",
+ "r-efi 5.3.0",
+ "wasip2",
]
[[package]]
name = "getrandom"
-version = "0.4.1"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec"
+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
dependencies = [
"cfg-if",
"libc",
- "r-efi",
- "wasip2",
- "wasip3",
+ "r-efi 6.0.0",
]
[[package]]
@@ -1007,9 +1010,9 @@ dependencies = [
[[package]]
name = "gimli"
-version = "0.28.1"
+version = "0.32.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
+checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7"
[[package]]
name = "group"
@@ -1024,9 +1027,9 @@ dependencies = [
[[package]]
name = "h2"
-version = "0.4.7"
+version = "0.4.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e"
+checksum = "6cb093c84e8bd9b188d4c4a8cb6579fc016968d14c99882163cd3ff402a4f155"
dependencies = [
"atomic-waker",
"bytes",
@@ -1047,15 +1050,6 @@ version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
-[[package]]
-name = "hashbrown"
-version = "0.15.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
-dependencies = [
- "foldhash 0.1.5",
-]
-
[[package]]
name = "hashbrown"
version = "0.16.1"
@@ -1064,20 +1058,20 @@ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
dependencies = [
"allocator-api2",
"equivalent",
- "foldhash 0.2.0",
+ "foldhash",
]
[[package]]
-name = "heck"
-version = "0.5.0"
+name = "hashbrown"
+version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
[[package]]
name = "hermit-abi"
-version = "0.3.3"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7"
+checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
[[package]]
name = "hex"
@@ -1105,20 +1099,19 @@ dependencies = [
[[package]]
name = "http"
-version = "1.2.0"
+version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
+checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
dependencies = [
"bytes",
- "fnv",
"itoa",
]
[[package]]
name = "http-body"
-version = "1.0.1"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
+checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
dependencies = [
"bytes",
"http",
@@ -1126,9 +1119,9 @@ dependencies = [
[[package]]
name = "http-body-util"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
+checksum = "e9f41fd6a08e4d4ec69df65976da761afd5ad5e58a9d4acb46bd1c953a9e3ff2"
dependencies = [
"bytes",
"futures-core",
@@ -1139,9 +1132,9 @@ dependencies = [
[[package]]
name = "httparse"
-version = "1.9.5"
+version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
name = "httpdate"
@@ -1151,9 +1144,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
[[package]]
name = "hyper"
-version = "1.8.1"
+version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11"
+checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498"
dependencies = [
"atomic-waker",
"bytes",
@@ -1166,7 +1159,6 @@ dependencies = [
"httpdate",
"itoa",
"pin-project-lite",
- "pin-utils",
"smallvec",
"tokio",
"want",
@@ -1174,16 +1166,14 @@ dependencies = [
[[package]]
name = "hyper-rustls"
-version = "0.27.5"
+version = "0.27.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2"
+checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f"
dependencies = [
- "futures-util",
"http",
"hyper",
"hyper-util",
"rustls",
- "rustls-pki-types",
"tokio",
"tokio-rustls",
"tower-service",
@@ -1206,7 +1196,7 @@ dependencies = [
"libc",
"percent-encoding",
"pin-project-lite",
- "socket2 0.6.0",
+ "socket2 0.6.5",
"system-configuration",
"tokio",
"tower-service",
@@ -1216,21 +1206,23 @@ dependencies = [
[[package]]
name = "icu_collections"
-version = "1.5.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
dependencies = [
"displaydoc",
+ "potential_utf",
+ "utf8_iter",
"yoke",
"zerofrom",
"zerovec",
]
[[package]]
-name = "icu_locid"
-version = "1.5.0"
+name = "icu_locale_core"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
dependencies = [
"displaydoc",
"litemap",
@@ -1239,110 +1231,66 @@ dependencies = [
"zerovec",
]
-[[package]]
-name = "icu_locid_transform"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
-dependencies = [
- "displaydoc",
- "icu_locid",
- "icu_locid_transform_data",
- "icu_provider",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locid_transform_data"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
-
[[package]]
name = "icu_normalizer"
-version = "1.5.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
dependencies = [
- "displaydoc",
"icu_collections",
"icu_normalizer_data",
"icu_properties",
"icu_provider",
"smallvec",
- "utf16_iter",
- "utf8_iter",
- "write16",
"zerovec",
]
[[package]]
name = "icu_normalizer_data"
-version = "1.5.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
[[package]]
name = "icu_properties"
-version = "1.5.1"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
dependencies = [
- "displaydoc",
"icu_collections",
- "icu_locid_transform",
+ "icu_locale_core",
"icu_properties_data",
"icu_provider",
- "tinystr",
+ "zerotrie",
"zerovec",
]
[[package]]
name = "icu_properties_data"
-version = "1.5.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
[[package]]
name = "icu_provider"
-version = "1.5.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
dependencies = [
"displaydoc",
- "icu_locid",
- "icu_provider_macros",
- "stable_deref_trait",
- "tinystr",
+ "icu_locale_core",
"writeable",
"yoke",
"zerofrom",
+ "zerotrie",
"zerovec",
]
-[[package]]
-name = "icu_provider_macros"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "id-arena"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
-
[[package]]
name = "idna"
-version = "1.0.3"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
dependencies = [
"idna_adapter",
"smallvec",
@@ -1351,9 +1299,9 @@ dependencies = [
[[package]]
name = "idna_adapter"
-version = "1.2.0"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
+checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
dependencies = [
"icu_normalizer",
"icu_properties",
@@ -1361,20 +1309,19 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.7.1"
+version = "2.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652"
+checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
dependencies = [
"equivalent",
- "hashbrown 0.15.2",
- "serde",
+ "hashbrown 0.17.1",
]
[[package]]
name = "inout"
-version = "0.1.3"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
+checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
dependencies = [
"block-padding",
"generic-array",
@@ -1391,7 +1338,7 @@ dependencies = [
"futures",
"log",
"portable-atomic",
- "rand 0.9.2",
+ "rand 0.9.5",
"rtcp",
"rtp",
"thiserror 1.0.69",
@@ -1403,25 +1350,15 @@ dependencies = [
[[package]]
name = "ipnet"
-version = "2.10.1"
+version = "2.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
-
-[[package]]
-name = "iri-string"
-version = "0.7.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2"
-dependencies = [
- "memchr",
- "serde",
-]
+checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
[[package]]
name = "itoa"
-version = "1.0.14"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
[[package]]
name = "jni"
@@ -1432,7 +1369,7 @@ dependencies = [
"cesu8",
"cfg-if",
"combine",
- "jni-sys",
+ "jni-sys 0.3.1",
"log",
"thiserror 1.0.69",
"walkdir",
@@ -1441,52 +1378,69 @@ dependencies = [
[[package]]
name = "jni-sys"
-version = "0.3.0"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
+checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258"
+dependencies = [
+ "jni-sys 0.4.1",
+]
+
+[[package]]
+name = "jni-sys"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
+dependencies = [
+ "jni-sys-macros",
+]
+
+[[package]]
+name = "jni-sys-macros"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
+dependencies = [
+ "quote",
+ "syn",
+]
[[package]]
name = "js-sys"
-version = "0.3.77"
+version = "0.3.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
+checksum = "53b44bfcdb3f8d5837a46dae1ca9660a837176eee74a28b229bc626816589102"
dependencies = [
- "once_cell",
+ "cfg-if",
+ "futures-util",
"wasm-bindgen",
]
[[package]]
name = "lazy_static"
-version = "1.4.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
dependencies = [
"spin",
]
-[[package]]
-name = "leb128fmt"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
-
[[package]]
name = "libc"
-version = "0.2.175"
+version = "0.2.186"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
+checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
[[package]]
name = "libm"
-version = "0.2.11"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
+checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
[[package]]
name = "litemap"
-version = "0.7.4"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
+checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
[[package]]
name = "localsend"
@@ -1497,24 +1451,28 @@ dependencies = [
"bytes",
"ed25519-dalek",
"flate2",
+ "form_urlencoded",
"futures-util",
"http-body-util",
"hyper",
"hyper-util",
"lru",
"pem",
- "rand 0.9.2",
+ "percent-encoding",
+ "rand 0.9.5",
"reqwest",
"rsa",
"rustls",
"serde",
"serde_json",
"sha2",
+ "socket2 0.6.5",
"thiserror 2.0.18",
"tokio",
"tokio-rustls",
"tokio-stream",
"tokio-tungstenite",
+ "tokio-util",
"tracing",
"tracing-subscriber",
"tungstenite",
@@ -1525,25 +1483,24 @@ dependencies = [
[[package]]
name = "lock_api"
-version = "0.4.12"
+version = "0.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
dependencies = [
- "autocfg",
"scopeguard",
]
[[package]]
name = "log"
-version = "0.4.20"
+version = "0.4.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
+checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
[[package]]
name = "lru"
-version = "0.16.3"
+version = "0.16.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1dc47f592c06f33f8e3aea9591776ec7c9f9e4124778ff8a3c3b87159f7e593"
+checksum = "7f66e8d5d03f609abc3a39e6f08e4164ebf1447a732906d39eb9b99b7919ef39"
dependencies = [
"hashbrown 0.16.1",
]
@@ -1560,9 +1517,9 @@ dependencies = [
[[package]]
name = "memchr"
-version = "2.6.4"
+version = "2.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
name = "memoffset"
@@ -1585,15 +1542,6 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
-[[package]]
-name = "miniz_oxide"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
-dependencies = [
- "adler",
-]
-
[[package]]
name = "miniz_oxide"
version = "0.8.9"
@@ -1606,13 +1554,13 @@ dependencies = [
[[package]]
name = "mio"
-version = "1.0.3"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
+checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427"
dependencies = [
"libc",
- "wasi 0.11.0+wasi-snapshot-preview1",
- "windows-sys 0.52.0",
+ "wasi",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -1649,9 +1597,9 @@ dependencies = [
[[package]]
name = "num-bigint"
-version = "0.4.6"
+version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
+checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
dependencies = [
"num-integer",
"num-traits",
@@ -1668,16 +1616,16 @@ dependencies = [
"num-integer",
"num-iter",
"num-traits",
- "rand 0.8.5",
+ "rand 0.8.7",
"smallvec",
"zeroize",
]
[[package]]
name = "num-conv"
-version = "0.1.0"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
+checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
[[package]]
name = "num-integer"
@@ -1690,11 +1638,10 @@ dependencies = [
[[package]]
name = "num-iter"
-version = "0.1.45"
+version = "0.1.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
+checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b"
dependencies = [
- "autocfg",
"num-integer",
"num-traits",
]
@@ -1711,9 +1658,9 @@ dependencies = [
[[package]]
name = "num_cpus"
-version = "1.16.0"
+version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b"
dependencies = [
"hermit-abi",
"libc",
@@ -1721,9 +1668,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.32.1"
+version = "0.37.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0"
+checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe"
dependencies = [
"memchr",
]
@@ -1743,14 +1690,14 @@ version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7"
dependencies = [
- "asn1-rs 0.7.0",
+ "asn1-rs 0.7.2",
]
[[package]]
name = "once_cell"
-version = "1.18.0"
+version = "1.21.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
[[package]]
name = "opaque-debug"
@@ -1789,9 +1736,9 @@ dependencies = [
[[package]]
name = "p384"
-version = "0.13.0"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209"
+checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6"
dependencies = [
"ecdsa",
"elliptic-curve",
@@ -1801,9 +1748,9 @@ dependencies = [
[[package]]
name = "parking_lot"
-version = "0.12.3"
+version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
dependencies = [
"lock_api",
"parking_lot_core",
@@ -1811,15 +1758,15 @@ dependencies = [
[[package]]
name = "parking_lot_core"
-version = "0.9.10"
+version = "0.9.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
dependencies = [
"cfg-if",
"libc",
"redox_syscall",
"smallvec",
- "windows-targets 0.52.6",
+ "windows-link",
]
[[package]]
@@ -1843,15 +1790,15 @@ dependencies = [
[[package]]
name = "percent-encoding"
-version = "2.3.1"
+version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
[[package]]
name = "pin-project-lite"
-version = "0.2.13"
+version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
[[package]]
name = "pin-utils"
@@ -1905,9 +1852,18 @@ dependencies = [
[[package]]
name = "portable-atomic"
-version = "1.10.0"
+version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6"
+checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
+
+[[package]]
+name = "potential_utf"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
+dependencies = [
+ "zerovec",
+]
[[package]]
name = "powerfmt"
@@ -1917,23 +1873,13 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
[[package]]
name = "ppv-lite86"
-version = "0.2.20"
+version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
dependencies = [
"zerocopy",
]
-[[package]]
-name = "prettyplease"
-version = "0.2.37"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
-dependencies = [
- "proc-macro2",
- "syn",
-]
-
[[package]]
name = "primeorder"
version = "0.13.6"
@@ -1945,18 +1891,18 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.93"
+version = "1.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99"
+checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quote"
-version = "1.0.38"
+version = "1.0.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
+checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
dependencies = [
"proc-macro2",
]
@@ -1967,11 +1913,17 @@ version = "5.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+[[package]]
+name = "r-efi"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
+
[[package]]
name = "rand"
-version = "0.8.5"
+version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a"
dependencies = [
"rand_chacha 0.3.1",
"rand_core 0.6.4",
@@ -1979,12 +1931,12 @@ dependencies = [
[[package]]
name = "rand"
-version = "0.9.2"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
+checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41"
dependencies = [
"rand_chacha 0.9.0",
- "rand_core 0.9.3",
+ "rand_core 0.9.5",
]
[[package]]
@@ -2004,7 +1956,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
dependencies = [
"ppv-lite86",
- "rand_core 0.9.3",
+ "rand_core 0.9.5",
]
[[package]]
@@ -2013,16 +1965,16 @@ version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
- "getrandom 0.2.15",
+ "getrandom 0.2.17",
]
[[package]]
name = "rand_core"
-version = "0.9.3"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
+checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
dependencies = [
- "getrandom 0.3.3",
+ "getrandom 0.3.4",
]
[[package]]
@@ -2041,18 +1993,18 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.8"
+version = "0.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
dependencies = [
- "bitflags 2.11.0",
+ "bitflags 2.13.0",
]
[[package]]
name = "regex"
-version = "1.10.2"
+version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343"
+checksum = "2a0e75113e14dc5acb068cd0786884f214f1312650a3d36d269f5c4f3cdee8a2"
dependencies = [
"aho-corasick",
"memchr",
@@ -2062,9 +2014,9 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.4.3"
+version = "0.4.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f"
+checksum = "1f388202e4b80542a0921078cc23b6333bcf1409c1e3f86404cae4766a6131db"
dependencies = [
"aho-corasick",
"memchr",
@@ -2073,9 +2025,9 @@ dependencies = [
[[package]]
name = "regex-syntax"
-version = "0.8.2"
+version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
+checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
[[package]]
name = "reqwest"
@@ -2117,7 +2069,7 @@ dependencies = [
"wasm-bindgen-futures",
"wasm-streams",
"web-sys",
- "webpki-roots 1.0.2",
+ "webpki-roots 1.0.8",
]
[[package]]
@@ -2138,7 +2090,7 @@ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
dependencies = [
"cc",
"cfg-if",
- "getrandom 0.2.15",
+ "getrandom 0.2.17",
"libc",
"untrusted",
"windows-sys 0.52.0",
@@ -2184,7 +2136,7 @@ dependencies = [
"bytes",
"memchr",
"portable-atomic",
- "rand 0.9.2",
+ "rand 0.9.5",
"serde",
"thiserror 1.0.69",
"webrtc-util",
@@ -2199,6 +2151,7 @@ dependencies = [
"flutter_rust_bridge",
"localsend",
"tokio",
+ "tokio-util",
"tracing",
"tracing-subscriber",
"uuid",
@@ -2206,9 +2159,9 @@ dependencies = [
[[package]]
name = "rustc-demangle"
-version = "0.1.23"
+version = "0.1.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
+checksum = "b74b56ffa8bb2830709a538c2cbcae9aa062db0d2a42563bfb09bdaae44020eb"
[[package]]
name = "rustc_version"
@@ -2230,9 +2183,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.32"
+version = "0.23.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd3c25631629d034ce7cd9940adc9d45762d46de2b0f57193c4443b92c6d4d40"
+checksum = "3c54fcab019b409d04215d3a17cb438fd7fbf192ee61461f20f4fe18704bc138"
dependencies = [
"once_cell",
"ring",
@@ -2244,9 +2197,9 @@ dependencies = [
[[package]]
name = "rustls-native-certs"
-version = "0.8.3"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63"
+checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d"
dependencies = [
"openssl-probe",
"rustls-pki-types",
@@ -2256,9 +2209,9 @@ dependencies = [
[[package]]
name = "rustls-pki-types"
-version = "1.12.0"
+version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
+checksum = "764899a24af3980067ee14bc143654f297b22eaebfe3c7b6b211920a5a59b046"
dependencies = [
"zeroize",
]
@@ -2292,9 +2245,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
[[package]]
name = "rustls-webpki"
-version = "0.103.7"
+version = "0.103.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e10b3f4191e8a80e6b43eebabfac91e5dcecebb27a71f04e820c47ec41d314bf"
+checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
dependencies = [
"ring",
"rustls-pki-types",
@@ -2303,9 +2256,9 @@ dependencies = [
[[package]]
name = "rustversion"
-version = "1.0.22"
+version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
+checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
[[package]]
name = "same-file"
@@ -2318,9 +2271,9 @@ dependencies = [
[[package]]
name = "schannel"
-version = "0.1.28"
+version = "0.1.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1"
+checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939"
dependencies = [
"windows-sys 0.61.2",
]
@@ -2337,7 +2290,7 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32c374dceda16965d541c8800ce9cc4e1c14acfd661ddf7952feeedc3411e5c6"
dependencies = [
- "rand 0.9.2",
+ "rand 0.9.5",
"substring",
"thiserror 1.0.69",
"url",
@@ -2363,7 +2316,7 @@ version = "3.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
dependencies = [
- "bitflags 2.11.0",
+ "bitflags 2.13.0",
"core-foundation 0.10.1",
"core-foundation-sys",
"libc",
@@ -2382,9 +2335,9 @@ dependencies = [
[[package]]
name = "semver"
-version = "1.0.24"
+version = "1.0.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba"
+checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
[[package]]
name = "serde"
@@ -2418,9 +2371,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.149"
+version = "1.0.150"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
+checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
dependencies = [
"itoa",
"memchr",
@@ -2431,9 +2384,9 @@ dependencies = [
[[package]]
name = "sha1"
-version = "0.10.6"
+version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
+checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8"
dependencies = [
"cfg-if",
"cpufeatures",
@@ -2462,16 +2415,17 @@ dependencies = [
[[package]]
name = "shlex"
-version = "1.3.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
[[package]]
name = "signal-hook-registry"
-version = "1.4.2"
+version = "1.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
dependencies = [
+ "errno",
"libc",
]
@@ -2487,24 +2441,21 @@ dependencies = [
[[package]]
name = "simd-adler32"
-version = "0.3.7"
+version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
+checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
[[package]]
name = "slab"
-version = "0.4.9"
+version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
-dependencies = [
- "autocfg",
-]
+checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
[[package]]
name = "smallvec"
-version = "1.13.2"
+version = "1.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
+checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
[[package]]
name = "smol_str"
@@ -2517,9 +2468,9 @@ dependencies = [
[[package]]
name = "socket2"
-version = "0.5.8"
+version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8"
+checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
dependencies = [
"libc",
"windows-sys 0.52.0",
@@ -2527,19 +2478,19 @@ dependencies = [
[[package]]
name = "socket2"
-version = "0.6.0"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
+checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
dependencies = [
"libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
name = "spin"
-version = "0.5.2"
+version = "0.9.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
+checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e"
[[package]]
name = "spki"
@@ -2553,9 +2504,9 @@ dependencies = [
[[package]]
name = "stable_deref_trait"
-version = "1.2.0"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
[[package]]
name = "stun"
@@ -2567,7 +2518,7 @@ dependencies = [
"crc",
"lazy_static",
"md-5",
- "rand 0.9.2",
+ "rand 0.9.5",
"ring",
"subtle",
"thiserror 1.0.69",
@@ -2593,9 +2544,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "syn"
-version = "2.0.117"
+version = "2.0.118"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
+checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
dependencies = [
"proc-macro2",
"quote",
@@ -2613,9 +2564,9 @@ dependencies = [
[[package]]
name = "synstructure"
-version = "0.13.1"
+version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
dependencies = [
"proc-macro2",
"quote",
@@ -2628,7 +2579,7 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b"
dependencies = [
- "bitflags 2.11.0",
+ "bitflags 2.13.0",
"core-foundation 0.9.4",
"system-configuration-sys",
]
@@ -2685,12 +2636,11 @@ dependencies = [
[[package]]
name = "thread_local"
-version = "1.1.8"
+version = "1.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
+checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070"
dependencies = [
"cfg-if",
- "once_cell",
]
[[package]]
@@ -2704,30 +2654,29 @@ dependencies = [
[[package]]
name = "time"
-version = "0.3.37"
+version = "0.3.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21"
+checksum = "18dfaaeddcb932337b5e7866ee7d0ce9b76d2fd092997146f187ec09b4558a50"
dependencies = [
"deranged",
- "itoa",
"num-conv",
"powerfmt",
- "serde",
+ "serde_core",
"time-core",
"time-macros",
]
[[package]]
name = "time-core"
-version = "0.1.2"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
+checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
[[package]]
name = "time-macros"
-version = "0.2.19"
+version = "0.2.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de"
+checksum = "c431b87111666e491a90baa837f914fb45cd5dc3c268591b0220ff5057f2085f"
dependencies = [
"num-conv",
"time-core",
@@ -2735,9 +2684,9 @@ dependencies = [
[[package]]
name = "tinystr"
-version = "0.7.6"
+version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
+checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
dependencies = [
"displaydoc",
"zerovec",
@@ -2745,9 +2694,9 @@ dependencies = [
[[package]]
name = "tokio"
-version = "1.49.0"
+version = "1.52.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86"
+checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe"
dependencies = [
"bytes",
"libc",
@@ -2755,16 +2704,16 @@ dependencies = [
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
- "socket2 0.6.0",
+ "socket2 0.6.5",
"tokio-macros",
"windows-sys 0.61.2",
]
[[package]]
name = "tokio-macros"
-version = "2.6.0"
+version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
+checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496"
dependencies = [
"proc-macro2",
"quote",
@@ -2805,14 +2754,14 @@ dependencies = [
"tokio",
"tokio-rustls",
"tungstenite",
- "webpki-roots 0.26.7",
+ "webpki-roots 0.26.11",
]
[[package]]
name = "tokio-util"
-version = "0.7.13"
+version = "0.7.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078"
+checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
dependencies = [
"bytes",
"futures-core",
@@ -2823,9 +2772,9 @@ dependencies = [
[[package]]
name = "tower"
-version = "0.5.2"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
+checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
dependencies = [
"futures-core",
"futures-util",
@@ -2838,20 +2787,20 @@ dependencies = [
[[package]]
name = "tower-http"
-version = "0.6.8"
+version = "0.6.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8"
+checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
dependencies = [
- "bitflags 2.11.0",
+ "bitflags 2.13.0",
"bytes",
"futures-util",
"http",
"http-body",
- "iri-string",
"pin-project-lite",
"tower",
"tower-layer",
"tower-service",
+ "url",
]
[[package]]
@@ -2911,9 +2860,9 @@ dependencies = [
[[package]]
name = "tracing-subscriber"
-version = "0.3.22"
+version = "0.3.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f30143827ddab0d256fd843b7a66d164e9f271cfa0dde49142c5ca0ca291f1e"
+checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319"
dependencies = [
"nu-ansi-term",
"sharded-slab",
@@ -2940,7 +2889,7 @@ dependencies = [
"http",
"httparse",
"log",
- "rand 0.9.2",
+ "rand 0.9.5",
"rustls",
"rustls-pki-types",
"sha1",
@@ -2960,7 +2909,7 @@ dependencies = [
"log",
"md-5",
"portable-atomic",
- "rand 0.9.2",
+ "rand 0.9.5",
"ring",
"stun",
"thiserror 1.0.69",
@@ -2971,9 +2920,9 @@ dependencies = [
[[package]]
name = "typenum"
-version = "1.17.0"
+version = "1.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
[[package]]
name = "unicase"
@@ -2983,15 +2932,9 @@ checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
[[package]]
name = "unicode-ident"
-version = "1.0.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
-
-[[package]]
-name = "unicode-xid"
-version = "0.2.6"
+version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
+checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "universal-hash"
@@ -3011,13 +2954,14 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "url"
-version = "2.5.4"
+version = "2.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
+checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
dependencies = [
"form_urlencoded",
"idna",
"percent-encoding",
+ "serde",
]
[[package]]
@@ -3026,12 +2970,6 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
-[[package]]
-name = "utf16_iter"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
-
[[package]]
name = "utf8_iter"
version = "1.0.4"
@@ -3040,11 +2978,11 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
-version = "1.21.0"
+version = "1.23.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b672338555252d43fd2240c714dc444b8c6fb0a5c5335e65a07bba7742735ddb"
+checksum = "ea5fab0d6c3c01ae70085a09cb03d4c7a1d6314e2b3e075392783396d724ca0a"
dependencies = [
- "getrandom 0.4.1",
+ "getrandom 0.4.3",
"js-sys",
"serde_core",
"wasm-bindgen",
@@ -3052,15 +2990,15 @@ dependencies = [
[[package]]
name = "valuable"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
+checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
[[package]]
name = "version_check"
-version = "0.9.4"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "waitgroup"
@@ -3092,80 +3030,47 @@ dependencies = [
[[package]]
name = "wasi"
-version = "0.11.0+wasi-snapshot-preview1"
+version = "0.11.1+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
-
-[[package]]
-name = "wasi"
-version = "0.14.2+wasi-0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
-dependencies = [
- "wit-bindgen-rt",
-]
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
[[package]]
name = "wasip2"
-version = "1.0.2+wasi-0.2.9"
+version = "1.0.4+wasi-0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
-dependencies = [
- "wit-bindgen",
-]
-
-[[package]]
-name = "wasip3"
-version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
+checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
dependencies = [
"wit-bindgen",
]
[[package]]
name = "wasm-bindgen"
-version = "0.2.100"
+version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
+checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4"
dependencies = [
"cfg-if",
"once_cell",
"rustversion",
"wasm-bindgen-macro",
-]
-
-[[package]]
-name = "wasm-bindgen-backend"
-version = "0.2.100"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
-dependencies = [
- "bumpalo",
- "log",
- "proc-macro2",
- "quote",
- "syn",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.42"
+version = "0.4.76"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0"
+checksum = "c62df1340f32221cb9c54d6a27b030e3dba64361d4a95bed55f9aacb44da291d"
dependencies = [
- "cfg-if",
"js-sys",
"wasm-bindgen",
- "web-sys",
]
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.100"
+version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
+checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -3173,53 +3078,31 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.100"
+version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
+checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e"
dependencies = [
+ "bumpalo",
"proc-macro2",
"quote",
"syn",
- "wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.100"
+version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
+checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24"
dependencies = [
"unicode-ident",
]
-[[package]]
-name = "wasm-encoder"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
-dependencies = [
- "leb128fmt",
- "wasmparser",
-]
-
-[[package]]
-name = "wasm-metadata"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
-dependencies = [
- "anyhow",
- "indexmap",
- "wasm-encoder",
- "wasmparser",
-]
-
[[package]]
name = "wasm-streams"
-version = "0.4.1"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e072d4e72f700fb3443d8fe94a39315df013eef1104903cdb0a2abd322bbecd"
+checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65"
dependencies = [
"futures-util",
"js-sys",
@@ -3228,23 +3111,11 @@ dependencies = [
"web-sys",
]
-[[package]]
-name = "wasmparser"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
-dependencies = [
- "bitflags 2.11.0",
- "hashbrown 0.15.2",
- "indexmap",
- "semver",
-]
-
[[package]]
name = "web-sys"
-version = "0.3.66"
+version = "0.3.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f"
+checksum = "8622dcb61c0bcc9fffa6938bed81210af2da9a7e4a1a834b2e37a59b6dfb6141"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -3252,27 +3123,27 @@ dependencies = [
[[package]]
name = "webpki-root-certs"
-version = "1.0.6"
+version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "804f18a4ac2676ffb4e8b5b5fa9ae38af06df08162314f96a68d2a363e21a8ca"
+checksum = "0d46a5a140e6f7afeccd8eae97eff335163939eac8b929834875168b29b3d267"
dependencies = [
"rustls-pki-types",
]
[[package]]
name = "webpki-roots"
-version = "0.26.7"
+version = "0.26.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e"
+checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
dependencies = [
- "rustls-pki-types",
+ "webpki-roots 1.0.8",
]
[[package]]
name = "webpki-roots"
-version = "1.0.2"
+version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e8983c3ab33d6fb807cfcdad2491c4ea8cbc8ed839181c7dfd9c67c83e261b2"
+checksum = "bf85cb06032201fa7c6f829d7db5a7e5aa45bcc0655327713065f6f0576731bf"
dependencies = [
"rustls-pki-types",
]
@@ -3292,7 +3163,7 @@ dependencies = [
"lazy_static",
"log",
"portable-atomic",
- "rand 0.9.2",
+ "rand 0.9.5",
"rcgen",
"regex",
"ring",
@@ -3345,7 +3216,7 @@ dependencies = [
"crc",
"log",
"portable-atomic",
- "rand 0.9.2",
+ "rand 0.9.5",
"serde",
"serde_json",
"stun",
@@ -3366,7 +3237,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a17279a067e75df72ce923fdeb7f04cd808f6f5aa4910dc6bcb4fbe66b396ace"
dependencies = [
"log",
- "socket2 0.5.8",
+ "socket2 0.5.10",
"thiserror 1.0.69",
"tokio",
"webrtc-util",
@@ -3380,7 +3251,7 @@ checksum = "94a84c910fec0848fd5a0d8a5651e0ddbdedaf25a7d3ae3f0b15f71ac73a1773"
dependencies = [
"byteorder",
"bytes",
- "rand 0.9.2",
+ "rand 0.9.5",
"rtp",
"thiserror 1.0.69",
]
@@ -3397,7 +3268,7 @@ dependencies = [
"crc",
"log",
"portable-atomic",
- "rand 0.9.2",
+ "rand 0.9.5",
"thiserror 1.0.69",
"tokio",
"webrtc-util",
@@ -3440,7 +3311,7 @@ dependencies = [
"log",
"nix",
"portable-atomic",
- "rand 0.9.2",
+ "rand 0.9.5",
"thiserror 1.0.69",
"tokio",
"winapi",
@@ -3477,12 +3348,6 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
-[[package]]
-name = "windows-link"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
-
[[package]]
name = "windows-link"
version = "0.2.1"
@@ -3491,31 +3356,31 @@ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
[[package]]
name = "windows-registry"
-version = "0.5.3"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b8a9ed28765efc97bbc954883f4e6796c33a06546ebafacbabee9696967499e"
+checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720"
dependencies = [
- "windows-link 0.1.3",
+ "windows-link",
"windows-result",
"windows-strings",
]
[[package]]
name = "windows-result"
-version = "0.3.4"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
dependencies = [
- "windows-link 0.1.3",
+ "windows-link",
]
[[package]]
name = "windows-strings"
-version = "0.4.2"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
dependencies = [
- "windows-link 0.1.3",
+ "windows-link",
]
[[package]]
@@ -3536,22 +3401,13 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "windows-sys"
-version = "0.59.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
-dependencies = [
- "windows-targets 0.52.6",
-]
-
[[package]]
name = "windows-sys"
version = "0.61.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
dependencies = [
- "windows-link 0.2.1",
+ "windows-link",
]
[[package]]
@@ -3677,112 +3533,15 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "wit-bindgen"
-version = "0.51.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
-dependencies = [
- "wit-bindgen-rust-macro",
-]
-
-[[package]]
-name = "wit-bindgen-core"
-version = "0.51.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc"
-dependencies = [
- "anyhow",
- "heck",
- "wit-parser",
-]
-
-[[package]]
-name = "wit-bindgen-rt"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
-dependencies = [
- "bitflags 2.11.0",
-]
-
-[[package]]
-name = "wit-bindgen-rust"
-version = "0.51.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
-dependencies = [
- "anyhow",
- "heck",
- "indexmap",
- "prettyplease",
- "syn",
- "wasm-metadata",
- "wit-bindgen-core",
- "wit-component",
-]
-
-[[package]]
-name = "wit-bindgen-rust-macro"
-version = "0.51.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a"
-dependencies = [
- "anyhow",
- "prettyplease",
- "proc-macro2",
- "quote",
- "syn",
- "wit-bindgen-core",
- "wit-bindgen-rust",
-]
-
-[[package]]
-name = "wit-component"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
-dependencies = [
- "anyhow",
- "bitflags 2.11.0",
- "indexmap",
- "log",
- "serde",
- "serde_derive",
- "serde_json",
- "wasm-encoder",
- "wasm-metadata",
- "wasmparser",
- "wit-parser",
-]
-
-[[package]]
-name = "wit-parser"
-version = "0.244.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
-dependencies = [
- "anyhow",
- "id-arena",
- "indexmap",
- "log",
- "semver",
- "serde",
- "serde_derive",
- "serde_json",
- "unicode-xid",
- "wasmparser",
-]
-
-[[package]]
-name = "write16"
-version = "1.0.0"
+version = "0.57.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
+checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
[[package]]
name = "writeable"
-version = "0.5.5"
+version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
[[package]]
name = "x25519-dalek"
@@ -3820,7 +3579,7 @@ version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d43b0f71ce057da06bc0851b23ee24f3f86190b07203dd8f567d0b706a185202"
dependencies = [
- "asn1-rs 0.7.0",
+ "asn1-rs 0.7.2",
"data-encoding",
"der-parser 10.0.0",
"lazy_static",
@@ -3843,11 +3602,10 @@ dependencies = [
[[package]]
name = "yoke"
-version = "0.7.5"
+version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
+checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
dependencies = [
- "serde",
"stable_deref_trait",
"yoke-derive",
"zerofrom",
@@ -3855,9 +3613,9 @@ dependencies = [
[[package]]
name = "yoke-derive"
-version = "0.7.5"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
+checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
dependencies = [
"proc-macro2",
"quote",
@@ -3867,19 +3625,18 @@ dependencies = [
[[package]]
name = "zerocopy"
-version = "0.7.35"
+version = "0.8.54"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+checksum = "b7cbbc0a705a0fd05cc3676525980d2bf5a9bc4adac6d6475209a7887cf59d19"
dependencies = [
- "byteorder",
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
-version = "0.7.35"
+version = "0.8.54"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
+checksum = "e2e817b7b52d0c7358d3246da9d69935ebb18116b2b102b4230dac079b4862f5"
dependencies = [
"proc-macro2",
"quote",
@@ -3888,18 +3645,18 @@ dependencies = [
[[package]]
name = "zerofrom"
-version = "0.1.5"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
+checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
dependencies = [
"zerofrom-derive",
]
[[package]]
name = "zerofrom-derive"
-version = "0.1.5"
+version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
+checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
dependencies = [
"proc-macro2",
"quote",
@@ -3909,29 +3666,40 @@ dependencies = [
[[package]]
name = "zeroize"
-version = "1.8.1"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
+checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e"
dependencies = [
"zeroize_derive",
]
[[package]]
name = "zeroize_derive"
-version = "1.4.2"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
+checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
+[[package]]
+name = "zerotrie"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
+
[[package]]
name = "zerovec"
-version = "0.10.4"
+version = "0.11.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
dependencies = [
"yoke",
"zerofrom",
@@ -3940,9 +3708,9 @@ dependencies = [
[[package]]
name = "zerovec-derive"
-version = "0.10.3"
+version = "0.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
dependencies = [
"proc-macro2",
"quote",
@@ -3951,6 +3719,6 @@ dependencies = [
[[package]]
name = "zmij"
-version = "1.0.21"
+version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
+checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
diff --git a/app/rust/Cargo.toml b/app/rust/Cargo.toml
index acbc39b5..bcca54ea 100644
--- a/app/rust/Cargo.toml
+++ b/app/rust/Cargo.toml
@@ -9,9 +9,10 @@ crate-type = ["cdylib", "staticlib"]
[dependencies]
anyhow = "1.0"
bytes = "1.9"
-flutter_rust_bridge = { version = "=2.11.1", features = ["uuid"] }
+flutter_rust_bridge = { version = "=2.12.0", features = ["uuid"] }
localsend = { path = "../../packages/core", features = ["full"] }
tokio = { version = "1.49", features = ["full"] }
+tokio-util = "0.7.16"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22" }
uuid = { version = "1.11.1", features = ["v4"] }
diff --git a/app/rust/src/api/http.rs b/app/rust/src/api/http.rs
index 3605f000..2fe93db8 100644
--- a/app/rust/src/api/http.rs
+++ b/app/rust/src/api/http.rs
@@ -80,7 +80,8 @@ impl RsHttpClient {
session_id,
file_id,
token,
- binary.receiver,
+ localsend::model::transfer::FileContent::Stream(binary.receiver),
+ tokio_util::sync::CancellationToken::new(),
)
.await
.map_err(RsHttpClientError::from)?;
@@ -126,6 +127,7 @@ impl From<ClientError> for RsHttpClientError {
ClientError::Json(e) => RsHttpClientError::Json(e.to_string()),
ClientError::Io(e) => RsHttpClientError::Io(e.to_string()),
ClientError::Other(e) => RsHttpClientError::Other(e.to_string()),
+ ClientError::Cancelled => RsHttpClientError::Other("Upload cancelled".to_string()),
}
}
}
diff --git a/app/rust/src/api/stream.rs b/app/rust/src/api/stream.rs
index ba7ce7e0..42a15f78 100644
--- a/app/rust/src/api/stream.rs
+++ b/app/rust/src/api/stream.rs
@@ -1,11 +1,12 @@
+use bytes::Bytes;
use tokio::sync::mpsc;
pub struct Dart2RustStreamSink {
- sender: mpsc::Sender<Vec<u8>>,
+ sender: mpsc::Sender<Bytes>,
}
pub struct Dart2RustStreamReceiver {
- pub(crate) receiver: mpsc::Receiver<Vec<u8>>,
+ pub(crate) receiver: mpsc::Receiver<Bytes>,
}
pub fn create_stream() -> (Dart2RustStreamSink, Dart2RustStreamReceiver) {
@@ -21,7 +22,7 @@ pub fn create_stream() -> (Dart2RustStreamSink, Dart2RustStreamReceiver) {
impl Dart2RustStreamSink {
pub async fn add(&mut self, data: Vec<u8>) -> Result<(), String> {
self.sender
- .send(data)
+ .send(Bytes::from(data))
.await
.map_err(|_| "Failed to send data".to_string())
}
diff --git a/app/rust/src/frb_generated.rs b/app/rust/src/frb_generated.rs
index 72c8814b..eb44e18a 100644
--- a/app/rust/src/frb_generated.rs
+++ b/app/rust/src/frb_generated.rs
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
-// @generated by `flutter_rust_bridge`@ 2.11.1.
+// @generated by `flutter_rust_bridge`@ 2.12.0.
#![allow(
non_camel_case_types,
@@ -20,6 +20,7 @@
clippy::deref_addrof,
clippy::explicit_auto_deref,
clippy::borrow_deref_ref,
+ clippy::uninlined_format_args,
clippy::needless_borrow
)]
@@ -39,7 +40,7 @@ flutter_rust_bridge::frb_generated_boilerplate!(
default_rust_opaque = RustOpaqueMoi,
default_rust_auto_opaque = RustAutoOpaqueMoi,
);
-pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.11.1";
+pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.12.0";
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -137920352;
// Section: executor
@@ -2345,7 +2346,7 @@ impl SseDecode for Vec<String> {
// Codec=Sse (Serialization based), see doc to use other codecs
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
let mut len_ = <i32>::sse_decode(deserializer);
- let mut ans_ = vec![];
+ let mut ans_ = Vec::with_capacity(len_ as usize);
for idx_ in 0..len_ {
ans_.push(<String>::sse_decode(deserializer));
}
@@ -2357,7 +2358,7 @@ impl SseDecode for Vec<crate::api::webrtc::ClientInfo> {
// Codec=Sse (Serialization based), see doc to use other codecs
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
let mut len_ = <i32>::sse_decode(deserializer);
- let mut ans_ = vec![];
+ let mut ans_ = Vec::with_capacity(len_ as usize);
for idx_ in 0..len_ {
ans_.push(<crate::api::webrtc::ClientInfo>::sse_decode(deserializer));
}
@@ -2369,7 +2370,7 @@ impl SseDecode for Vec<crate::api::model::FileDto> {
// Codec=Sse (Serialization based), see doc to use other codecs
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
let mut len_ = <i32>::sse_decode(deserializer);
- let mut ans_ = vec![];
+ let mut ans_ = Vec::with_capacity(len_ as usize);
for idx_ in 0..len_ {
ans_.push(<crate::api::model::FileDto>::sse_decode(deserializer));
}
@@ -2381,7 +2382,7 @@ impl SseDecode for Vec<u8> {
// Codec=Sse (Serialization based), see doc to use other codecs
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
let mut len_ = <i32>::sse_decode(deserializer);
- let mut ans_ = vec![];
+ let mut ans_ = Vec::with_capacity(len_ as usize);
for idx_ in 0..len_ {
ans_.push(<u8>::sse_decode(deserializer));
}
@@ -2393,7 +2394,7 @@ impl SseDecode for Vec<(String, crate::api::model::FileDto)> {
// Codec=Sse (Serialization based), see doc to use other codecs
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
let mut len_ = <i32>::sse_decode(deserializer);
- let mut ans_ = vec![];
+ let mut ans_ = Vec::with_capacity(len_ as usize);
for idx_ in 0..len_ {
ans_.push(<(String, crate::api::model::FileDto)>::sse_decode(
deserializer,
@@ -2407,7 +2408,7 @@ impl SseDecode for Vec<(String, String)> {
// Codec=Sse (Serialization based), see doc to use other codecs
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
let mut len_ = <i32>::sse_decode(deserializer);
- let mut ans_ = vec![];
+ let mut ans_ = Vec::with_capacity(len_ as usize);
for idx_ in 0..len_ {
ans_.push(<(String, String)>::sse_decode(deserializer));
}
@@ -4503,7 +4504,7 @@ impl SseEncode for crate::api::webrtc::WsServerSdpMessage {
#[cfg(not(target_family = "wasm"))]
mod io {
// This file is automatically generated, so please do not edit it.
- // @generated by `flutter_rust_bridge`@ 2.11.1.
+ // @generated by `flutter_rust_bridge`@ 2.12.0.
// Section: imports
@@ -4640,7 +4641,7 @@ pub use io::*;
#[cfg(target_family = "wasm")]
mod web {
// This file is automatically generated, so please do not edit it.
- // @generated by `flutter_rust_bridge`@ 2.11.1.
+ // @generated by `flutter_rust_bridge`@ 2.12.0.
// Section: imports
diff --git a/app/test/mocks.mocks.dart b/app/test/mocks.mocks.dart
index 2693d3bf..248ed85d 100644
--- a/app/test/mocks.mocks.dart
+++ b/app/test/mocks.mocks.dart
@@ -5,9 +5,9 @@
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i4;
+import 'package:flutter/material.dart' as _i8;
import 'package:localsend_app/common/model/device.dart' as _i12;
import 'package:localsend_app/common/model/stored_security_context.dart' as _i2;
-import 'package:flutter/material.dart' as _i8;
import 'package:localsend_app/gen/strings.g.dart' as _i10;
import 'package:localsend_app/model/persistence/color_mode.dart' as _i9;
import 'package:localsend_app/model/persistence/favorite_device.dart' as _i6;