| # 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 = "opendal-cpp" | |
| publish = false | |
| authors = ["Apache OpenDAL <dev@opendal.apache.org>"] | |
| edition = "2024" | |
| homepage = "https://opendal.apache.org/" | |
| license = "Apache-2.0" | |
| repository = "https://github.com/apache/opendal" | |
| rust-version = "1.91" | |
| [lib] | |
| crate-type = ["staticlib"] | |
| [dependencies] | |
| anyhow = { version = "1.0.100" } | |
| asyncband = { version = "0.7.1", features = ["mutex"] } | |
| bytes = { version = "1.11.0", optional = true } | |
| cxx = { version = "1.0.186" } | |
| cxx-async = { version = "0.1.4", optional = true } | |
| futures = { version = "0.3.31" } | |
| # this crate won't be published, we always use the local version | |
| opendal = { version = ">=0", path = "../../core", features = ["blocking"] } | |
| tokio = { version = "1.27", features = ["fs", "macros", "rt-multi-thread"] } | |
| [build-dependencies] | |
| cxx-build = { version = "1.0.186" } | |
| [features] | |
| async = ["cxx-async", "cxx/c++20"] | |
| testing = ["dep:bytes"] |