Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
youngday committed Jun 16, 2024
1 parent a603e5f commit 965b4ed
Show file tree
Hide file tree
Showing 38 changed files with 18 additions and 5,638 deletions.
559 changes: 15 additions & 544 deletions Cargo.lock

Large diffs are not rendered by default.

58 changes: 0 additions & 58 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ tmq = { version = "0.4" }
tokio-serial = "5.4.4"
rumqttc = "0.24.0"
base64 = "0.22"
plotly = { version = "0.8.4",features = ["plotly_image", "plotly_ndarray","kaleido"]}

ndarray = "0.15.6"
rand = "0.8.5"
rand_distr = "0.4.3"
itertools = "0.13.0"
csv = "1.1.6"
#//TODO: to 0.25, used by plotly
image = "0.24.9"

iceoryx2 ="0.3"
Expand All @@ -64,18 +62,10 @@ zenoh-ext = "0.11.0-rc.3"
zenoh-util="0.11.0-rc.3"
#zenoh------

#grpc
prost = "0.12"
prost-build="0.12"
grpcio = "0.13.0"
prost-types = { version = "0.12", optional = true }
async-stream = "0.3"

axum = { version="0.7", features = ["ws"] }
axum-extra = { version="0.9", features = ["typed-header"] }
poem="3.0.1"
# # please uncomment for grpc
# poem-grpc = { version = "0.4.1", features = ["json-codec"] }

futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
headers = "0.4"
Expand Down Expand Up @@ -125,43 +115,6 @@ url = "2"
[build-dependencies]
poem-grpc-build="0.4.0"

[[example]]
name = "3d_charts"
path = "examples/plotly/3d_charts.rs"
[[example]]
name = "basic_charts"
path = "examples/plotly/basic_charts.rs"
[[example]]
name = "custom_controls"
path = "examples/plotly/custom_controls.rs"
[[example]]
name = "financial_charts"
path = "examples/plotly/financial_charts.rs"
[[example]]
name = "images"
path = "examples/plotly/images.rs"
[[example]]
name = "maps"
path = "examples/plotly/maps.rs"
[[example]]
name = "ndarray"
path = "examples/plotly/ndarray.rs"
[[example]]
name = "scientific_charts"
path = "examples/plotly/scientific_charts.rs"
[[example]]
name = "shapes"
path = "examples/plotly/shapes.rs"
[[example]]
name = "subplots"
path = "examples/plotly/subplots.rs"
[[example]]
name = "kaleido_png"
path = "examples/plotly/kaleido_png.rs"
[[example]]
name = "statistical_charts"
path = "examples/plotly/statistical_charts.rs"

# zenoh publish_subscribe
[[example]]
name = "zenoh_pub"
Expand Down Expand Up @@ -207,14 +160,3 @@ path = "examples/quic/client.rs"
name = "quic_server"
path = "examples/quic/server.rs"

# # please uncomment for grpc
# [[example]]
# name = "grpc-client"
# path = "examples/grpc_poem/helloworld/src/client.rs"

# [[example]]
# name = "grpc-server"
# path = "examples/grpc_poem/helloworld/src/server.rs"
# [[example]]
# name = "grpc-jsoncodec-server"
# path = "examples/grpc_poem/jsoncodec/src/server.rs"
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|rumqttc|paho-mqtt|mqtt of rust with tokio||
|tokio-serial|serial.rs|async serial port||
|base64||base64|encode decode|
|plot|plotly|plot data all you want|plot to web,easy than plotters|
|plot|plotly|plot data all you want|plot to web,easy than plotters,(https://github.com/youngday/easy_wasm_plotly)|
|zenoh|dds|pubsub dds ipc for ros |new realtime(10us) ipc |
|iceoryx2|dds|pubsub dds ipc for ros |new realtime(10us) ipc |
|poem_grpc| |tonic grpc |put ./proto build.rs files same as cargo.toml path |
Expand All @@ -34,12 +34,11 @@
|mqtt-asyncpubsub|mqtt client|mqtt with tokio , run mqtt broker ,before run client |
|serial-print|async serial port||
|base64|base64|encode decode|
|plot|plot data|plot to web |
|plot|plot data|https://github.com/youngday/easy_wasm_plotly |
|zenoh_pub,zenoh_sub|pub sub|pub sub|
|ice_pub,ice_sub|pub sub|pub sub|
|discovery|iceoryx2 discovery| |
|grpc-client,grpc-server,grpc-jsoncodec-server|poem grpc examples ,with json codec |⚠️
// please uncomment for grpc |
|grpc-client,grpc-server,grpc-jsoncodec-server|poem grpc examples ,with json codec |⚠️ grpc branch |
|ws_client,ws_server| | websocket |
|quic_server,quic_client|quic,http3|quic,http3|
## vscode build
Expand Down
29 changes: 0 additions & 29 deletions examples/grpc_poem/helloworld/src/client.rs

This file was deleted.

26 changes: 0 additions & 26 deletions examples/grpc_poem/helloworld/src/server.rs

This file was deleted.

34 changes: 0 additions & 34 deletions examples/grpc_poem/jsoncodec/src/server.rs

This file was deleted.

18 changes: 0 additions & 18 deletions examples/grpc_poem/middleware/Cargo.toml

This file was deleted.

10 changes: 0 additions & 10 deletions examples/grpc_poem/middleware/build.rs

This file was deleted.

37 changes: 0 additions & 37 deletions examples/grpc_poem/middleware/proto/helloworld.proto

This file was deleted.

21 changes: 0 additions & 21 deletions examples/grpc_poem/middleware/src/client.rs

This file was deleted.

27 changes: 0 additions & 27 deletions examples/grpc_poem/middleware/src/main.rs

This file was deleted.

32 changes: 0 additions & 32 deletions examples/grpc_poem/middleware/src/middleware.rs

This file was deleted.

15 changes: 0 additions & 15 deletions examples/grpc_poem/reflection/Cargo.toml

This file was deleted.

9 changes: 0 additions & 9 deletions examples/grpc_poem/reflection/build.rs

This file was deleted.

Loading

0 comments on commit 965b4ed

Please sign in to comment.