[package] name = "himpp" version = "0.3.1" authors = ["Varphone Wong "] edition = "2018" # Metadata for Publish description = "Hi3XXX MPP API for Rust bindings." categories = ["embedded", "api-bindings"] documentation = "https://docs.rs/himpi-sys" repository = "https://github.com/varphone/himpi-sys.git" homepage = "https://github.com/varphone/himpp-rs" readme = "README.md" license = "MIT" [dependencies] cfg-if = "0.1" hifb-sys = { version = "0.1", optional = true } himipi-sys = { version = "0.1", optional = true } himpi-sys = { version = "0.1", optional = true } hitde-sys = { version = "0.1", optional = true } image = { version = "0.23", optional = true } imageproc = { version = "0.20", optional = true } libc = { version = "0.2", optional = true } pavo-common = "0.1" pavo-traits = "0.1" [build-dependencies] bindgen = "0.55" regex = "1.3" [dev-dependencies] clap = "2.33" poller = "0.2" [dev-dependencies.ffav] version = "4.3" features = [ "bundled", "disable-everything", "bsf-h264_metadata", "bsf-h264_mp4toannexb", "bsf-hevc_metadata", "bsf-hevc_mp4toannexb", "bsf-null", "demuxer-h264", "demuxer-hevc", "demuxer-mov", "demuxer-mpegts", "muxer-h264", "muxer-hevc", "muxer-mov", "muxer-mp4", "muxer-mpegts", "protocol-file", ] [features] default = [ ] static-link = [ "himpi-sys/static-link", "hitde-sys/static-link" ] hi3516ev200 = [] hi3516ev300 = [] hi3518ev200 = [] hi3518ev300 = [] hi3519av100 = [] hi3531v100 = [ "static-link", "hifb", "hifb-sys/hi3531v100", "himpi-sys/hi3531v100", "hitde", "hitde-sys/hi3531v100", "iomem", "mpi-audio", "mpi-ive", "mpi-region", "mpi-hdmi", "mpi-sys", "mpi-vb", "mpi-vdec", "mpi-venc", "mpi-vi", "mpi-vo", "mpi-vpss" ] hi3559av100 = [ "hifb", "hifb-sys/hi3559av100", "himipi", "himipi-sys/hi3559av100", "himpi-sys/hi3559av100", "hitde", "hitde-sys/hi3559av100", "iomem", "mpi-audio", "mpi-avs", "mpi-dsp", "mpi-gdc", "mpi-ive", "mpi-nnie", "mpi-region", "mpi-vgs", "mpi-hdmi", "mpi-sys", "mpi-vb", "mpi-vdec", "mpi-venc", "mpi-vi", "mpi-vo", "mpi-vpss" ] hifb = [ "hifb-sys", "libc" ] himipi = [ "himipi-sys" ] hitde = [ "hitde-sys", "image", "imageproc" ] iomem = [] mpi-ae = [ "himpi-sys/mpi-ae" ] mpi-audio = [ "himpi-sys/mpi-audio" ] mpi-avs = [ "himpi-sys/mpi-avs"] mpi-awb = [ "himpi-sys/mpi-awb" ] mpi-dpu = [ "himpi-sys/mpi-dpu" ] mpi-dsp = [ "himpi-sys/mpi-dsp" ] mpi-gdc = [ "himpi-sys/mpi-gdc" ] mpi-hdmi = [ "himpi-sys/mpi-hdmi" ] mpi-hdr = [ "himpi-sys/mpi-hdr" ] mpi-isp = [ "himpi-sys/mpi-isp" ] mpi-ive = [ "himpi-sys/mpi-ive"] mpi-nnie = [ "himpi-sys/mpi-nnie" ] mpi-pciv = [ "himpi-sys/mpi-pciv" ] mpi-photo = [ "himpi-sys/mpi-photo" ] mpi-region = [ "himpi-sys/mpi-region" ] mpi-snap = [ "himpi-sys/mpi-snap" ] mpi-sys = [ "himpi-sys/mpi-sys" ] mpi-vb = [ "himpi-sys/mpi-vb" ] mpi-vdec = [ "himpi-sys/mpi-vdec" ] mpi-venc = [ "himpi-sys/mpi-venc" ] mpi-vgs = [ "himpi-sys/mpi-vgs" ] mpi-vi = [ "himpi-sys/mpi-vi" ] mpi-vo = [ "himpi-sys/mpi-vo" ] mpi-vpss = [ "himpi-sys/mpi-vpss" ] [profile.release] codegen-units = 1 lto = true opt-level = 'z' panic = "abort"