| # 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 = "object_store" |
| version = "0.4.0" |
| edition = "2021" |
| license = "MIT/Apache-2.0" |
| readme = "README.md" |
| description = "A generic object store interface for uniformly interacting with AWS S3, Google Cloud Storage, Azure Blob Storage and local files." |
| keywords = [ |
| "object", |
| "storage", |
| "cloud", |
| ] |
| repository = "https://github.com/apache/arrow-rs" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| |
| [dependencies] # In alphabetical order |
| async-trait = "0.1.53" |
| # Microsoft Azure Blob storage integration |
| azure_core = { version = "0.2", optional = true, default-features = false, features = ["enable_reqwest_rustls"] } |
| azure_storage = { version = "0.2", optional = true, default-features = false, features = ["account"] } |
| azure_storage_blobs = { version = "0.2", optional = true, default-features = false, features = ["enable_reqwest_rustls"] } |
| bytes = "1.0" |
| chrono = { version = "0.4", default-features = false, features = ["clock"] } |
| # Google Cloud Storage integration |
| futures = "0.3" |
| serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } |
| serde_json = { version = "1.0", default-features = false, optional = true } |
| quick-xml = { version = "0.23.0", features = ["serialize"], optional = true } |
| rustls-pemfile = { version = "1.0", default-features = false, optional = true } |
| ring = { version = "0.16", default-features = false, features = ["std"], optional = true } |
| base64 = { version = "0.13", default-features = false, optional = true } |
| rand = { version = "0.8", default-features = false, features = ["std", "std_rng"], optional = true } |
| # for rusoto |
| hyper = { version = "0.14", optional = true, default-features = false } |
| # for rusoto |
| hyper-rustls = { version = "0.23.0", optional = true, default-features = false, features = ["webpki-tokio", "http1", "http2", "tls12"] } |
| itertools = "0.10.1" |
| percent-encoding = "2.1" |
| # rusoto crates are for Amazon S3 integration |
| rusoto_core = { version = "0.48.0", optional = true, default-features = false, features = ["rustls"] } |
| rusoto_credential = { version = "0.48.0", optional = true, default-features = false } |
| rusoto_s3 = { version = "0.48.0", optional = true, default-features = false, features = ["rustls"] } |
| rusoto_sts = { version = "0.48.0", optional = true, default-features = false, features = ["rustls"] } |
| snafu = "0.7" |
| tokio = { version = "1.18", features = ["sync", "macros", "parking_lot", "rt-multi-thread", "time", "io-util"] } |
| tracing = { version = "0.1" } |
| reqwest = { version = "0.11", default-features = false, features = ["rustls-tls"], optional = true } |
| parking_lot = { version = "0.12" } |
| # Filesystem integration |
| url = "2.2" |
| walkdir = "2" |
| |
| [features] |
| azure = ["azure_core", "azure_storage_blobs", "azure_storage", "reqwest"] |
| azure_test = ["azure", "azure_core/azurite_workaround", "azure_storage/azurite_workaround", "azure_storage_blobs/azurite_workaround"] |
| gcp = ["serde", "serde_json", "quick-xml", "reqwest", "reqwest/json", "reqwest/stream", "chrono/serde", "rustls-pemfile", "base64", "rand", "ring"] |
| aws = ["rusoto_core", "rusoto_credential", "rusoto_s3", "rusoto_sts", "hyper", "hyper-rustls"] |
| |
| [dev-dependencies] # In alphabetical order |
| dotenv = "0.15.0" |
| tempfile = "3.1.0" |
| futures-test = "0.3" |