Skip to content

Commit 36903ab

Browse files
Reorganized cloudevents-sdk (cloudevents#28)
Signed-off-by: Francesco Guardiani <[email protected]>
1 parent 9b2f262 commit 36903ab

34 files changed

+36
-32
lines changed

Cargo.toml

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,4 @@
1-
[package]
2-
name = "cloudevents-sdk"
3-
version = "0.0.1"
4-
authors = ["Francesco Guardiani <[email protected]>"]
5-
license-file = "LICENSE"
6-
edition = "2018"
7-
description = "CloudEvents official Rust SDK"
8-
readme = "README.md"
9-
repository = "https://github.com/cloudevents/sdk-rust"
10-
11-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12-
13-
[dependencies]
14-
serde = { version = "^1.0", features = ["derive"] }
15-
serde_json = "^1.0"
16-
serde-value = "^0.6"
17-
chrono = { version = "^0.4", features = ["serde"] }
18-
delegate = "^0.4"
19-
uuid = { version = "^0.8", features = ["serde", "v4"] }
20-
hostname = "^0.1"
21-
base64 = "^0.12"
22-
url = { version = "^2.1", features = ["serde"] }
23-
snafu = "^0.6"
24-
25-
[dev-dependencies]
26-
rstest = "0.6"
27-
claim = "0.3.1"
28-
29-
[lib]
30-
name = "cloudevents"
1+
[workspace]
2+
members = [
3+
"cloudevents-sdk"
4+
]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Work in progress SDK for [CloudEvents](https://github.com/cloudevents/spec)
66

77
| | [v0.3](https://github.com/cloudevents/spec/tree/v0.3) | [v1.0](https://github.com/cloudevents/spec/tree/v1.0) |
88
| :---------------------------: | :----------------------------------------------------------------------------: | :---------------------------------------------------------------------------------: |
9-
| CloudEvents Core | :x: | :heavy_check_mark: |
9+
| CloudEvents Core | :heavy_check_mark: | :heavy_check_mark: |
1010
| AMQP Protocol Binding | :x: | :x: |
1111
| AVRO Event Format | :x: | :x: |
1212
| HTTP Protocol Binding | :x: | :x: |
13-
| JSON Event Format | :x: | :heavy_check_mark: |
13+
| JSON Event Format | :heavy_check_mark: | :heavy_check_mark: |
1414
| Kafka Protocol Binding | :x: | :x: |
1515
| MQTT Protocol Binding | :x: | :x: |
1616
| NATS Protocol Binding | :x: | :x: |

cloudevents-sdk/Cargo.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[package]
2+
name = "cloudevents-sdk"
3+
version = "0.0.1"
4+
authors = ["Francesco Guardiani <[email protected]>"]
5+
license-file = "LICENSE"
6+
edition = "2018"
7+
description = "CloudEvents official Rust SDK"
8+
readme = "README.md"
9+
repository = "https://github.com/cloudevents/sdk-rust"
10+
11+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12+
13+
[dependencies]
14+
serde = { version = "^1.0", features = ["derive"] }
15+
serde_json = "^1.0"
16+
serde-value = "^0.6"
17+
chrono = { version = "^0.4", features = ["serde"] }
18+
delegate = "^0.4"
19+
uuid = { version = "^0.8", features = ["serde", "v4"] }
20+
hostname = "^0.1"
21+
base64 = "^0.12"
22+
url = { version = "^2.1", features = ["serde"] }
23+
snafu = "^0.6"
24+
25+
[dev-dependencies]
26+
rstest = "0.6"
27+
claim = "0.3.1"
28+
29+
[lib]
30+
name = "cloudevents"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)