The goal of this project is to support Rust in ZeroC Ice. Currently just client features and a small subset of ZeroC Ice features are implemented.
This quick start guide will cover a client for the ZeroC Ice Minimal Sample. Create a binary application with cargo new minimal-client
and add ice-rs
to your [build-dependencies]
and [dependencies]
. Now add a build.rs
file with the following content:
```Rust use ice_rs::slice::parser; use std::path::Path;
fn main() -> Result<(), Box
Now add the following to you main.rs
:
```Rust
use icers::communicator::Communicator;
use icers::iceobject::IceObject;
mod gen; use crate::gen::demo::{Hello, HelloPrx};
fn main() -> Result<(), Box
hello_prx.say_hello()
} ```
The status can be seen in the number of supported ZeroC Ice Demos.
Supported transports: - TCP - SSL
The main goal is to support all ZeroC Ice Demos.