Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: publish to crates.io #81

Merged
merged 4 commits into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
name = "numaflow"
version = "0.1.0"
edition = "2021"
rust-version = "1.80"
description = "Rust SDK for Numaflow"
authors = ["Numaflow Developers"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://numaproj.github.io/numaflow/"
repository = "https://github.com/numaproj/numaflow-rs"
keywords = ["numaflow", "streaming", "messaging", "event-driven"]
categories = ["network-programming", "api-bindings"]


[lib]
name = "numaflow"
Expand Down
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,8 @@ and [User Defined Sinks](https://numaflow.numaproj.io/user-guide/sinks/user-defi
> most of the features. You may use this crate but there might be
> few minor changes in the upcoming releases.


## Cargo Dependency
Until we publish the crate, you will have to provide the
git location.

```toml
numaflow = { git = "https://github.com/numaproj/numaflow-rs.git", branch="main" }
```

## Examples

You may find examples in the [examples folder](./examples).

## Documentation

Please run the following to get the `numaflow` crate documentation.
This work around will be in effect until we finalize the SDK contract
and officially publish the crate.

```bash
$ cargo doc -p numaflow --open
```
3 changes: 1 addition & 2 deletions src/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ use tracing::info;

pub(crate) const MAP_MODE_KEY: &str = "MAP_MODE";
pub(crate) const UNARY_MAP: &str = "unary-map";
pub(crate) const STREAM_MAP: &str = "stream-map";
pub(crate) const BATCH_MAP: &str = "batch-map";
const MINIMUM_NUMAFLOW_VERSION: &str = "1.2.0-rc4";
const MINIMUM_NUMAFLOW_VERSION: &str = "1.3.1";

// ServerInfo structure to store server-related information
#[derive(Serialize, Deserialize, Debug)]
Expand Down
Loading