Skip to content

Commit

Permalink
Corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Aug 13, 2024
1 parent 2f557ac commit d1230e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ analyzer:
errors:
invalid_use_of_visible_for_testing_member: error
exclude:
# Autogenerated by flutter-rust-bridge.
- 'lib/src/api/bridge/**'
- 'lib/src/api/bridge/**' # autogenerated by `flutter_rust_bridge`

linter:
# List of all available lints can be found here:
Expand Down
5 changes: 2 additions & 3 deletions crates/native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ anyhow = "1.0"
cxx = "1.0"
dashmap = "6.0"
derive_more = { version = "1.0", features = ["as_ref", "display", "from", "into"] }
flutter_rust_bridge = { version = "=2.2.0", default-features = false, features = ["rust-async", "anyhow", "thread-pool", "dart-opaque"]}
flutter_rust_bridge = { version = "=2.2.0", features = ["rust-async", "anyhow", "thread-pool", "dart-opaque"], default-features = false }
flutter_rust_bridge_macros = { version = "=2.2.0", default-features = false }
lazy_static = "1.5"
libwebrtc-sys = { path = "../libwebrtc-sys" }
Expand All @@ -28,8 +28,7 @@ pulse = { version = "2.28", package = "libpulse-binding" }

[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.58", features = ["implement", "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_Media_Audio", "Win32_System_Com", "Win32_UI_Shell_PropertiesSystem", "Win32_UI_WindowsAndMessaging"] }
# for `#[windows::core]` macro expansion
windows-core = "0.58"
windows-core = "0.58" # for `#[windows::core]` macro expansion

[build-dependencies]
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/src/api/peer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import 'transceiver.dart';
/// Checks whether the running platform is a desktop.
bool isDesktop = Platform.isWindows || Platform.isLinux || Platform.isMacOS;

/// Opens the dynamic library and instantiates ffi bridge to Rust side.
/// Opens the dynamic library and instantiates FFI bridge to Rust side.
Future<void> initFfiBridge() async {
if (!isDesktop) {
return;
Expand Down

0 comments on commit d1230e2

Please sign in to comment.