-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
140 lines (129 loc) · 3.5 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[package]
name = "snmp-sim"
version = "0.1.0"
authors = ["Frank Horvath <[email protected]>"]
description = "SNMP Simulator running as a service managed remotely through HTTP Rest API"
license = "Apache-2.0"
edition = "2021"
documentation = "https://github.com/sonalake/snmp-sim-rust"
homepage = "https://github.com/sonalake/snmp-sim-rust"
repository = "https://github.com/sonalake/snmp-sim-rust.git"
readme = "README.md"
keywords = ["snmp", "simulator"]
categories = ["command-line-utilities", "simulation", "simulation::snmp"]
default-run = "snmp_sim"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "snmp_sim"
[[bin]]
path = "src/bin/generate_spec.rs"
name = "generate_spec"
[dependencies]
actix-async = { path = "./crates/actix-async" }
shared-common = { path = "./crates/shared-common" }
telemetry = { path = "./crates/telemetry" }
paperclip-restful = { path = "./crates/paperclip-restful" }
snmp-data-parser = { path = "./crates/snmp-data-parser" }
rasn-snmp = { path = "./crates/rasn/standards/snmp" }
rasn-smi = { path = "./crates/rasn/standards/smi" }
rasn = { path = "./crates/rasn" }
actix = "0.13"
actix-web = { version = "4.1", default_features = false, features = [
"macros",
] }
anyhow = "1.0"
bytes = "1.1.0"
config = { version = "0.13", default-features = false, features = ["yaml"] }
futures = "0.3"
futures-macro = "0.3"
num-traits = "0.2"
num-bigint = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde-aux = "3.0"
thiserror = "1.0"
tokio = "1.19"
tokio-util = { version = "0.7", features = ["codec", "net"] }
tracing-actix-web = "0.6"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [
"registry",
"env-filter",
] }
tracing-bunyan-formatter = "0.3"
tracing-log = "0.1"
visibility = { version = "0.0.1", optional = true }
paperclip = { version = "0.7.0", features = [
"actix4",
"uuid",
"v3",
"swagger-ui",
] }
serde_json = "1.0"
uuid_dev = { version = "0.8", features = ["serde"], package = "uuid" }
sqlx = { version = "0.6", default-features = false, features = [
"runtime-actix-rustls",
"macros",
"sqlite",
"uuid",
"chrono",
"migrate",
"offline",
] }
sea-orm = { version = "0.8", features = [
"sqlx-sqlite",
"runtime-actix-rustls",
"macros",
"with-uuid",
], default-features = false }
chrono = "0.4.19"
dirs = "4.0"
strum = { version = "0.24", features = ["derive"] }
strum_macros = "0.24"
futures-util = { version = "0.3", default-features = false, features = [
"alloc",
] }
cached = "0.36.0"
num_cpus = "1"
macro_rules_attribute = "0.1"
lazy_static = "*"
[dev-dependencies]
snmp-sim = { path = ".", features = ["integration-tests"] }
actix-rt = "2.7.0"
tokio = { version = "1.17", features = ["macros"] }
reqwest = { version = "0.11", default-features = false, features = [
"json",
"rustls-tls",
] }
claim = "0.5.0"
demonstrate = "0.4.5"
cancellation = "0.1"
lazy_static = "1.4"
static_init = "1.0"
ctor = "0.1.22"
signal-child = "1"
[features]
integration-tests = ["visibility"]
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
lto = true
[workspace]
members = [
"snmp-sim-cli",
"crates/actix-async",
"crates/actix-async-codegen",
"crates/openapi-generator",
"crates/shared-common",
"crates/telemetry",
"crates/paperclip-restful",
"clients/rust",
"crates/rasn",
"crates/rasn/standards/smi",
"crates/rasn/standards/snmp",
]
[patch.crates-io]
paperclip = { git = "https://github.com/sonalake/paperclip", branch = "master" }