-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
79 lines (68 loc) · 1.86 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "rseip"
version = "0.3.1"
edition = "2021"
readme = "README.md"
description = "rseip - Ethernet/IP (CIP) client in pure Rust"
license = "MIT"
homepage = "https://github.com/Joylei/eip-rs"
repository = "https://github.com/Joylei/eip-rs.git"
documentation = "https://docs.rs/crate/rseip/"
keywords = ["ethernet", "codec", "industry", "eip", "cip"]
categories = ["asynchronous", "hardware-support"]
authors = ["joylei <leingliu@gmail.com>"]
resolver = "2"
[badges]
maintenance = { status = "passively-maintained" }
[package.metadata.docs.rs]
all-features = true
[workspace]
members = ["./cip", "./core", "./eip", "."]
[dependencies]
rseip-core = { path = "./core", default-features = false, features = [
"cip",
], version = "0.1" }
rseip-eip = { path = "./eip", default-features = false, version = "0.2" }
rseip-cip = { path = "./cip", default-features = false, version = "0.2" }
bytes = "1"
byteorder = "1"
log = "0.4"
tokio = { version = "1", features = ["net", "io-util"] }
tokio-util = { version = "0.7", features = ["codec"] }
futures-util = { version = "0.3", features = ["sink"] }
async-trait = "0.1"
smallvec = "1"
[dev-dependencies]
env_logger = "0.9"
futures = "0.3"
tokio = { version = "1", default-features = false, features = [
"rt-multi-thread",
"time",
"sync",
"macros",
] }
anyhow = "1"
criterion = { version = "0.3", features = [
"async_futures",
"async_tokio",
"cargo_bench_support",
] }
[features]
default = ["inlinable-string", "error-explain"]
inlinable-string = ["rseip-cip/inlinable-string", "rseip-eip/inlinable-string"]
error-explain = ["rseip-cip/error-explain", "rseip-eip/error-explain"]
[build]
#rustc-wrapper = "sccache"
[profile.release]
lto = 'thin'
panic = 'abort'
codegen-units = 1
[profile.bench]
lto = 'thin'
codegen-units = 1
debug = 1
[profile.test]
debug = 1
[[bench]]
name = "bench_read"
harness = false