chore: update flutter_rust_bridge

This commit is contained in:
Moustapha Kodjo Amadou 2025-04-02 13:34:13 +01:00
parent 5a91f75f30
commit cd7d029a09
16 changed files with 795 additions and 694 deletions

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
@ -9,7 +9,7 @@ import 'package:freezed_annotation/freezed_annotation.dart' hide protected;
part 'client.freezed.dart';
// These functions are ignored because they are not marked as `pub`: `create_client`, `new_default`, `new`
// These types are ignored because they are not used by any `pub` functions: `DynamicDnsSettings`, `DynamicResolver`, `StaticResolver`
// These types are ignored because they are neither used by any `pub` functions nor (for structs and enums) marked `#[frb(unignore)]`: `DynamicDnsSettings`, `DynamicResolver`, `StaticResolver`
// These function are ignored because they are on traits that is not defined in current crate (put an empty `#[frb]` on it to unignore): `clone`, `resolve`, `resolve`
// These functions are ignored (category: IgnoreBecauseNotAllowedOwner): `digest_ip`

View file

@ -12,7 +12,8 @@ part of 'client.dart';
T _$identity<T>(T value) => value;
final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
);
/// @nodoc
mixin _$ProxySettings {
@ -20,48 +21,43 @@ mixin _$ProxySettings {
TResult when<TResult extends Object?>({
required TResult Function() noProxy,
required TResult Function(List<CustomProxy> field0) customProxyList,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function()? noProxy,
TResult? Function(List<CustomProxy> field0)? customProxyList,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function()? noProxy,
TResult Function(List<CustomProxy> field0)? customProxyList,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(ProxySettings_NoProxy value) noProxy,
required TResult Function(ProxySettings_CustomProxyList value)
customProxyList,
}) =>
throw _privateConstructorUsedError;
customProxyList,
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(ProxySettings_NoProxy value)? noProxy,
TResult? Function(ProxySettings_CustomProxyList value)? customProxyList,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(ProxySettings_NoProxy value)? noProxy,
TResult Function(ProxySettings_CustomProxyList value)? customProxyList,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $ProxySettingsCopyWith<$Res> {
factory $ProxySettingsCopyWith(
ProxySettings value, $Res Function(ProxySettings) then) =
_$ProxySettingsCopyWithImpl<$Res, ProxySettings>;
ProxySettings value,
$Res Function(ProxySettings) then,
) = _$ProxySettingsCopyWithImpl<$Res, ProxySettings>;
}
/// @nodoc
@ -81,18 +77,19 @@ class _$ProxySettingsCopyWithImpl<$Res, $Val extends ProxySettings>
/// @nodoc
abstract class _$$ProxySettings_NoProxyImplCopyWith<$Res> {
factory _$$ProxySettings_NoProxyImplCopyWith(
_$ProxySettings_NoProxyImpl value,
$Res Function(_$ProxySettings_NoProxyImpl) then) =
__$$ProxySettings_NoProxyImplCopyWithImpl<$Res>;
_$ProxySettings_NoProxyImpl value,
$Res Function(_$ProxySettings_NoProxyImpl) then,
) = __$$ProxySettings_NoProxyImplCopyWithImpl<$Res>;
}
/// @nodoc
class __$$ProxySettings_NoProxyImplCopyWithImpl<$Res>
extends _$ProxySettingsCopyWithImpl<$Res, _$ProxySettings_NoProxyImpl>
implements _$$ProxySettings_NoProxyImplCopyWith<$Res> {
__$$ProxySettings_NoProxyImplCopyWithImpl(_$ProxySettings_NoProxyImpl _value,
$Res Function(_$ProxySettings_NoProxyImpl) _then)
: super(_value, _then);
__$$ProxySettings_NoProxyImplCopyWithImpl(
_$ProxySettings_NoProxyImpl _value,
$Res Function(_$ProxySettings_NoProxyImpl) _then,
) : super(_value, _then);
/// Create a copy of ProxySettings
/// with the given fields replaced by the non-null parameter values.
@ -154,7 +151,7 @@ class _$ProxySettings_NoProxyImpl extends ProxySettings_NoProxy {
TResult map<TResult extends Object?>({
required TResult Function(ProxySettings_NoProxy value) noProxy,
required TResult Function(ProxySettings_CustomProxyList value)
customProxyList,
customProxyList,
}) {
return noProxy(this);
}
@ -190,36 +187,36 @@ abstract class ProxySettings_NoProxy extends ProxySettings {
/// @nodoc
abstract class _$$ProxySettings_CustomProxyListImplCopyWith<$Res> {
factory _$$ProxySettings_CustomProxyListImplCopyWith(
_$ProxySettings_CustomProxyListImpl value,
$Res Function(_$ProxySettings_CustomProxyListImpl) then) =
__$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>;
_$ProxySettings_CustomProxyListImpl value,
$Res Function(_$ProxySettings_CustomProxyListImpl) then,
) = __$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>;
@useResult
$Res call({List<CustomProxy> field0});
}
/// @nodoc
class __$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>
extends _$ProxySettingsCopyWithImpl<$Res,
_$ProxySettings_CustomProxyListImpl>
extends
_$ProxySettingsCopyWithImpl<$Res, _$ProxySettings_CustomProxyListImpl>
implements _$$ProxySettings_CustomProxyListImplCopyWith<$Res> {
__$$ProxySettings_CustomProxyListImplCopyWithImpl(
_$ProxySettings_CustomProxyListImpl _value,
$Res Function(_$ProxySettings_CustomProxyListImpl) _then)
: super(_value, _then);
_$ProxySettings_CustomProxyListImpl _value,
$Res Function(_$ProxySettings_CustomProxyListImpl) _then,
) : super(_value, _then);
/// Create a copy of ProxySettings
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? field0 = null,
}) {
return _then(_$ProxySettings_CustomProxyListImpl(
null == field0
? _value._field0
: field0 // ignore: cast_nullable_to_non_nullable
as List<CustomProxy>,
));
$Res call({Object? field0 = null}) {
return _then(
_$ProxySettings_CustomProxyListImpl(
null == field0
? _value._field0
: field0 // ignore: cast_nullable_to_non_nullable
as List<CustomProxy>,
),
);
}
}
@ -228,8 +225,8 @@ class __$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>
class _$ProxySettings_CustomProxyListImpl
extends ProxySettings_CustomProxyList {
const _$ProxySettings_CustomProxyListImpl(final List<CustomProxy> field0)
: _field0 = field0,
super._();
: _field0 = field0,
super._();
final List<CustomProxy> _field0;
@override
@ -262,9 +259,11 @@ class _$ProxySettings_CustomProxyListImpl
@override
@pragma('vm:prefer-inline')
_$$ProxySettings_CustomProxyListImplCopyWith<
_$ProxySettings_CustomProxyListImpl>
get copyWith => __$$ProxySettings_CustomProxyListImplCopyWithImpl<
_$ProxySettings_CustomProxyListImpl>(this, _$identity);
_$ProxySettings_CustomProxyListImpl
>
get copyWith => __$$ProxySettings_CustomProxyListImplCopyWithImpl<
_$ProxySettings_CustomProxyListImpl
>(this, _$identity);
@override
@optionalTypeArgs
@ -302,7 +301,7 @@ class _$ProxySettings_CustomProxyListImpl
TResult map<TResult extends Object?>({
required TResult Function(ProxySettings_NoProxy value) noProxy,
required TResult Function(ProxySettings_CustomProxyList value)
customProxyList,
customProxyList,
}) {
return customProxyList(this);
}
@ -341,8 +340,9 @@ abstract class ProxySettings_CustomProxyList extends ProxySettings {
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
_$$ProxySettings_CustomProxyListImplCopyWith<
_$ProxySettings_CustomProxyListImpl>
get copyWith => throw _privateConstructorUsedError;
_$ProxySettings_CustomProxyListImpl
>
get copyWith => throw _privateConstructorUsedError;
}
/// @nodoc
@ -351,49 +351,44 @@ mixin _$RedirectSettings {
TResult when<TResult extends Object?>({
required TResult Function() noRedirect,
required TResult Function(int field0) limitedRedirects,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function()? noRedirect,
TResult? Function(int field0)? limitedRedirects,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function()? noRedirect,
TResult Function(int field0)? limitedRedirects,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
required TResult Function(RedirectSettings_LimitedRedirects value)
limitedRedirects,
}) =>
throw _privateConstructorUsedError;
limitedRedirects,
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
TResult? Function(RedirectSettings_LimitedRedirects value)?
limitedRedirects,
}) =>
throw _privateConstructorUsedError;
limitedRedirects,
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(RedirectSettings_NoRedirect value)? noRedirect,
TResult Function(RedirectSettings_LimitedRedirects value)? limitedRedirects,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $RedirectSettingsCopyWith<$Res> {
factory $RedirectSettingsCopyWith(
RedirectSettings value, $Res Function(RedirectSettings) then) =
_$RedirectSettingsCopyWithImpl<$Res, RedirectSettings>;
RedirectSettings value,
$Res Function(RedirectSettings) then,
) = _$RedirectSettingsCopyWithImpl<$Res, RedirectSettings>;
}
/// @nodoc
@ -413,20 +408,20 @@ class _$RedirectSettingsCopyWithImpl<$Res, $Val extends RedirectSettings>
/// @nodoc
abstract class _$$RedirectSettings_NoRedirectImplCopyWith<$Res> {
factory _$$RedirectSettings_NoRedirectImplCopyWith(
_$RedirectSettings_NoRedirectImpl value,
$Res Function(_$RedirectSettings_NoRedirectImpl) then) =
__$$RedirectSettings_NoRedirectImplCopyWithImpl<$Res>;
_$RedirectSettings_NoRedirectImpl value,
$Res Function(_$RedirectSettings_NoRedirectImpl) then,
) = __$$RedirectSettings_NoRedirectImplCopyWithImpl<$Res>;
}
/// @nodoc
class __$$RedirectSettings_NoRedirectImplCopyWithImpl<$Res>
extends _$RedirectSettingsCopyWithImpl<$Res,
_$RedirectSettings_NoRedirectImpl>
extends
_$RedirectSettingsCopyWithImpl<$Res, _$RedirectSettings_NoRedirectImpl>
implements _$$RedirectSettings_NoRedirectImplCopyWith<$Res> {
__$$RedirectSettings_NoRedirectImplCopyWithImpl(
_$RedirectSettings_NoRedirectImpl _value,
$Res Function(_$RedirectSettings_NoRedirectImpl) _then)
: super(_value, _then);
_$RedirectSettings_NoRedirectImpl _value,
$Res Function(_$RedirectSettings_NoRedirectImpl) _then,
) : super(_value, _then);
/// Create a copy of RedirectSettings
/// with the given fields replaced by the non-null parameter values.
@ -488,7 +483,7 @@ class _$RedirectSettings_NoRedirectImpl extends RedirectSettings_NoRedirect {
TResult map<TResult extends Object?>({
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
required TResult Function(RedirectSettings_LimitedRedirects value)
limitedRedirects,
limitedRedirects,
}) {
return noRedirect(this);
}
@ -498,7 +493,7 @@ class _$RedirectSettings_NoRedirectImpl extends RedirectSettings_NoRedirect {
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
TResult? Function(RedirectSettings_LimitedRedirects value)?
limitedRedirects,
limitedRedirects,
}) {
return noRedirect?.call(this);
}
@ -526,36 +521,39 @@ abstract class RedirectSettings_NoRedirect extends RedirectSettings {
/// @nodoc
abstract class _$$RedirectSettings_LimitedRedirectsImplCopyWith<$Res> {
factory _$$RedirectSettings_LimitedRedirectsImplCopyWith(
_$RedirectSettings_LimitedRedirectsImpl value,
$Res Function(_$RedirectSettings_LimitedRedirectsImpl) then) =
__$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<$Res>;
_$RedirectSettings_LimitedRedirectsImpl value,
$Res Function(_$RedirectSettings_LimitedRedirectsImpl) then,
) = __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<$Res>;
@useResult
$Res call({int field0});
}
/// @nodoc
class __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<$Res>
extends _$RedirectSettingsCopyWithImpl<$Res,
_$RedirectSettings_LimitedRedirectsImpl>
extends
_$RedirectSettingsCopyWithImpl<
$Res,
_$RedirectSettings_LimitedRedirectsImpl
>
implements _$$RedirectSettings_LimitedRedirectsImplCopyWith<$Res> {
__$$RedirectSettings_LimitedRedirectsImplCopyWithImpl(
_$RedirectSettings_LimitedRedirectsImpl _value,
$Res Function(_$RedirectSettings_LimitedRedirectsImpl) _then)
: super(_value, _then);
_$RedirectSettings_LimitedRedirectsImpl _value,
$Res Function(_$RedirectSettings_LimitedRedirectsImpl) _then,
) : super(_value, _then);
/// Create a copy of RedirectSettings
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? field0 = null,
}) {
return _then(_$RedirectSettings_LimitedRedirectsImpl(
null == field0
? _value.field0
: field0 // ignore: cast_nullable_to_non_nullable
as int,
));
$Res call({Object? field0 = null}) {
return _then(
_$RedirectSettings_LimitedRedirectsImpl(
null == field0
? _value.field0
: field0 // ignore: cast_nullable_to_non_nullable
as int,
),
);
}
}
@ -590,9 +588,11 @@ class _$RedirectSettings_LimitedRedirectsImpl
@override
@pragma('vm:prefer-inline')
_$$RedirectSettings_LimitedRedirectsImplCopyWith<
_$RedirectSettings_LimitedRedirectsImpl>
get copyWith => __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<
_$RedirectSettings_LimitedRedirectsImpl>(this, _$identity);
_$RedirectSettings_LimitedRedirectsImpl
>
get copyWith => __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<
_$RedirectSettings_LimitedRedirectsImpl
>(this, _$identity);
@override
@optionalTypeArgs
@ -630,7 +630,7 @@ class _$RedirectSettings_LimitedRedirectsImpl
TResult map<TResult extends Object?>({
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
required TResult Function(RedirectSettings_LimitedRedirects value)
limitedRedirects,
limitedRedirects,
}) {
return limitedRedirects(this);
}
@ -640,7 +640,7 @@ class _$RedirectSettings_LimitedRedirectsImpl
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
TResult? Function(RedirectSettings_LimitedRedirects value)?
limitedRedirects,
limitedRedirects,
}) {
return limitedRedirects?.call(this);
}
@ -670,6 +670,7 @@ abstract class RedirectSettings_LimitedRedirects extends RedirectSettings {
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
_$$RedirectSettings_LimitedRedirectsImplCopyWith<
_$RedirectSettings_LimitedRedirectsImpl>
get copyWith => throw _privateConstructorUsedError;
_$RedirectSettings_LimitedRedirectsImpl
>
get copyWith => throw _privateConstructorUsedError;
}

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
@ -12,7 +12,7 @@ import 'package:freezed_annotation/freezed_annotation.dart' hide protected;
part 'http.freezed.dart';
// These functions are ignored because they are not marked as `pub`: `build_cancel_tokens`, `from_version`, `header_to_vec`, `make_http_request_helper`, `make_http_request_receive_stream_inner`, `register_client_internal`, `to_method`
// These types are ignored because they are not used by any `pub` functions: `HttpExpectBody`, `RequestCancelTokens`
// These types are ignored because they are neither used by any `pub` functions nor (for structs and enums) marked `#[frb(unignore)]`: `HttpExpectBody`, `RequestCancelTokens`
// These function are ignored because they are on traits that is not defined in current crate (put an empty `#[frb]` on it to unignore): `clone`, `clone`, `fmt`
Future<RequestClient> registerClient({required ClientSettings settings}) =>

