content: [package]
  name = "cramjam-python"
  version = "2.12.0-rc1"
  authors = ["Miles Granger <miles59923@gmail.com>"]
  edition = "2021"
  license = "MIT"
  description = "Thin Python bindings to de/compression algorithms in Rust"
  readme = "README.md"
  exclude = ["benchmarks/", "benchmark-requirements.txt"]
  
  [[metadata.maturin]]
  python-source = "src/cramjam"
  
  [workspace]
  resolver = "3"
  members = ["cramjam-js", "."]
  
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  [lib]
  name = "cramjam"
  crate-type = ["cdylib"]
  
  [features]
  default                  = ["extension-module", "snappy", "lz4", "bzip2", "brotli", "xz", "zstd", "gzip", "zlib", "deflate"]
  experimental             = ["blosc2", "igzip", "ideflate", "izlib"]
  
  extension-module         = ["pyo3/extension-module"]
  generate-import-lib      = ["pyo3/generate-import-lib"]  # needed for Windows PyPy builds
  
  snappy                   = ["libcramjam/snappy"]
  lz4                      = ["libcramjam/lz4"]
  bzip2                    = ["libcramjam/bzip2"]
  brotli                   = ["libcramjam/brotli"]
  zstd                     = ["libcramjam/zstd"]
  
  xz                       = ["xz-static"]
  xz-static                = ["libcramjam/xz-static"]
  xz-shared                = ["libcramjam/xz-shared"]
  
  # ISA-L stuff
  igzip                    = ["igzip-static"]
  igzip-static             = ["libcramjam/igzip-static"]
  igzip-shared             = ["libcramjam/igzip-shared"]
  ideflate                 = ["ideflate-static"]
  ideflate-static          = ["libcramjam/ideflate-static"]
  ideflate-shared          = ["libcramjam/ideflate-shared"]
  izlib                    = ["izlib-static"]
  izlib-static             = ["libcramjam/izlib-static"]
  izlib-shared             = ["libcramjam/izlib-shared"]
  use-system-isal-static   = ["libcramjam/use-system-isal", "libcramjam/igzip-static"]
  use-system-isal-shared   = ["libcramjam/use-system-isal", "libcramjam/igzip-shared"]
  
  gzip                     = ["gzip-static"]
  gzip-static              = ["libcramjam/gzip-static"]
  gzip-shared              = ["libcramjam/gzip-shared"]
  
  zlib                     = ["zlib-static"]
  zlib-static              = ["libcramjam/zlib-static"]
  zlib-shared              = ["libcramjam/zlib-shared"]
  
  deflate                  = ["deflate-static"]
  deflate-static           = ["libcramjam/deflate-static"]
  deflate-shared           = ["libcramjam/deflate-shared"]
  
  blosc2                   = ["blosc2-static"]
  blosc2-static            = ["libcramjam/blosc2-static"]
  blosc2-shared            = ["libcramjam/blosc2-shared"]
  use-system-blosc2-static = ["libcramjam/use-system-blosc2", "libcramjam/blosc2-static"]
  use-system-blosc2-shared = ["libcramjam/use-system-blosc2", "libcramjam/blosc2-shared"]
  
  wasm32-compat            = ["libcramjam/wasm32-compat"]
  
  
  [dependencies]
  pyo3 = { version = "^0.25", default-features = false, features = ["macros"] }
  libcramjam = { version = "^0.8", default-features = false }
  
  [build-dependencies]
  pyo3-build-config = "^0.25"
  
  [profile.release]
  strip = true
  lto = "fat"
  codegen-units = 1
  opt-level = 3
  