compression-rs 0.2.0

Safe Rust bindings for Apple's Compression and AppleArchive APIs on macOS
Documentation
# 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.76"
name = "compression-rs"
version = "0.2.0"
authors = ["Per Johansson <per@doom.fish>"]
build = "build.rs"
include = [
    "src/**/*",
    "examples/**/*",
    "tests/**/*",
    "swift-bridge/**/*",
    "build.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE-*",
    "CHANGELOG.md",
    "COVERAGE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for Apple's Compression and AppleArchive APIs on macOS"
homepage = "https://github.com/doom-fish/compression-rs"
readme = "README.md"
keywords = [
    "compression",
    "applearchive",
    "macos",
    "lzfse",
    "brotli",
]
categories = [
    "compression",
    "api-bindings",
    "os::macos-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/doom-fish/compression-rs"

[package.metadata.docs.rs]
all-features = true
default-target = "aarch64-apple-darwin"
targets = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
default = []
raw-ffi = []

[lib]
name = "compression"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "01_roundtrip"
path = "examples/01_roundtrip.rs"

[[example]]
name = "02_compression_encode_one_shot"
path = "examples/02_compression_encode_one_shot.rs"

[[example]]
name = "03_compression_decode_one_shot"
path = "examples/03_compression_decode_one_shot.rs"

[[example]]
name = "04_aa_archive_stream_roundtrip"
path = "examples/04_aa_archive_stream_roundtrip.rs"

[[example]]
name = "05_aa_byte_stream_pipeline"
path = "examples/05_aa_byte_stream_pipeline.rs"

[[example]]
name = "06_aa_entry_stream_path_list"
path = "examples/06_aa_entry_stream_path_list.rs"

[[example]]
name = "07_aa_field_key_set"
path = "examples/07_aa_field_key_set.rs"

[[example]]
name = "08_aa_header_roundtrip"
path = "examples/08_aa_header_roundtrip.rs"

[[test]]
name = "aa_archive_stream_tests"
path = "tests/aa_archive_stream_tests.rs"

[[test]]
name = "aa_byte_stream_tests"
path = "tests/aa_byte_stream_tests.rs"

[[test]]
name = "aa_entry_stream_tests"
path = "tests/aa_entry_stream_tests.rs"

[[test]]
name = "aa_field_key_tests"
path = "tests/aa_field_key_tests.rs"

[[test]]
name = "aa_header_tests"
path = "tests/aa_header_tests.rs"

[[test]]
name = "compression_decode_tests"
path = "tests/compression_decode_tests.rs"

[[test]]
name = "compression_encode_tests"
path = "tests/compression_encode_tests.rs"

[[test]]
name = "compression_stream_tests"
path = "tests/compression_stream_tests.rs"

[dependencies]

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]

[profile.release]
debug = 2
strip = "none"