blob: af77cc42c073db3039f85f5704d641534498f716 [file]
# 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.
[workspace]
resolver = "3"
members = [
"crates/apache-pulsar",
"crates/apache-pulsar-protocol",
"crates/apache-pulsar-testkit",
"checks/compio-checks",
"checks/first-contact",
"tools/perf",
"xtask",
]
default-members = [
"crates/apache-pulsar",
"crates/apache-pulsar-protocol",
"crates/apache-pulsar-testkit",
"tools/perf",
]
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/apache/pulsar-client-rust"
homepage = "https://pulsar.apache.org"
# The minimum supported Rust version, which is what compio needs (docs/1-scope.md ยง4). CI checks the published crates
# with it.
rust-version = "1.95"
[workspace.dependencies]
# Without its codecs: apache-pulsar forwards a feature for each, and the testkit takes them all.
apache-pulsar-protocol = { path = "crates/apache-pulsar-protocol", version = "=0.1.0", default-features = false }
# buffa is pinned exactly: the generated code in apache-pulsar-protocol is committed and must match the runtime.
buffa = "=0.9.2"
buffa-build = "=0.9.2"
buffa-descriptor = "=0.9.2"
bytes = "1.12"
compio = "0.19.2"
crc32c = "0.6"
thiserror = "2"
[workspace.lints.rust]
unsafe_code = "deny"
missing_debug_implementations = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }