| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.88" |
| 15 |
name = "actix-codec" |
| 16 |
version = "0.5.4" |
| 17 |
authors = [ |
| 18 |
"Nikolay Kim <[email protected]>", |
| 19 |
"Rob Ede <[email protected]>", |
| 20 |
] |
| 21 |
build = false |
| 22 |
autolib = false |
| 23 |
autobins = false |
| 24 |
autoexamples = false |
| 25 |
autotests = false |
| 26 |
autobenches = false |
| 27 |
description = "Codec utilities for working with framed protocols" |
| 28 |
readme = false |
| 29 |
keywords = [ |
| 30 |
"network", |
| 31 |
"framework", |
| 32 |
"async", |
| 33 |
"futures", |
| 34 |
] |
| 35 |
categories = [ |
| 36 |
"network-programming", |
| 37 |
"asynchronous", |
| 38 |
] |
| 39 |
license = "MIT OR Apache-2.0" |
| 40 |
repository = "https://github.com/actix/actix-net" |
| 41 |
|
| 42 |
[package.metadata.cargo_check_external_types] |
| 43 |
allowed_external_types = [ |
| 44 |
"bytes::*", |
| 45 |
"futures_core::*", |
| 46 |
"futures_sink::*", |
| 47 |
"tokio::*", |
| 48 |
"tokio_util::*", |
| 49 |
] |
| 50 |
|
| 51 |
[lib] |
| 52 |
name = "actix_codec" |
| 53 |
path = "src/lib.rs" |
| 54 |
|
| 55 |
[[test]] |
| 56 |
name = "test_framed_halves" |
| 57 |
path = "tests/test_framed_halves.rs" |
| 58 |
|
| 59 |
[[test]] |
| 60 |
name = "test_framed_sink" |
| 61 |
path = "tests/test_framed_sink.rs" |
| 62 |
|
| 63 |
[dependencies.bitflags] |
| 64 |
version = "2" |
| 65 |
|
| 66 |
[dependencies.bytes] |
| 67 |
version = "1" |
| 68 |
|
| 69 |
[dependencies.futures-core] |
| 70 |
version = "0.3.7" |
| 71 |
default-features = false |
| 72 |
|
| 73 |
[dependencies.futures-sink] |
| 74 |
version = "0.3.7" |
| 75 |
default-features = false |
| 76 |
|
| 77 |
[dependencies.memchr] |
| 78 |
version = "2.3" |
| 79 |
|
| 80 |
[dependencies.pin-project-lite] |
| 81 |
version = "0.2" |
| 82 |
|
| 83 |
[dependencies.tokio] |
| 84 |
version = "1.44.2" |
| 85 |
|
| 86 |
[dependencies.tokio-util] |
| 87 |
version = "0.7" |
| 88 |
features = [ |
| 89 |
"codec", |
| 90 |
"io", |
| 91 |
] |
| 92 |
|
| 93 |
[dependencies.tracing] |
| 94 |
version = "0.1.30" |
| 95 |
features = ["log"] |
| 96 |
default-features = false |
| 97 |
|
| 98 |
[dev-dependencies.criterion] |
| •99 |
version = "0.5" |
| 100 |
features = ["html_reports"] |
| 101 |
|
| 102 |
[dev-dependencies.tokio] |
| 103 |
version = "1.44.2" |
| 104 |
features = ["io-util"] |
| 105 |
|
| 106 |
[dev-dependencies.tokio-test] |
| 107 |
version = "0.4.2" |
| 108 |
|
| 109 |
[lints.clippy] |
| 110 |
disallowed_names = "warn" |
| 111 |
uninlined_format_args = "warn" |
| 112 |
|
| 113 |
[lints.rust] |
| 114 |
future_incompatible = "deny" |
| 115 |
nonstandard_style = "deny" |
| 116 |
rust_2018_idioms = "deny" |
| 117 |
|
| 118 |
[lints.rust.missing_docs] |
| 119 |
level = "warn" |
| 120 |
priority = -1 |