| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| [package] |
| name = "iggy_examples" |
| version = "0.0.6" |
| edition = "2024" |
| license = "Apache-2.0" |
| |
| [dependencies] |
| ahash = { workspace = true } |
| anyhow = { workspace = true } |
| bytes = { workspace = true } |
| chrono = { workspace = true } |
| clap = { workspace = true } |
| futures-util = { workspace = true } |
| iggy = { workspace = true } |
| lz4_flex = { workspace = true } |
| rand = { workspace = true } |
| serde = { workspace = true } |
| serde_json = { workspace = true } |
| thiserror = { workspace = true } |
| tokio = { workspace = true } |
| tracing = { workspace = true } |
| tracing-subscriber = { workspace = true } |
| |
| [[example]] |
| name = "getting-started-consumer" |
| path = "src/getting-started/consumer/main.rs" |
| |
| [[example]] |
| name = "getting-started-producer" |
| path = "src/getting-started/producer/main.rs" |
| |
| [[example]] |
| name = "basic-consumer" |
| path = "src/basic/consumer/main.rs" |
| |
| [[example]] |
| name = "basic-producer" |
| path = "src/basic/producer/main.rs" |
| |
| [[example]] |
| name = "message-envelope-consumer" |
| path = "src/message-envelope/consumer/main.rs" |
| |
| [[example]] |
| name = "message-envelope-producer" |
| path = "src/message-envelope/producer/main.rs" |
| |
| [[example]] |
| name = "message-headers-type-consumer" |
| path = "src/message-headers/message-type/consumer/main.rs" |
| |
| [[example]] |
| name = "message-headers-type-producer" |
| path = "src/message-headers/message-type/producer/main.rs" |
| |
| [[example]] |
| name = "message-headers-compression-consumer" |
| path = "src/message-headers/message-compression/consumer/main.rs" |
| |
| [[example]] |
| name = "message-headers-compression-producer" |
| path = "src/message-headers/message-compression/producer/main.rs" |
| |
| [[example]] |
| name = "typed-headers-consumer" |
| path = "src/message-headers/typed-headers/consumer/main.rs" |
| |
| [[example]] |
| name = "typed-headers-producer" |
| path = "src/message-headers/typed-headers/producer/main.rs" |
| |
| [[example]] |
| name = "multi-tenant-consumer" |
| path = "src/multi-tenant/consumer/main.rs" |
| |
| [[example]] |
| name = "multi-tenant-producer" |
| path = "src/multi-tenant/producer/main.rs" |
| |
| [[example]] |
| name = "new-sdk-consumer" |
| path = "src/new-sdk/consumer/main.rs" |
| |
| [[example]] |
| name = "new-sdk-producer" |
| path = "src/new-sdk/producer/main.rs" |
| |
| [[example]] |
| name = "stream-basic" |
| path = "src/stream-builder/stream-basic/main.rs" |
| |
| [[example]] |
| name = "stream-consumer" |
| path = "src/stream-builder/stream-consumer/main.rs" |
| |
| [[example]] |
| name = "stream-consumer-config" |
| path = "src/stream-builder/stream-consumer-config/main.rs" |
| |
| [[example]] |
| name = "stream-producer" |
| path = "src/stream-builder/stream-producer/main.rs" |
| |
| [[example]] |
| name = "stream-producer-config" |
| path = "src/stream-builder/stream-producer-config/main.rs" |
| |
| [[example]] |
| name = "sink-data-producer" |
| path = "src/sink-data-producer/main.rs" |