Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
297 changes: 296 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 31 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,31 @@
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0

[package]
name = "uds2sovd-proxy"
version = "0.1.0"
[workspace.package]
edition = "2024"
license = "Apache-2.0"
homepage = "https://github.com/eclipse-opensovd/uds2sovd-proxy"

[lints]
workspace = true
[workspace]
resolver = "3"
members = ["doip-server"]

[workspace.dependencies]
# ---- async runtime ----
tokio = { version = "1", default-features = false }
tokio-util = { version = "0.7", default-features = false }
# ---- serialization ----
serde = { version = "1.0", default-features = false }
toml = { version = "0.9", default-features = false }
# ---- tracing & logging ----
tracing = { version = "0.1", default-features = false }
# ---- error handling ----
thiserror = { version = "2.0", default-features = false }
# ---- data structures ----
bytes = { version = "1.0", default-features = false }
parking_lot = { version = "0.12", default-features = false }
# ---- utility crates ----
hex = { version = "0.4", default-features = false }

# Lints are aligned with shared-lints.toml from:
# https://github.com/eclipse-opensovd/cicd-workflows/tree/main/shared-lints

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the workspace Cargo.toml, so this information shouldn’t be removed. I’d suggest keeping these changes in the package-level Cargo.toml instead. I also noticed that the comments below were removed, please keep them intact.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored — lint header comment and all per-lint explanatory comments are kept intact.

Expand Down Expand Up @@ -44,3 +60,13 @@ clone_on_ref_ptr = "warn"
# enforce that the type suffix of a literal is always appended directly
# eg. 12u8 instead of 12_u8
separated_literal_suffix = "deny"

[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }

[profile.release.package."*"]
opt-level = 3

[profile.release-with-debug]
inherits = "release"
debug = true
9 changes: 8 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@ ignore = []
allow = ["Apache-2.0", "MIT"]

confidence-threshold = 0.9
exceptions = []
exceptions = [
# unicode-ident is a transitive dependency pulled in by serde (via proc-macro2).
# It is licensed under Unicode-3.0, an OSI-approved license covering only
# Unicode data tables. There is no Apache-2.0 or MIT alternative for this crate.
{ allow = [
"Unicode-3.0",
], name = "unicode-ident" },
]

[licenses.private]
ignore = true
Expand Down
Loading