Move `codec.dart` to former place (#713)

This commit is contained in:
Moritz 2024-05-17 14:53:33 +02:00 committed by GitHub
parent 0d02e4386f
commit 9f65399e28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 14 additions and 13 deletions

View File

@ -3,6 +3,7 @@
* Set compressed flag correctly for grpc-encoding = identity. Fixes [#669](https://github.com/grpc/grpc-dart/issues/669) (https://github.com/grpc/grpc-dart/pull/693)
* Remove generated status codes.
* Remove dependency on `package:archive`.
* Move `codec.dart`.
## 3.2.4

View File

@ -55,7 +55,7 @@ export 'src/server/server.dart'
export 'src/server/server_keepalive.dart' show ServerKeepAliveOptions;
export 'src/server/service.dart' show ServiceMethod, Service;
export 'src/shared/api.dart';
export 'src/shared/codec/codec.dart' show Codec, IdentityCodec, GzipCodec;
export 'src/shared/codec.dart' show Codec, IdentityCodec, GzipCodec;
export 'src/shared/codec_registry.dart';
export 'src/shared/message.dart'
show GrpcMessage, GrpcMetadata, GrpcData, grpcDecompressor;

View File

@ -25,7 +25,7 @@ export 'src/client/options.dart' show ChannelOptions;
export 'src/client/transport/transport.dart'
show GrpcTransportStream, ErrorHandler;
export 'src/shared/codec/codec.dart';
export 'src/shared/codec.dart';
export 'src/shared/codec_registry.dart';
export 'src/shared/message.dart' show frame, GrpcMessage, grpcDecompressor;
export 'src/shared/status.dart' show GrpcError;

View File

@ -16,7 +16,7 @@
import 'dart:async';
import 'dart:developer';
import '../shared/codec/codec.dart';
import '../shared/codec.dart';
import '../shared/message.dart';
import '../shared/profiler.dart';
import '../shared/status.dart';

View File

@ -20,7 +20,7 @@ import 'dart:typed_data';
import 'package:http2/transport.dart';
import '../shared/codec/codec.dart';
import '../shared/codec.dart';
import '../shared/timeout.dart';
import 'call.dart';
import 'client_keepalive.dart';

View File

@ -17,7 +17,7 @@ import 'dart:async';
import 'package:http2/transport.dart';
import '../../shared/codec/codec.dart';
import '../../shared/codec.dart';
import '../../shared/codec_registry.dart';
import '../../shared/message.dart';
import '../../shared/streams.dart';

View File

@ -18,7 +18,7 @@ import 'dart:convert';
import 'package:http2/transport.dart';
import '../shared/codec/codec.dart';
import '../shared/codec.dart';
import '../shared/codec_registry.dart';
import '../shared/io_bits/io_bits.dart' show InternetAddress, X509Certificate;
import '../shared/message.dart';

View File

@ -13,6 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
export 'codec_all.dart';
export 'codec_io.dart'
if (dart.library.js_interop) 'codec_web.dart'; // package:web implementation
export 'codec/codec_all.dart';
export 'codec/codec_io.dart'
if (dart.library.js_interop) 'codec/codec_web.dart'; // package:web implementation

View File

@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import 'codec/codec.dart';
import 'codec.dart';
/// Encloses classes related to the compression and decompression of messages.
class CodecRegistry {

View File

@ -16,7 +16,7 @@
import 'dart:async';
import 'dart:typed_data';
import 'codec/codec.dart';
import 'codec.dart';
import 'codec_registry.dart';
import 'status.dart';

View File

@ -15,7 +15,7 @@
@TestOn('vm')
import 'package:grpc/src/shared/codec/codec.dart';
import 'package:grpc/src/shared/codec.dart';
import 'package:grpc/src/shared/message.dart';
import 'package:test/test.dart';

View File

@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import 'package:grpc/src/shared/codec/codec.dart';
import 'package:grpc/src/shared/codec.dart';
import 'package:grpc/src/shared/codec_registry.dart';
import 'package:test/test.dart';