# 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 = ["OpenDAL Contributors <dev@opendal.apache.org>"]
categories = ["filesystem"]
description = "OpenDAL Command Line Interface"
edition = "2021"
homepage = "https://opendal.apache.org/"
keywords = ["storage", "data", "s3", "fs", "azblob"]
license = "Apache-2.0"
name = "oli"
repository = "https://github.com/apache/incubator-opendal"
version = "0.30.5"

[features]
# Enable services dashmap support
services-dashmap = ["opendal/services-dashmap"]
# Enable services ftp support
services-ftp = ["opendal/services-ftp"]
# Enable services hdfs support
services-hdfs = ["opendal/services-hdfs"]
# Enable services ipfs support
services-ipfs = ["opendal/services-ipfs"]
# Enable services memcached support
services-memcached = ["opendal/services-memcached"]
# Enable services moka support
services-moka = ["opendal/services-moka"]
# Enable services redis support
services-redis = ["opendal/services-redis"]
# Enable services rocksdb support
services-rocksdb = ["opendal/services-rocksdb"]
# Enable services sled support
services-sled = ["opendal/services-sled"]

[dependencies]
anyhow = "1"
clap = { version = "4", features = ["cargo", "string"] }
dirs = "5.0.0"
env_logger = "0.10"
futures = "0.3"
log = "0.4"
opendal = { version = "0.30", path = "../../core" }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1.26", features = ["fs", "macros", "rt-multi-thread", "io-std"] }
toml = "0.7.3"
url = "2.3.1"

[dev-dependencies]
assert_cmd = "2"
predicates = "2"
