GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ygree/cloudstate_rust

BranchesTags
Open more actions menu

Latest commit

 

History

152 Commits
152 Commits

Folders and files

NameName
Last commit message
Last commit date
cloudstate-core-derive
cloudstate-core-derive
 
 
cloudstate-core
cloudstate-core
 
 
cloudstate-server
cloudstate-server
 
 
protocols
protocols
 
 
shopping-cart-example
shopping-cart-example
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
DONE.md
DONE.md
 
 
README.md
README.md
 
 
TODO.md
TODO.md
 
 

Repository files navigation

Project

A Rust version of Cloudstate client application.

Run server: shoppingcart-server Run client: shoppingcart-client

Generate file descriptor proto for the shopping card example with: protocols/generate-desc // TODO it's a temporal solution and in generatl should be done in build.rs

Running TCK

Use github.com/cloudstateio/cloudstate

Set rust's frontend implementation in: tck/src/it/resources/application.conf

Run tests with: sbt tck/it:test

gRPC client

Bloom RPC

https://github.com/uw-labs/bloomrpc

NOTE: Set Import Paths to eventsourced-spike/protocols/protocol before importing event_sourced.proto. Otherwise, it will fail with:

Error while importing protos
no such Type or Enum 'ClientAction' in Type .cloudstate.eventsourced.EventSourcedReply

protocols

Contains original protobuf files.

Debug macro expansion

Couldn't find a way to instruct cargo expand to run against a single integration test.

The work-around is to declare a test as a binary in Cargo.toml, e.g.

[[bin]]
name = "shopping_cart_test"
path = "tests/shopping_cart_test.rs"

And then run cargo expand:

cargo expand --bin shopping_cart_test > tests/shopping_cart_test-expanded.rs

It will produce tests/shopping_cart_test-expanded.rs.

For some reason, it complains about the prost attribute:

   |
21 |     #[prost(string, tag = "1")]
   |       ^^^^^
error: cannot find attribute `prost` in this scope
  --> command-macro-derive/tests/shopping_cart.rs:23:7

That's because after expansion the derive macro declaration was removed but its prost attributes weren't removed.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.