# 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]
authors = ["Apache OpenDAL <dev@opendal.apache.org>"]
description = "Cloud Filter Integration for Apache OpenDAL"
edition = "2021"
homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
name = "cloud_filter_opendal"
repository = "https://github.com/apache/opendal"
rust-version = "1.80"
version = "0.0.8"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"

[dependencies]
anyhow = "1.0.86"
bincode = "1.3.3"
cloud-filter = "0.0.5"
futures = "0.3.30"
log = "0.4.17"
opendal = { version = "0.53.0", path = "../../core" }
serde = { version = "1.0.203", features = ["derive"] }

[dev-dependencies]
libtest-mimic = { version = "0.8.1" }
logforth = { version = "0.23.1", default-features = false }
opendal = { version = "0.53.0", path = "../../core", features = [
  "services-fs",
  "tests",
] }
powershell_script = "1.1.0"
tokio = { version = "1.38.0", features = [
  "macros",
  "rt-multi-thread",
  "signal",
] }

[[test]]
harness = false
name = "behavior"
path = "tests/behavior/main.rs"
