Repository navigation
Join a nearby host through btleplug's central on Android (R76 slice 6) #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5f11094
3b7fb18
bfc68e0
5d1e9ed
d4593fa
f13eb9c
349b5d1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,7 @@ bot = ["dep:ring"] | |
| device-identity = ["native-auth", "connetto-core/device-cert", "dep:ring", "dep:core-foundation", "dep:rmp-serde", "dep:serde_bytes", "dep:connetto-app-attest"] | ||
| # The peer link (R76): the device serves its identity to other devices over | ||
| # a second, server-independent channel, and dials them. | ||
| peer = ["device-identity", "dep:connetto-peer"] | ||
| peer = ["device-identity", "dep:connetto-peer", "dep:btleplug", "dep:connetto-peer-android"] | ||
| native-auth = [ | ||
| "native-transport", | ||
| "dep:reqwest", | ||
|
|
@@ -260,6 +260,14 @@ android_system_properties = { version = "0.1.6", optional = true } | |
| socket2 = "0.6" | ||
| # The joined network's subnet, the targets its bind admits (R76). | ||
| ipnet = "2.12" | ||
| # The joiner's Bluetooth central (R76 decision 22), from the release whose | ||
| # Android init resolves its classes through the context class loader. | ||
| btleplug = { version = "0.13.5", optional = true } | ||
| # The jni 0.22 virtual machine btleplug's init takes, and btleplug's Java | ||
| # bundled in its Gradle module (R76 decision 22). | ||
| connetto-peer-android = { path = "../connetto-peer-android", optional = true } | ||
| # The streams btleplug's central answers with (R76 decision 22). | ||
| futures-util = { version = "0.3", default-features = false, features = ["std"], optional = true } | ||
|
Comment on lines
+263
to
+270
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: #!/bin/bash
git diff --name-only origin/main...HEAD | rg -n 'Cargo.lock'
fd -t f Cargo.toml --exec rg -n -H 'git\s*=' {}
rg -n -A3 '\[patch' Cargo.tomlRepository: LucaCappelletti94/connetto-rs Length of output: 8005 Keep the lockfile out of this change or pin every unpinned git dependency. This PR modifies 🤖 Prompt for AI AgentsSource: Coding guidelines |
||
| libsqlite3-sys = { version = ">=0.38, <0.39", features = [ | ||
| "bundled-sqlcipher-vendored-openssl", | ||
| ] } | ||
|
|
||
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
btleplugkeeps its default features.Line 261 declares
btleplugwithoutdefault-features = false. The retrieved learning requires explicit feature control unless every default feature is genuinely required. Setdefault-features = falseand enable only the features the central uses. Verify that the build still passes on Android and on the desktop targets.🤖 Prompt for AI Agents
Source: Learnings