[package]
edition = "2021"
name = "recentip"
version = "0.1.0-alpha.6"
build = "build.rs"
include = [
"src/**/*",
"build.rs",
"Cargo.toml",
"LICENSE",
"README.md",
"spec-data/requirements.json",
"scripts/extract_coverage.py",
"tests/compliance/**/*",
"docs/examples/**/*",
"docs/internals.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An opinionated async SOME/IP implementation for Rust — boring by design, backed by Tokio."
readme = "README.md"
keywords = [
"someip",
"automotive",
"rpc",
"async",
"tokio",
]
categories = [
"asynchronous",
"network-programming",
]
license = "GPL-3.0-only"
repository = "https://github.com/daniel-freiermuth/recentip"
[package.metadata.docs.rs]
git-submodules = true
[features]
default = ["turmoil"]
slow-tests = []
turmoil = ["dep:turmoil"]
[lib]
name = "recentip"
path = "src/lib.rs"
[dependencies.bytes]
version = "1"
[dependencies.dashmap]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.socket2]
version = "0.6"
features = ["all"]
[dependencies.tokio]
version = "1"
features = [
"net",
"sync",
"time",
"rt",
"macros",
"io-util",
]
[dependencies.tracing]
version = "0.1"
[dependencies.turmoil]
version = "0.7.1"
optional = true
[dev-dependencies.chrono]
version = "0.4"
[dev-dependencies.clap]
version = "4.5.56"
features = ["derive"]
[dev-dependencies.proptest]
version = "1.9.0"
[dev-dependencies.test-log]
version = "0.2.19"
features = ["trace"]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"net",
"sync",
"time",
"rt",
"rt-multi-thread",
"macros",
"signal",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.turmoil]
version = "0.7"
[build-dependencies.serde]
version = "1"
features = ["derive"]
[build-dependencies.serde_json]
version = "1"
[lints.clippy]
cargo_common_metadata = "warn"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cognitive_complexity = "allow"
doc_markdown = "allow"
expect_used = "deny"
fallible_impl_from = "deny"
format_push_string = "allow"
future_not_send = "allow"
indexing_slicing = "deny"
large_stack_arrays = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "deny"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "warn"
must_use_candidate = "allow"
needless_pass_by_ref_mut = "allow"
nonminimal_bool = "allow"
panic = "deny"
return_self_not_must_use = "allow"
significant_drop_in_scrutinee = "allow"
todo = "deny"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.fast-release]
opt-level = 2
inherits = "release"
[profile.max-opt]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
inherits = "release"
strip = true