Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
Tenjin
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nawasan Wisitsingkhon
Tenjin
Commits
10223d63
Commit
10223d63
authored
Oct 21, 2024
by
Nawasan Wisitsingkhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dep: tokio used only needed features
parent
78047b53
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
79 deletions
+7
-79
Cargo.lock
Cargo.lock
+0
-77
Cargo.toml
Cargo.toml
+6
-1
README.md
README.md
+1
-1
No files found.
Cargo.lock
View file @
10223d63
...
@@ -66,12 +66,6 @@ dependencies = [
...
@@ -66,12 +66,6 @@ dependencies = [
"windows-sys",
"windows-sys",
]
]
[[package]]
name = "autocfg"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
[[package]]
[[package]]
name = "backtrace"
name = "backtrace"
version = "0.3.74"
version = "0.3.74"
...
@@ -87,12 +81,6 @@ dependencies = [
...
@@ -87,12 +81,6 @@ dependencies = [
"windows-targets",
"windows-targets",
]
]
[[package]]
name = "bitflags"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
[[package]]
[[package]]
name = "byteorder"
name = "byteorder"
version = "1.5.0"
version = "1.5.0"
...
@@ -196,16 +184,6 @@ version = "0.2.159"
...
@@ -196,16 +184,6 @@ version = "0.2.159"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
[[package]]
name = "lock_api"
version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
dependencies = [
"autocfg",
"scopeguard",
]
[[package]]
[[package]]
name = "memchr"
name = "memchr"
version = "2.7.4"
version = "2.7.4"
...
@@ -242,29 +220,6 @@ dependencies = [
...
@@ -242,29 +220,6 @@ dependencies = [
"memchr",
"memchr",
]
]
[[package]]
name = "parking_lot"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
dependencies = [
"lock_api",
"parking_lot_core",
]
[[package]]
name = "parking_lot_core"
version = "0.9.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
dependencies = [
"cfg-if",
"libc",
"redox_syscall",
"smallvec",
"windows-targets",
]
[[package]]
[[package]]
name = "pin-project-lite"
name = "pin-project-lite"
version = "0.2.14"
version = "0.2.14"
...
@@ -289,42 +244,12 @@ dependencies = [
...
@@ -289,42 +244,12 @@ dependencies = [
"proc-macro2",
"proc-macro2",
]
]
[[package]]
name = "redox_syscall"
version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
dependencies = [
"bitflags",
]
[[package]]
[[package]]
name = "rustc-demangle"
name = "rustc-demangle"
version = "0.1.24"
version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
[[package]]
name = "scopeguard"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "signal-hook-registry"
version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
dependencies = [
"libc",
]
[[package]]
name = "smallvec"
version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
[[package]]
name = "socket2"
name = "socket2"
version = "0.5.7"
version = "0.5.7"
...
@@ -372,9 +297,7 @@ dependencies = [
...
@@ -372,9 +297,7 @@ dependencies = [
"bytes",
"bytes",
"libc",
"libc",
"mio",
"mio",
"parking_lot",
"pin-project-lite",
"pin-project-lite",
"signal-hook-registry",
"socket2",
"socket2",
"tokio-macros",
"tokio-macros",
"windows-sys",
"windows-sys",
...
...
Cargo.toml
View file @
10223d63
...
@@ -24,7 +24,12 @@ path = "src/main.rs"
...
@@ -24,7 +24,12 @@ path = "src/main.rs"
byteorder
=
"1.0.0"
byteorder
=
"1.0.0"
clap
=
{
version
=
"4.5.13"
,
features
=
["derive"]
,
optional
=
true
}
clap
=
{
version
=
"4.5.13"
,
features
=
["derive"]
,
optional
=
true
}
clap_complete
=
{
version
=
"4.5.23"
,
optional
=
true
}
clap_complete
=
{
version
=
"4.5.23"
,
optional
=
true
}
tokio
=
{
version
=
"1.40.0"
,
features
=
["full"]
}
tokio
=
{
version
=
"1.40.0"
,
features
=
[
"rt-multi-thread"
,
"net"
,
"macros"
,
"io-util"
,
]
}
[profile.release]
[profile.release]
strip
=
true
strip
=
true
...
...
README.md
View file @
10223d63
...
@@ -70,7 +70,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
...
@@ -70,7 +70,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
### Install Tenjin
### Install Tenjin
after installing rust and cargo,
use
can use command below to install Tenjin.
after installing rust and cargo,
you
can use command below to install Tenjin.
```
```
cargo install tenjin_sdn
cargo install tenjin_sdn
...
...
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