[package]
edition = "2024"
rust-version = "1.95"
name = "avanalyze"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Long-running Apple Vision.framework worker that analyses keyframes and emits mediaschema-shaped detections."
homepage = "https://github.com/Findit-AI/avanalyze"
documentation = "https://docs.rs/avanalyze"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Findit-AI/avanalyze"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
default-target = "aarch64-apple-darwin"
targets = []
[features]
default = ["serde?/default"]
serde = ["dep:serde"]
tracing = ["dep:tracing"]
[lib]
name = "avanalyze"
path = "src/lib.rs"
[[example]]
name = "foo"
path = "examples/foo.rs"
[[test]]
name = "audit_avanalyze_api"
path = "tests/audit_avanalyze_api.rs"
[[test]]
name = "audit_avanalyze_options"
path = "tests/audit_avanalyze_options.rs"
[[test]]
name = "audit_avanalyze_serde"
path = "tests/audit_avanalyze_serde.rs"
[[test]]
name = "audit_avanalyze_strict"
path = "tests/audit_avanalyze_strict.rs"
[[test]]
name = "foo"
path = "tests/foo.rs"
[[bench]]
name = "foo"
path = "benches/foo.rs"
harness = false
[dependencies.bytes]
version = "1"
[dependencies.mediaframe]
version = "0.1"
features = ["std"]
default-features = false
[dependencies.mediaschema]
version = "0.1"
features = [
"std",
"video",
]
default-features = false
[dependencies.mediatime]
version = "0.1"
features = ["std"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.smol_str]
version = "0.3"
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-core-foundation]
version = "0.3"
features = ["CFCGTypes"]
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-core-video]
version = "0.3"
features = [
"CVBase",
"CVBuffer",
"CVImageBuffer",
"CVPixelBuffer",
"CVReturn",
]
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"NSArray",
"NSString",
"NSData",
"NSError",
"NSObjCRuntime",
"NSIndexSet",
]
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-vision]
version = "0.3"
features = [
"objc2-core-foundation",
"objc2-core-video",
"alloc",
"VNRequest",
"VNRequestHandler",
"VNObservation",
"VNStatefulRequest",
"VNClassifyImageRequest",
"VNDetectFaceRectanglesRequest",
"VNDetectFaceLandmarksRequest",
"VNFaceLandmarks",
"VNDetectFaceCaptureQualityRequest",
"VNDetectHumanRectanglesRequest",
"VNRecognizeAnimalsRequest",
"VNDetectAnimalBodyPoseRequest",
"VNDetectHumanBodyPoseRequest",
"VNDetectHumanBodyPose3DRequest",
"VNDetectHumanHandPoseRequest",
"VNGeneratePersonInstanceMaskRequest",
"VNGeneratePersonSegmentationRequest",
"VNGeometry",
"VNRecognizedPoint3D",
"VNHumanBodyRecognizedPoint3D",
"VNDetectedPoint",
"VNTypes",
"VNGenerateAttentionBasedSaliencyImageRequest",
"VNGenerateObjectnessBasedSaliencyImageRequest",
"VNRecognizeTextRequest",
"VNDetectBarcodesRequest",
"VNCalculateImageAestheticsScoresRequest",
"VNDetectHorizonRequest",
"VNDetectDocumentSegmentationRequest",
]
[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(all_tests)",
"cfg(tarpaulin)",
]
[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
overflow-checks = false
incremental = false