# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.73" name = "orc-rust" version = "0.5.0" authors = ["Apache ORC "] build = false include = [ "src/**/*.rs", "Cargo.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Implementation of Apache ORC file format using Apache Arrow in-memory format" homepage = "https://github.com/datafusion-contrib/orc-rust" readme = "README.md" keywords = [ "arrow", "orc", "arrow-rs", ] license = "Apache-2.0" repository = "https://github.com/datafusion-contrib/orc-rust" [package.metadata.docs.rs] all-features = true [profile.bench] debug = 2 [lib] name = "orc_rust" path = "src/lib.rs" [[bin]] name = "orc-export" path = "src/bin/orc-export.rs" required-features = ["cli"] [[bin]] name = "orc-metadata" path = "src/bin/orc-metadata.rs" required-features = ["cli"] [[bin]] name = "orc-stats" path = "src/bin/orc-stats.rs" required-features = ["cli"] [dependencies.anyhow] version = "1.0" optional = true [dependencies.arrow] version = "53" features = [ "prettyprint", "chrono-tz", ] [dependencies.async-trait] version = "0.1.77" optional = true [dependencies.bytemuck] version = "1.18.0" features = ["must_cast"] [dependencies.bytes] version = "1.4" [dependencies.chrono] version = "0.4.37" features = ["std"] default-features = false [dependencies.chrono-tz] version = "0.10" [dependencies.clap] version = "4.5.4" features = ["derive"] optional = true [dependencies.fallible-streaming-iterator] version = "0.1" [dependencies.flate2] version = "1" [dependencies.futures] version = "0.3" features = ["std"] optional = true default-features = false [dependencies.futures-util] version = "0.3" optional = true [dependencies.lz4_flex] version = "0.11" [dependencies.lzokay-native] version = "0.1" [dependencies.num] version = "0.4.1" [dependencies.opendal] version = "0.50" optional = true default-features = false [dependencies.prost] version = "0.13" [dependencies.snafu] version = "0.8" [dependencies.snap] version = "1.1" [dependencies.tokio] version = "1.28" features = [ "io-util", "sync", "fs", "macros", "rt", "rt-multi-thread", ] optional = true [dependencies.zstd] version = "0.13" [dev-dependencies.arrow-ipc] version = "53.0.0" features = ["lz4"] [dev-dependencies.arrow-json] version = "53.0.0" [dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] default-features = false [dev-dependencies.opendal] version = "0.50" features = ["services-memory"] default-features = false [dev-dependencies.pretty_assertions] version = "1.3.0" [dev-dependencies.proptest] version = "1.0.0" [dev-dependencies.serde_json] version = "1.0" features = ["std"] default-features = false [features] async = [ "async-trait", "futures", "futures-util", "tokio", ] cli = [ "anyhow", "clap", ] default = ["async"] opendal = ["dep:opendal"]