[package] name = "image4" description = "A no_std-friendly library for parsing and generation of Image4 images written in pure Rust." version = "0.7.0" authors = ["turbocooler "] license = "MIT OR Apache-2.0" edition = "2021" rust-version = "1.65" categories = ["encoding", "no-std::no-alloc", "parser-implementations"] keywords = ["img4", "im4m", "im4p", "im4r", "iboot"] repository = "https://gitlab.com/turbocooler/image4-rs" documentation = "https://docs.rs/image4" [features] alloc = ["der/alloc", "serde?/alloc"] std = ["der/std", "signature?/std", "serde?/std", "alloc"] payload = ["property"] manifest = ["property"] restore_info = [] property = [] image = ["payload", "manifest", "restore_info"] signature = ["manifest", "alloc", "dep:signature"] default = ["alloc", "std", "image", "payload", "manifest", "restore_info", "property"] serde = ["dep:serde", "serde_bytes"] [dependencies] der = { version = "0.7", features = ["derive"] } x509-cert = { version = "0.2", default-features = false, optional = true } signature = { version = "2.1", optional = true } serde = { version = "1.0", features = ["derive"], default-features = false, optional = true } serde_bytes = { version = "0.11", optional = true } [dev-dependencies] der = { version = "0.7", features = ["derive", "alloc"] } rsa = { version = "0.9", features = ["sha2"] } serde_json = "1.0" hex-literal = "0.4" hex = "0.4" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]