# 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.66" name = "opencv" version = "0.93.4" authors = [ "Pro ", "Mathieu Poumeyrol ", ] build = "build.rs" exclude = [ "/.github", "/ci", "/tools", ".editorconfig", ".gitattributes", ".gitignore", "release.toml", "rustfmt.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings for OpenCV" documentation = "https://docs.rs/opencv" readme = "README.md" keywords = [ "opencv", "vision", ] license = "MIT" repository = "https://github.com/twistedfall/opencv-rust" [package.metadata.docs.rs] no-default-features = true [lib] name = "opencv" path = "src/lib.rs" doctest = false [[example]] name = "camera_calibration" path = "examples/camera_calibration.rs" [[example]] name = "create_mask" path = "examples/create_mask.rs" [[example]] name = "cuda" path = "examples/cuda.rs" [[example]] name = "discrete_fourier_transform" path = "examples/discrete_fourier_transform.rs" [[example]] name = "dnn_face_detect" path = "examples/dnn_face_detect.rs" [[example]] name = "gapi_api_example" path = "examples/gapi_api_example.rs" [[example]] name = "hough_circle" path = "examples/hough_circle.rs" [[example]] name = "hough_lines" path = "examples/hough_lines.rs" [[example]] name = "opencl" path = "examples/opencl.rs" [[example]] name = "text_detection" path = "examples/text_detection.rs" [[example]] name = "video_capture" path = "examples/video_capture.rs" [[example]] name = "video_capture_http_stream" path = "examples/video_capture_http_stream.rs" [[example]] name = "video_facedetect" path = "examples/video_facedetect.rs" [[example]] name = "video_features" path = "examples/video_features.rs" [[example]] name = "video_to_gray" path = "examples/video_to_gray.rs" [[example]] name = "warp_perspective_demo" path = "examples/warp_perspective_demo.rs" [[example]] name = "window" path = "examples/window.rs" [[test]] name = "boxed" path = "tests/boxed.rs" [[test]] name = "boxed_ref" path = "tests/boxed_ref.rs" [[test]] name = "build" path = "tests/build.rs" [[test]] name = "core" path = "tests/core.rs" [[test]] name = "core_only_latest_opencv" path = "tests/core_only_latest_opencv.rs" [[test]] name = "dnn" path = "tests/dnn.rs" [[test]] name = "enumeration" path = "tests/enumeration.rs" [[test]] name = "features2d" path = "tests/features2d.rs" [[test]] name = "imgcodecs" path = "tests/imgcodecs.rs" [[test]] name = "imgproc" path = "tests/imgproc.rs" [[test]] name = "inplace" path = "tests/inplace.rs" [[test]] name = "input_output_array" path = "tests/input_output_array.rs" [[test]] name = "marshalling" path = "tests/marshalling.rs" [[test]] name = "marshalling_only_latest_opencv" path = "tests/marshalling_only_latest_opencv.rs" [[test]] name = "mat" path = "tests/mat.rs" [[test]] name = "mat_ops" path = "tests/mat_ops.rs" [[test]] name = "matx" path = "tests/matx.rs" [[test]] name = "ml" path = "tests/ml.rs" [[test]] name = "objdetect" path = "tests/objdetect.rs" [[test]] name = "opencl" path = "tests/opencl.rs" [[test]] name = "point" path = "tests/point.rs" [[test]] name = "point3" path = "tests/point3.rs" [[test]] name = "rect" path = "tests/rect.rs" [[test]] name = "size" path = "tests/size.rs" [[test]] name = "slice" path = "tests/slice.rs" [[test]] name = "slice_from_null" path = "tests/slice_from_null.rs" [[test]] name = "smart_ptr" path = "tests/smart_ptr.rs" [[test]] name = "stitching" path = "tests/stitching.rs" [[test]] name = "umat" path = "tests/umat.rs" [[test]] name = "vec" path = "tests/vec.rs" [[test]] name = "vector" path = "tests/vector.rs" [[test]] name = "videoio" path = "tests/videoio.rs" [dependencies.libc] version = "0.2" [dependencies.num-traits] version = "0.2" [dependencies.once_cell] version = "1" [dependencies.rgb] version = "0.8.20" features = ["argb"] optional = true [dev-dependencies.cc] version = ">=1.0.83" features = ["parallel"] [dev-dependencies.dunce] version = "1" [dev-dependencies.jobserver] version = "0.1" [dev-dependencies.matches] version = "0.1" [dev-dependencies.once_cell] version = "1" [dev-dependencies.opencv-binding-generator] version = "0.93.0" [dev-dependencies.pkg-config] version = "0.3" [dev-dependencies.semver] version = "1" [dev-dependencies.shlex] version = "1.3" default-features = false [dev-dependencies.vcpkg] version = "0.2.9" [build-dependencies.cc] version = "1.0.83" features = ["parallel"] [build-dependencies.dunce] version = "1" [build-dependencies.jobserver] version = "0.1" [build-dependencies.once_cell] version = "1" [build-dependencies.opencv-binding-generator] version = "0.93.0" [build-dependencies.pkg-config] version = "0.3" [build-dependencies.semver] version = "1" [build-dependencies.shlex] version = "1.3" default-features = false [build-dependencies.vcpkg] version = "0.2.9" [features] alphamat = [] aruco = [] aruco_detector = ["aruco"] barcode = [] bgsegm = ["video"] bioinspired = [] calib3d = ["features2d"] ccalib = ["features2d"] clang-runtime = ["opencv-binding-generator/clang-runtime"] cudaarithm = [] cudabgsegm = ["video"] cudacodec = [] cudafeatures2d = ["features2d"] cudafilters = [] cudaimgproc = ["imgproc"] cudaobjdetect = ["objdetect"] cudaoptflow = [] cudastereo = ["calib3d"] cudawarping = [] cvv = [] default = [ "alphamat", "aruco", "aruco_detector", "barcode", "bgsegm", "bioinspired", "calib3d", "ccalib", "cudaarithm", "cudabgsegm", "cudacodec", "cudafeatures2d", "cudafilters", "cudaimgproc", "cudaobjdetect", "cudaoptflow", "cudastereo", "cudawarping", "cvv", "dnn", "dnn_superres", "dpm", "face", "features2d", "flann", "freetype", "fuzzy", "gapi", "hdf", "hfs", "highgui", "img_hash", "imgcodecs", "imgproc", "intensity_transform", "line_descriptor", "mcc", "ml", "objdetect", "optflow", "ovis", "phase_unwrapping", "photo", "plot", "quality", "rapid", "rgbd", "saliency", "sfm", "shape", "stereo", "stitching", "structured_light", "superres", "surface_matching", "text", "tracking", "video", "videoio", "videostab", "viz", "wechat_qrcode", "xfeatures2d", "ximgproc", "xobjdetect", "xphoto", ] dnn = [] dnn_superres = [] dpm = [] face = ["objdetect"] features2d = ["flann"] flann = [] freetype = [] fuzzy = [] gapi = [] hdf = [] hfs = [] highgui = [] img_hash = [] imgcodecs = [] imgproc = [] intensity_transform = [] line_descriptor = [] mcc = ["dnn"] ml = [] objdetect = [] optflow = ["video"] ovis = [] phase_unwrapping = [] photo = [] plot = [] quality = ["ml"] rapid = [] rgbd = [] saliency = [] sfm = [] shape = [] stereo = [] stitching = [ "features2d", "imgproc", ] structured_light = [] superres = [] surface_matching = [] text = [] tracking = ["video"] video = [] videoio = [] videostab = ["features2d"] viz = [] wechat_qrcode = [] xfeatures2d = ["features2d"] ximgproc = ["calib3d"] xobjdetect = [] xphoto = ["photo"] [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58" features = [ "Win32_Graphics_Direct3D9", "Win32_Graphics_Direct3D10", "Win32_Graphics_Direct3D11", ] [badges.maintenance] status = "actively-developed"