View file

@ -12,7 +12,8 @@ part of 'http.dart';
T _$identity<T>(T value) => value;
final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
);
/// @nodoc
mixin _$HttpHeaders {
@ -21,47 +22,42 @@ mixin _$HttpHeaders {
TResult when<TResult extends Object?>({
required TResult Function(Map<String, String> field0) map,
required TResult Function(List<(String, String)> field0) list,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(Map<String, String> field0)? map,
TResult? Function(List<(String, String)> field0)? list,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(Map<String, String> field0)? map,
TResult Function(List<(String, String)> field0)? list,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(HttpHeaders_Map value) map,
required TResult Function(HttpHeaders_List value) list,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(HttpHeaders_Map value)? map,
TResult? Function(HttpHeaders_List value)? list,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(HttpHeaders_Map value)? map,
TResult Function(HttpHeaders_List value)? list,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $HttpHeadersCopyWith<$Res> {
factory $HttpHeadersCopyWith(
HttpHeaders value, $Res Function(HttpHeaders) then) =
_$HttpHeadersCopyWithImpl<$Res, HttpHeaders>;
HttpHeaders value,
$Res Function(HttpHeaders) then,
) = _$HttpHeadersCopyWithImpl<$Res, HttpHeaders>;
}
/// @nodoc
@ -80,9 +76,10 @@ class _$HttpHeadersCopyWithImpl<$Res, $Val extends HttpHeaders>
/// @nodoc
abstract class _$$HttpHeaders_MapImplCopyWith<$Res> {
factory _$$HttpHeaders_MapImplCopyWith(_$HttpHeaders_MapImpl value,
$Res Function(_$HttpHeaders_MapImpl) then) =
__$$HttpHeaders_MapImplCopyWithImpl<$Res>;
factory _$$HttpHeaders_MapImplCopyWith(
_$HttpHeaders_MapImpl value,
$Res Function(_$HttpHeaders_MapImpl) then,
) = __$$HttpHeaders_MapImplCopyWithImpl<$Res>;
@useResult
$Res call({Map<String, String> field0});
}
@ -92,22 +89,23 @@ class __$$HttpHeaders_MapImplCopyWithImpl<$Res>
extends _$HttpHeadersCopyWithImpl<$Res, _$HttpHeaders_MapImpl>
implements _$$HttpHeaders_MapImplCopyWith<$Res> {
__$$HttpHeaders_MapImplCopyWithImpl(
_$HttpHeaders_MapImpl _value, $Res Function(_$HttpHeaders_MapImpl) _then)
: super(_value, _then);
_$HttpHeaders_MapImpl _value,
$Res Function(_$HttpHeaders_MapImpl) _then,
) : super(_value, _then);
/// Create a copy of HttpHeaders
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? field0 = null,
}) {
return _then(_$HttpHeaders_MapImpl(
null == field0
? _value._field0
: field0 // ignore: cast_nullable_to_non_nullable
as Map<String, String>,
));
$Res call({Object? field0 = null}) {
return _then(
_$HttpHeaders_MapImpl(
null == field0
? _value._field0
: field0 // ignore: cast_nullable_to_non_nullable
as Map<String, String>,
),
);
}
}
@ -115,8 +113,8 @@ class __$$HttpHeaders_MapImplCopyWithImpl<$Res>
class _$HttpHeaders_MapImpl extends HttpHeaders_Map {
const _$HttpHeaders_MapImpl(final Map<String, String> field0)
: _field0 = field0,
super._();
: _field0 = field0,
super._();
final Map<String, String> _field0;
@override
@ -150,7 +148,9 @@ class _$HttpHeaders_MapImpl extends HttpHeaders_Map {
@pragma('vm:prefer-inline')
_$$HttpHeaders_MapImplCopyWith<_$HttpHeaders_MapImpl> get copyWith =>
__$$HttpHeaders_MapImplCopyWithImpl<_$HttpHeaders_MapImpl>(
this, _$identity);
this,
_$identity,
);
@override
@optionalTypeArgs
@ -232,9 +232,10 @@ abstract class HttpHeaders_Map extends HttpHeaders {
/// @nodoc
abstract class _$$HttpHeaders_ListImplCopyWith<$Res> {
factory _$$HttpHeaders_ListImplCopyWith(_$HttpHeaders_ListImpl value,
$Res Function(_$HttpHeaders_ListImpl) then) =
__$$HttpHeaders_ListImplCopyWithImpl<$Res>;
factory _$$HttpHeaders_ListImplCopyWith(
_$HttpHeaders_ListImpl value,
$Res Function(_$HttpHeaders_ListImpl) then,
) = __$$HttpHeaders_ListImplCopyWithImpl<$Res>;
@useResult
$Res call({List<(String, String)> field0});
}
@ -243,23 +244,24 @@ abstract class _$$HttpHeaders_ListImplCopyWith<$Res> {
class __$$HttpHeaders_ListImplCopyWithImpl<$Res>
extends _$HttpHeadersCopyWithImpl<$Res, _$HttpHeaders_ListImpl>
implements _$$HttpHeaders_ListImplCopyWith<$Res> {
__$$HttpHeaders_ListImplCopyWithImpl(_$HttpHeaders_ListImpl _value,
$Res Function(_$HttpHeaders_ListImpl) _then)
: super(_value, _then);
__$$HttpHeaders_ListImplCopyWithImpl(
_$HttpHeaders_ListImpl _value,
$Res Function(_$HttpHeaders_ListImpl) _then,
) : super(_value, _then);
/// Create a copy of HttpHeaders
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? field0 = null,
}) {
return _then(_$HttpHeaders_ListImpl(
null == field0
? _value._field0
: field0 // ignore: cast_nullable_to_non_nullable
as List<(String, String)>,
));
$Res call({Object? field0 = null}) {
return _then(
_$HttpHeaders_ListImpl(
null == field0
? _value._field0
: field0 // ignore: cast_nullable_to_non_nullable
as List<(String, String)>,
),
);
}
}
@ -267,8 +269,8 @@ class __$$HttpHeaders_ListImplCopyWithImpl<$Res>
class _$HttpHeaders_ListImpl extends HttpHeaders_List {
const _$HttpHeaders_ListImpl(final List<(String, String)> field0)
: _field0 = field0,
super._();
: _field0 = field0,
super._();
final List<(String, String)> _field0;
@override
@ -302,7 +304,9 @@ class _$HttpHeaders_ListImpl extends HttpHeaders_List {
@pragma('vm:prefer-inline')
_$$HttpHeaders_ListImplCopyWith<_$HttpHeaders_ListImpl> get copyWith =>
__$$HttpHeaders_ListImplCopyWithImpl<_$HttpHeaders_ListImpl>(
this, _$identity);
this,
_$identity,
);
@override
@optionalTypeArgs
@ -389,52 +393,47 @@ mixin _$HttpResponseBody {
required TResult Function(String field0) text,
required TResult Function(Uint8List field0) bytes,
required TResult Function() stream,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(String field0)? text,
TResult? Function(Uint8List field0)? bytes,
TResult? Function()? stream,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(String field0)? text,
TResult Function(Uint8List field0)? bytes,
TResult Function()? stream,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(HttpResponseBody_Text value) text,
required TResult Function(HttpResponseBody_Bytes value) bytes,
required TResult Function(HttpResponseBody_Stream value) stream,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(HttpResponseBody_Text value)? text,
TResult? Function(HttpResponseBody_Bytes value)? bytes,
TResult? Function(HttpResponseBody_Stream value)? stream,
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(HttpResponseBody_Text value)? text,
TResult Function(HttpResponseBody_Bytes value)? bytes,
TResult Function(HttpResponseBody_Stream value)? stream,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}) => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $HttpResponseBodyCopyWith<$Res> {
factory $HttpResponseBodyCopyWith(
HttpResponseBody value, $Res Function(HttpResponseBody) then) =
_$HttpResponseBodyCopyWithImpl<$Res, HttpResponseBody>;
HttpResponseBody value,
$Res Function(HttpResponseBody) then,
) = _$HttpResponseBodyCopyWithImpl<$Res, HttpResponseBody>;
}
/// @nodoc
@ -454,9 +453,9 @@ class _$HttpResponseBodyCopyWithImpl<$Res, $Val extends HttpResponseBody>
/// @nodoc
abstract class _$$HttpResponseBody_TextImplCopyWith<$Res> {
factory _$$HttpResponseBody_TextImplCopyWith(
_$HttpResponseBody_TextImpl value,
$Res Function(_$HttpResponseBody_TextImpl) then) =
__$$HttpResponseBody_TextImplCopyWithImpl<$Res>;
_$HttpResponseBody_TextImpl value,
$Res Function(_$HttpResponseBody_TextImpl) then,
) = __$$HttpResponseBody_TextImplCopyWithImpl<$Res>;
@useResult
$Res call({String field0});
}
@ -465,23 +464,24 @@ abstract class _$$HttpResponseBody_TextImplCopyWith<$Res> {
class __$$HttpResponseBody_TextImplCopyWithImpl<$Res>
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_TextImpl>
implements _$$HttpResponseBody_TextImplCopyWith<$Res> {
__$$HttpResponseBody_TextImplCopyWithImpl(_$HttpResponseBody_TextImpl _value,
$Res Function(_$HttpResponseBody_TextImpl) _then)
: super(_value, _then);
__$$HttpResponseBody_TextImplCopyWithImpl(
_$HttpResponseBody_TextImpl _value,
$Res Function(_$HttpResponseBody_TextImpl) _then,
) : super(_value, _then);
/// Create a copy of HttpResponseBody
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? field0 = null,
}) {
return _then(_$HttpResponseBody_TextImpl(
null == field0
? _value.field0
: field0 // ignore: cast_nullable_to_non_nullable
as String,
));
$Res call({Object? field0 = null}) {
return _then(
_$HttpResponseBody_TextImpl(
null == field0
? _value.field0
: field0 // ignore: cast_nullable_to_non_nullable
as String,
),
);
}
}
@ -515,8 +515,11 @@ class _$HttpResponseBody_TextImpl extends HttpResponseBody_Text {
@override
@pragma('vm:prefer-inline')
_$$HttpResponseBody_TextImplCopyWith<_$HttpResponseBody_TextImpl>
get copyWith => __$$HttpResponseBody_TextImplCopyWithImpl<
_$HttpResponseBody_TextImpl>(this, _$identity);
get copyWith =>
__$$HttpResponseBody_TextImplCopyWithImpl<_$HttpResponseBody_TextImpl>(
this,
_$identity,
);
@override
@optionalTypeArgs
@ -598,15 +601,15 @@ abstract class HttpResponseBody_Text extends HttpResponseBody {
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
_$$HttpResponseBody_TextImplCopyWith<_$HttpResponseBody_TextImpl>
get copyWith => throw _privateConstructorUsedError;
get copyWith => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class _$$HttpResponseBody_BytesImplCopyWith<$Res> {
factory _$$HttpResponseBody_BytesImplCopyWith(
_$HttpResponseBody_BytesImpl value,
$Res Function(_$HttpResponseBody_BytesImpl) then) =
__$$HttpResponseBody_BytesImplCopyWithImpl<$Res>;
_$HttpResponseBody_BytesImpl value,
$Res Function(_$HttpResponseBody_BytesImpl) then,
) = __$$HttpResponseBody_BytesImplCopyWithImpl<$Res>;
@useResult
$Res call({Uint8List field0});
}
@ -616,23 +619,23 @@ class __$$HttpResponseBody_BytesImplCopyWithImpl<$Res>
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_BytesImpl>
implements _$$HttpResponseBody_BytesImplCopyWith<$Res> {
__$$HttpResponseBody_BytesImplCopyWithImpl(
_$HttpResponseBody_BytesImpl _value,
$Res Function(_$HttpResponseBody_BytesImpl) _then)
: super(_value, _then);
_$HttpResponseBody_BytesImpl _value,
$Res Function(_$HttpResponseBody_BytesImpl) _then,
) : super(_value, _then);
/// Create a copy of HttpResponseBody
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? field0 = null,
}) {
return _then(_$HttpResponseBody_BytesImpl(
null == field0
? _value.field0
: field0 // ignore: cast_nullable_to_non_nullable
as Uint8List,
));
$Res call({Object? field0 = null}) {
return _then(
_$HttpResponseBody_BytesImpl(
null == field0
? _value.field0
: field0 // ignore: cast_nullable_to_non_nullable
as Uint8List,
),
);
}
}
@ -667,8 +670,11 @@ class _$HttpResponseBody_BytesImpl extends HttpResponseBody_Bytes {
@override
@pragma('vm:prefer-inline')
_$$HttpResponseBody_BytesImplCopyWith<_$HttpResponseBody_BytesImpl>
get copyWith => __$$HttpResponseBody_BytesImplCopyWithImpl<
_$HttpResponseBody_BytesImpl>(this, _$identity);
get copyWith =>
__$$HttpResponseBody_BytesImplCopyWithImpl<_$HttpResponseBody_BytesImpl>(
this,
_$identity,
);
@override
@optionalTypeArgs
@ -750,15 +756,15 @@ abstract class HttpResponseBody_Bytes extends HttpResponseBody {
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
_$$HttpResponseBody_BytesImplCopyWith<_$HttpResponseBody_BytesImpl>
get copyWith => throw _privateConstructorUsedError;
get copyWith => throw _privateConstructorUsedError;
}
/// @nodoc
abstract class _$$HttpResponseBody_StreamImplCopyWith<$Res> {
factory _$$HttpResponseBody_StreamImplCopyWith(
_$HttpResponseBody_StreamImpl value,
$Res Function(_$HttpResponseBody_StreamImpl) then) =
__$$HttpResponseBody_StreamImplCopyWithImpl<$Res>;
_$HttpResponseBody_StreamImpl value,
$Res Function(_$HttpResponseBody_StreamImpl) then,
) = __$$HttpResponseBody_StreamImplCopyWithImpl<$Res>;
}
/// @nodoc
@ -766,9 +772,9 @@ class __$$HttpResponseBody_StreamImplCopyWithImpl<$Res>
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_StreamImpl>
implements _$$HttpResponseBody_StreamImplCopyWith<$Res> {
__$$HttpResponseBody_StreamImplCopyWithImpl(
_$HttpResponseBody_StreamImpl _value,
$Res Function(_$HttpResponseBody_StreamImpl) _then)
: super(_value, _then);
_$HttpResponseBody_StreamImpl _value,
$Res Function(_$HttpResponseBody_StreamImpl) _then,
) : super(_value, _then);
/// Create a copy of HttpResponseBody
/// with the given fields replaced by the non-null parameter values.

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.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
@ -63,7 +63,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
kDefaultExternalLibraryLoaderConfig;
@override
String get codegenVersion => '2.7.0';
String get codegenVersion => '2.9.0';
@override
int get rustContentHash => 885218533;
@ -771,7 +771,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
}
@protected
Map<String, String> dco_decode_Map_String_String(dynamic raw) {
Map<String, String> dco_decode_Map_String_String_None(dynamic raw) {
// Codec=Dco (DartCObject based), see doc to use other codecs
return Map.fromEntries(
dco_decode_list_record_string_string(
@ -781,7 +781,9 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
}
@protected
Map<String, List<String>> dco_decode_Map_String_list_String(dynamic raw) {
Map<String, List<String>> dco_decode_Map_String_list_String_None(
dynamic raw,
) {
// Codec=Dco (DartCObject based), see doc to use other codecs
return Map.fromEntries(
dco_decode_list_record_string_list_string(
@ -968,7 +970,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
// Codec=Dco (DartCObject based), see doc to use other codecs
switch (raw[0]) {
case 0:
return HttpHeaders_Map(dco_decode_Map_String_String(raw[1]));
return HttpHeaders_Map(dco_decode_Map_String_String_None(raw[1]));
case 1:
return HttpHeaders_List(dco_decode_list_record_string_string(raw[1]));
default:
@ -1273,7 +1275,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
if (arr.length != 2)
throw Exception('unexpected arr length: expect 2 but see ${arr.length}');
return StaticDnsSettings(
overrides: dco_decode_Map_String_list_String(arr[0]),
overrides: dco_decode_Map_String_list_String_None(arr[0]),
fallback: dco_decode_opt_String(arr[1]),
);
}
@ -1433,7 +1435,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
}
@protected
Map<String, String> sse_decode_Map_String_String(
Map<String, String> sse_decode_Map_String_String_None(
SseDeserializer deserializer,
) {
// Codec=Sse (Serialization based), see doc to use other codecs
@ -1442,7 +1444,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
}
@protected
Map<String, List<String>> sse_decode_Map_String_list_String(
Map<String, List<String>> sse_decode_Map_String_list_String_None(
SseDeserializer deserializer,
) {
// Codec=Sse (Serialization based), see doc to use other codecs
@ -1660,7 +1662,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
var tag_ = sse_decode_i_32(deserializer);
switch (tag_) {
case 0:
var var_field0 = sse_decode_Map_String_String(deserializer);
var var_field0 = sse_decode_Map_String_String_None(deserializer);
return HttpHeaders_Map(var_field0);
case 1:
var var_field0 = sse_decode_list_record_string_string(deserializer);
@ -2101,7 +2103,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
SseDeserializer deserializer,
) {
// Codec=Sse (Serialization based), see doc to use other codecs
var var_overrides = sse_decode_Map_String_list_String(deserializer);
var var_overrides = sse_decode_Map_String_list_String_None(deserializer);
var var_fallback = sse_decode_opt_String(deserializer);
return StaticDnsSettings(overrides: var_overrides, fallback: var_fallback);
}
@ -2344,7 +2346,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
}
@protected
void sse_encode_Map_String_String(
void sse_encode_Map_String_String_None(
Map<String, String> self,
SseSerializer serializer,
) {
@ -2356,7 +2358,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
}
@protected
void sse_encode_Map_String_list_String(
void sse_encode_Map_String_list_String_None(
Map<String, List<String>> self,
SseSerializer serializer,
) {
@ -2593,7 +2595,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
switch (self) {
case HttpHeaders_Map(field0: final field0):
sse_encode_i_32(0, serializer);
sse_encode_Map_String_String(field0, serializer);
sse_encode_Map_String_String_None(field0, serializer);
case HttpHeaders_List(field0: final field0):
sse_encode_i_32(1, serializer);
sse_encode_list_record_string_string(field0, serializer);
@ -3016,7 +3018,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
SseSerializer serializer,
) {
// Codec=Sse (Serialization based), see doc to use other codecs
sse_encode_Map_String_list_String(self.overrides, serializer);
sse_encode_Map_String_list_String_None(self.overrides, serializer);
sse_encode_opt_String(self.fallback, serializer);
}

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.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
@ -102,10 +102,10 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
Object dco_decode_DartOpaque(dynamic raw);
@protected
Map<String, String> dco_decode_Map_String_String(dynamic raw);
Map<String, String> dco_decode_Map_String_String_None(dynamic raw);
@protected
Map<String, List<String>> dco_decode_Map_String_list_String(dynamic raw);
Map<String, List<String>> dco_decode_Map_String_list_String_None(dynamic raw);
@protected
CancellationToken
@ -370,12 +370,12 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
Object sse_decode_DartOpaque(SseDeserializer deserializer);
@protected
Map<String, String> sse_decode_Map_String_String(
Map<String, String> sse_decode_Map_String_String_None(
SseDeserializer deserializer,
);
@protected
Map<String, List<String>> sse_decode_Map_String_list_String(
Map<String, List<String>> sse_decode_Map_String_list_String_None(
SseDeserializer deserializer,
);
@ -717,13 +717,13 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
void sse_encode_DartOpaque(Object self, SseSerializer serializer);
@protected
void sse_encode_Map_String_String(
void sse_encode_Map_String_String_None(
Map<String, String> self,
SseSerializer serializer,
);
@protected
void sse_encode_Map_String_list_String(
void sse_encode_Map_String_list_String_None(
Map<String, List<String>> self,
SseSerializer serializer,
);

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.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
@ -104,10 +104,10 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
Object dco_decode_DartOpaque(dynamic raw);
@protected
Map<String, String> dco_decode_Map_String_String(dynamic raw);
Map<String, String> dco_decode_Map_String_String_None(dynamic raw);
@protected
Map<String, List<String>> dco_decode_Map_String_list_String(dynamic raw);
Map<String, List<String>> dco_decode_Map_String_list_String_None(dynamic raw);
@protected
CancellationToken
@ -372,12 +372,12 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
Object sse_decode_DartOpaque(SseDeserializer deserializer);
@protected
Map<String, String> sse_decode_Map_String_String(
Map<String, String> sse_decode_Map_String_String_None(
SseDeserializer deserializer,
);
@protected
Map<String, List<String>> sse_decode_Map_String_list_String(
Map<String, List<String>> sse_decode_Map_String_list_String_None(
SseDeserializer deserializer,
);
@ -719,13 +719,13 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
void sse_encode_DartOpaque(Object self, SseSerializer serializer);
@protected
void sse_encode_Map_String_String(
void sse_encode_Map_String_String_None(
Map<String, String> self,
SseSerializer serializer,
);
@protected
void sse_encode_Map_String_list_String(
void sse_encode_Map_String_list_String_None(
Map<String, List<String>> self,
SseSerializer serializer,
);

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import

View file

@ -678,10 +678,10 @@ packages:
dependency: "direct main"
description:
name: flutter_rust_bridge
sha256: "35c257fc7f98e34c1314d6c145e5ed54e7c94e8a9f469947e31c9298177d546f"
sha256: "5a5c7a5deeef2cc2ffe6076a33b0429f4a20ceac22a397297aed2b1eb067e611"
url: "https://pub.dev"
source: hosted
version: "2.7.0"
version: "2.9.0"
flutter_svg:
dependency: transitive
description:

View file

@ -61,12 +61,12 @@ dependencies:
re_highlight: ^0.0.3
json_view: ^0.4.2
super_sliver_list: ^0.4.1
flutter_rust_bridge: 2.7.0
flutter_rust_bridge: 2.9.0
rust_lib_mangayomi:
path: rust_builder
pseudom: ^1.0.1
path: ^1.9.0
freezed_annotation: ^2.0.0
freezed_annotation: ^2.4.4
desktop_webview_window:
git:
url: https://github.com/kodjodevf/desktop_webview_window.git

294
rust/Cargo.lock generated
View file

@ -321,16 +321,16 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chrono"
version = "0.4.38"
version = "0.4.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c"
dependencies = [
"android-tzdata",
"iana-time-zone",
"js-sys",
"num-traits",
"wasm-bindgen",
"windows-targets",
"windows-link",
]
[[package]]
@ -349,16 +349,6 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "core-foundation"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
dependencies = [
"core-foundation-sys",
"libc",
]
[[package]]
name = "core-foundation-sys"
version = "0.8.7"
@ -532,9 +522,9 @@ dependencies = [
[[package]]
name = "flutter_rust_bridge"
version = "2.7.0"
version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5419323ff3ae8b63ed20b7cd0fd0e3e73fa9234b3b212b87b5586fe76ae52318"
checksum = "2f8c0dee6249225e815dcff3f3a39b98d9f66fdb3c392a432715b646bfa4da02"
dependencies = [
"allo-isolate",
"android_logger",
@ -562,9 +552,9 @@ dependencies = [
[[package]]
name = "flutter_rust_bridge_macros"
version = "2.7.0"
version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c6fd06cacc0dfe931d00f3acdc5ac6c5dd9382b33dd78d71cce8f0a62e9458b"
checksum = "8e88d604908d9eccb4ca9c26640ce41033165cbef041460e704ae28bd5208bce"
dependencies = [
"hex",
"md-5",
@ -809,9 +799,9 @@ checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9"
[[package]]
name = "hyper"
version = "1.4.1"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05"
checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80"
dependencies = [
"bytes",
"futures-channel",
@ -838,7 +828,6 @@ dependencies = [
"hyper",
"hyper-util",
"rustls",
"rustls-native-certs",
"rustls-pki-types",
"tokio",
"tokio-rustls",
@ -848,9 +837,9 @@ dependencies = [
[[package]]
name = "hyper-util"
version = "0.1.8"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da62f120a8a37763efb0cf8fdf264b884c7b8b9ac8660b900c8661030c00e6ba"
checksum = "497bbc33a26fdd4af9ed9c70d63f61cf56a938375fbb32df34db9b1cd6d643f2"
dependencies = [
"bytes",
"futures-channel",
@ -858,10 +847,10 @@ dependencies = [
"http",
"http-body",
"hyper",
"libc",
"pin-project-lite",
"socket2",
"tokio",
"tower",
"tower-service",
"tracing",
]
@ -901,9 +890,9 @@ dependencies = [
[[package]]
name = "image"
version = "0.25.5"
version = "0.25.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd6f44aed642f18953a158afeb30206f4d50da59fbc66ecb53c66488de73563b"
checksum = "db35664ce6b9810857a38a906215e75a9c879f0696556a39f59c62829710251a"
dependencies = [
"bytemuck",
"byteorder-lite",
@ -997,10 +986,11 @@ checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0"
[[package]]
name = "js-sys"
version = "0.3.69"
version = "0.3.77"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
dependencies = [
"once_cell",
"wasm-bindgen",
]
@ -1018,9 +1008,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
[[package]]
name = "libc"
version = "0.2.158"
version = "0.2.171"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
[[package]]
name = "libfuzzer-sys"
@ -1225,12 +1215,6 @@ version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
[[package]]
name = "openssl-probe"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "oslog"
version = "0.1.0"
@ -1262,7 +1246,7 @@ dependencies = [
"libc",
"redox_syscall",
"smallvec",
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
@ -1277,26 +1261,6 @@ version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pin-project"
version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3"
dependencies = [
"pin-project-internal",
]
[[package]]
name = "pin-project-internal"
version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "pin-project-lite"
version = "0.2.13"
@ -1580,9 +1544,9 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
[[package]]
name = "reqwest"
version = "0.12.9"
version = "0.12.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
checksum = "d19c46a6fdd48bc4dab94b6103fccc55d34c67cc0ad04653aad4ea2a07cd7bbb"
dependencies = [
"async-compression",
"base64",
@ -1607,7 +1571,6 @@ dependencies = [
"pin-project-lite",
"quinn",
"rustls",
"rustls-native-certs",
"rustls-pemfile",
"rustls-pki-types",
"serde",
@ -1618,6 +1581,7 @@ dependencies = [
"tokio-rustls",
"tokio-socks",
"tokio-util",
"tower",
"tower-service",
"url",
"wasm-bindgen",
@ -1688,19 +1652,6 @@ dependencies = [
"zeroize",
]
[[package]]
name = "rustls-native-certs"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcaf18a4f2be7326cd874a5fa579fae794320a0f388d365dca7e480e55f83f8a"
dependencies = [
"openssl-probe",
"rustls-pemfile",
"rustls-pki-types",
"schannel",
"security-framework",
]
[[package]]
name = "rustls-pemfile"
version = "2.1.3"
@ -1728,50 +1679,24 @@ dependencies = [
"untrusted",
]
[[package]]
name = "rustversion"
version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
[[package]]
name = "ryu"
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
[[package]]
name = "schannel"
version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b"
dependencies = [
"windows-sys 0.59.0",
]
[[package]]
name = "scopeguard"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "security-framework"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
"bitflags 2.6.0",
"core-foundation",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework-sys"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf"
dependencies = [
"core-foundation-sys",
"libc",
]
[[package]]
name = "serde"
version = "1.0.209"
@ -1866,9 +1791,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "socket2"
version = "0.5.7"
version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef"
dependencies = [
"libc",
"windows-sys 0.52.0",
@ -1985,9 +1910,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
version = "1.41.1"
version = "1.44.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33"
checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a"
dependencies = [
"backtrace",
"bytes",
@ -2003,9 +1928,9 @@ dependencies = [
[[package]]
name = "tokio-macros"
version = "2.4.0"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
dependencies = [
"proc-macro2",
"quote",
@ -2037,9 +1962,9 @@ dependencies = [
[[package]]
name = "tokio-util"
version = "0.7.12"
version = "0.7.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
checksum = "6b9590b93e6fcc1739458317cccd391ad3955e2bde8913edf6f95f9e65a8f034"
dependencies = [
"bytes",
"futures-core",
@ -2084,14 +2009,14 @@ dependencies = [
[[package]]
name = "tower"
version = "0.4.13"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
dependencies = [
"futures-core",
"futures-util",
"pin-project",
"pin-project-lite",
"sync_wrapper",
"tokio",
"tower-layer",
"tower-service",
@ -2227,23 +2152,24 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "wasm-bindgen"
version = "0.2.92"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
dependencies = [
"cfg-if",
"once_cell",
"rustversion",
"wasm-bindgen-macro",
]
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.92"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
dependencies = [
"bumpalo",
"log",
"once_cell",
"proc-macro2",
"quote",
"syn",
@ -2264,9 +2190,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.92"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@ -2274,9 +2200,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.92"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
dependencies = [
"proc-macro2",
"quote",
@ -2287,9 +2213,12 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.92"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
dependencies = [
"unicode-ident",
]
[[package]]
name = "wasm-streams"
@ -2335,37 +2264,42 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
dependencies = [
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
name = "windows-registry"
version = "0.2.0"
name = "windows-link"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38"
[[package]]
name = "windows-registry"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3"
dependencies = [
"windows-result",
"windows-strings",
"windows-targets",
"windows-targets 0.53.0",
]
[[package]]
name = "windows-result"
version = "0.2.0"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252"
dependencies = [
"windows-targets",
"windows-link",
]
[[package]]
name = "windows-strings"
version = "0.1.0"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319"
dependencies = [
"windows-result",
"windows-targets",
"windows-link",
]
[[package]]
@ -2374,7 +2308,7 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
@ -2383,7 +2317,7 @@ version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
@ -2392,14 +2326,30 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_gnullvm",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
"windows_aarch64_gnullvm 0.52.6",
"windows_aarch64_msvc 0.52.6",
"windows_i686_gnu 0.52.6",
"windows_i686_gnullvm 0.52.6",
"windows_i686_msvc 0.52.6",
"windows_x86_64_gnu 0.52.6",
"windows_x86_64_gnullvm 0.52.6",
"windows_x86_64_msvc 0.52.6",
]
[[package]]
name = "windows-targets"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b"
dependencies = [
"windows_aarch64_gnullvm 0.53.0",
"windows_aarch64_msvc 0.53.0",
"windows_i686_gnu 0.53.0",
"windows_i686_gnullvm 0.53.0",
"windows_i686_msvc 0.53.0",
"windows_x86_64_gnu 0.53.0",
"windows_x86_64_gnullvm 0.53.0",
"windows_x86_64_msvc 0.53.0",
]
[[package]]
@ -2408,48 +2358,96 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
name = "windows_aarch64_msvc"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
[[package]]
name = "windows_i686_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
name = "windows_i686_gnu"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_gnullvm"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
[[package]]
name = "windows_i686_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_i686_msvc"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
[[package]]
name = "windows_x86_64_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnu"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "windows_x86_64_msvc"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
[[package]]
name = "winnow"
version = "0.6.9"

View file

@ -7,10 +7,10 @@ edition = "2021"
crate-type = ["cdylib", "staticlib"]
[dependencies]
flutter_rust_bridge = { version = "=2.7.0", features = ["chrono"] }
image = "0.25.5"
chrono = "0.4.38"
flutter_rust_bridge = { version = "=2.9.0", features = ["chrono"] }
image = "0.25.6"
chrono = "0.4.40"
futures-util = "0.3.31"
reqwest = { version = "0.12.9", default-features = false, features = ["charset", "http2", "rustls-tls", "rustls-tls-native-roots", "stream", "multipart", "socks", "brotli", "gzip"] }
tokio = { version = "1.41.1", features = ["full"] }
tokio-util = "0.7.12"
reqwest = { version = "0.12.15", default-features = false, features = ["charset", "http2", "rustls-tls-webpki-roots", "stream", "multipart", "socks", "brotli", "gzip"] }
tokio = { version = "1.44.1", features = ["full"] }
tokio-util = "0.7.14"

View file

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
#![allow(
non_camel_case_types,
@ -38,7 +38,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.7.0";
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.9.0";
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 885218533;
// Section: executor
@ -2441,7 +2441,7 @@ impl SseEncode for usize {
#[cfg(not(target_family = "wasm"))]
mod io {
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
// Section: imports
@ -2458,42 +2458,42 @@ mod io {
flutter_rust_bridge::frb_generated_boilerplate_io!();
#[no_mangle]
#[unsafe(no_mangle)]
pub extern "C" fn frbgen_mangayomi_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
ptr: *const std::ffi::c_void,
) {
MoiArc::<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<CancellationToken>>::increment_strong_count(ptr as _);
}
#[no_mangle]
#[unsafe(no_mangle)]
pub extern "C" fn frbgen_mangayomi_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
ptr: *const std::ffi::c_void,
) {
MoiArc::<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<CancellationToken>>::decrement_strong_count(ptr as _);
}
#[no_mangle]
#[unsafe(no_mangle)]
pub extern "C" fn frbgen_mangayomi_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
ptr: *const std::ffi::c_void,
) {
MoiArc::<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<DnsSettings>>::increment_strong_count(ptr as _);
}
#[no_mangle]
#[unsafe(no_mangle)]
pub extern "C" fn frbgen_mangayomi_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
ptr: *const std::ffi::c_void,
) {
MoiArc::<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<DnsSettings>>::decrement_strong_count(ptr as _);
}
#[no_mangle]
#[unsafe(no_mangle)]
pub extern "C" fn frbgen_mangayomi_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
ptr: *const std::ffi::c_void,
) {
MoiArc::<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<RequestClient>>::increment_strong_count(ptr as _);
}
#[no_mangle]
#[unsafe(no_mangle)]
pub extern "C" fn frbgen_mangayomi_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
ptr: *const std::ffi::c_void,
) {
@ -2507,7 +2507,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.7.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
// Section: imports