# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "smash-arc"
version = "0.2.1"
authors = ["jam1garner <8260240+jam1garner@users.noreply.github.com>"]
description = "A Rust library for working with Smash Ultimate's data.arc files"
documentation = "https://docs.rs/smash-arc"
license = "MIT"
repository = "https://github.com/jam1garner/smash-arc"
[package.metadata.docs.rs]
features = ["smash-runtime"]

[lib]
crate-type = ["lib", "cdylib"]
[dependencies.binread]
version = "1.4"

[dependencies.crc32fast]
version = "1.2"

[dependencies.lazy_static]
version = "1.4"
optional = true

[dependencies.modular-bitfield]
version = "0.10"

[dependencies.network-reader-adapter]
version = "0.1"
optional = true

[dependencies.parking_lot]
version = "0.11"
optional = true

[dependencies.ruzstd]
version = "=0.2.2"
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.zstd]
version = "0.5"
optional = true

[features]
default = ["dir-listing", "network"]
dir-listing = ["global-hashes"]
global-hashes = ["lazy_static", "parking_lot"]
libzstd = ["zstd"]
network = ["network-reader-adapter"]
nozstd = []
rust-zstd = ["ruzstd"]
smash-runtime = ["crc32fast/nightly"]
