| # 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 = "2021" |
| homepage = "https://opendal.apache.org/" |
| license = "Apache-2.0" |
| repository = "https://github.com/apache/opendal" |
| rust-version = "1.82" |
| |
| [lib] |
| crate-type = ["staticlib"] |
| |
| [dependencies] |
| anyhow = "1.0" |
| chrono = "0.4" |
| cxx = "1.0" |
| cxx-async = { version = "0.1.3", optional = true } |
| futures = "0.3" |
| # 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 = "1.0" |
| |
| [features] |
| async = ["cxx-async", "cxx/c++20"] |