Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rustdesk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李朝发
rustdesk
Commits
497da6e1
Commit
497da6e1
authored
Sep 23, 2022
by
李朝发
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除多余代码
parent
e4a18ed8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
23 deletions
+9
-23
Cargo.lock
Cargo.lock
+0
-1
Cargo.toml
libs/hbb_common/Cargo.toml
+1
-2
lib.rs
libs/hbb_common/src/lib.rs
+0
-1
flutter_ffi.rs
src/flutter_ffi.rs
+8
-19
No files found.
Cargo.lock
View file @
497da6e1
...
...
@@ -958,7 +958,6 @@ dependencies = [
"confy",
"directories-next",
"dirs-next",
"env_logger 0.9.1",
"filetime",
"futures",
"futures-util",
...
...
libs/hbb_common/Cargo.toml
View file @
497da6e1
...
...
@@ -11,10 +11,9 @@ tokio-util = { version = "0.7", features = ["full"] }
futures
=
"0.3"
bytes
=
{
version
=
"1.2"
,
features
=
["serde"]
}
log
=
"0.4"
env_logger
=
"0.9"
socket2
=
{
version
=
"0.3"
,
features
=
["reuseport"]
}
zstd
=
"0.9"
quinn
=
{version
=
"0.8"
,
optional
=
true
}
quinn
=
{
version
=
"0.8"
,
optional
=
true
}
anyhow
=
"1.0"
futures-util
=
"0.3"
directories-next
=
"2.0"
...
...
libs/hbb_common/src/lib.rs
View file @
497da6e1
...
...
@@ -19,7 +19,6 @@ pub use tokio_util;
pub
mod
socket_client
;
pub
mod
tcp
;
pub
mod
udp
;
pub
use
env_logger
;
pub
use
log
;
pub
mod
bytes_codec
;
#[cfg(feature
=
"quic"
)]
...
...
src/flutter_ffi.rs
View file @
497da6e1
...
...
@@ -35,8 +35,6 @@ use crate::{
fn
initialize
(
app_dir
:
&
str
)
{
*
config
::
APP_DIR
.write
()
.unwrap
()
=
app_dir
.to_owned
();
#[cfg(target_os
=
"android"
)]
{
android_logger
::
init_once
(
android_logger
::
Config
::
default
()
.with_min_level
(
log
::
Level
::
Debug
)
// limit log level
...
...
@@ -44,16 +42,7 @@ fn initialize(app_dir: &str) {
);
#[cfg(feature
=
"mediacodec"
)]
scrap
::
mediacodec
::
check_mediacodec
();
}
#[cfg(target_os
=
"ios"
)]
{
use
hbb_common
::
env_logger
::
*
;
init_from_env
(
Env
::
default
()
.filter_or
(
DEFAULT_FILTER_ENV
,
"debug"
));
}
#[cfg(target_os
=
"android"
)]
{
crate
::
common
::
check_software_update
();
}
}
/// FFI for rustdesk core's main entry.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment