# 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.70"
name = "alec-ffi"
version = "1.2.2"
authors = ["David Martin Venti <contact@alec-codec.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C/C++ bindings for ALEC compression library"
readme = "README.md"
keywords = [
    "compression",
    "iot",
    "ffi",
    "c-bindings",
    "embedded",
]
categories = [
    "compression",
    "external-ffi-bindings",
]
license = "AGPL-3.0"
repository = "https://github.com/zeekmartin/alec-codec"

[features]
bare-metal = [
    "no_std",
    "embedded-alloc",
    "cortex-m",
]
default = ["std"]
no_std = ["alec/no_std"]
std = ["alec/std"]
zephyr = ["no_std"]

[lib]
name = "alec_ffi"
crate-type = [
    "staticlib",
    "cdylib",
]
path = "src/lib.rs"

[dependencies.alec]
version = "1.2"
default-features = false

[dependencies.cortex-m]
version = "0.7"
features = ["critical-section-single-core"]
optional = true

[dependencies.embedded-alloc]
version = "0.6"
features = ["llff"]
optional = true
default-features = false

[dev-dependencies.tempfile]
version = "3.10"

[build-dependencies.cbindgen]
version = "0.26"
