# 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"
name = "swf"
version = "0.2.0"
authors = ["Ruffle LLC <ruffle@ruffle.rs>"]
description = "Read and write the Adobe Flash SWF file format."
homepage = "https://github.com/ruffle-rs/ruffle"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ruffle-rs/ruffle"
resolver = "2"

[dependencies.bitflags]
version = "1.3.2"

[dependencies.bitstream-io]
version = "1.5.0"

[dependencies.byteorder]
version = "1.4"

[dependencies.encoding_rs]
version = "0.8.31"

[dependencies.flate2]
version = "1.0"
optional = true

[dependencies.libflate]
version = "1.2"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.lzma-rs]
version = "0.2.0"
optional = true

[dependencies.num-derive]
version = "0.3"

[dependencies.num-traits]
version = "0.2"

[features]
default = [
    "flate2",
    "lzma",
]
lzma = ["lzma-rs"]
