[package] name = "mcai_worker_sdk" version = "2.2.1" authors = [ "Marc-Antoine Arnaud ", "Valentin Noel ", "Nicolas Pierre ", "Thibaud Le Graverend ", ] description = "AMQP Worker to listen and provide trait to process message" keywords = ["AMQP", "micro-service"] license = "MIT" repository = "https://gitlab.com/media-cloud-ai/sdks/rs_mcai_worker_sdk" homepage = "https://gitlab.com/media-cloud-ai/sdks/rs_mcai_worker_sdk" documentation = "https://docs.rs/mcai_worker_sdk" readme = "README.md" edition = "2018" [features] media = ["bytes", "ringbuf", "stainless_ffmpeg", "srt-protocol", "srt-tokio"] functional_testing = [] rabbitmq_testing = [] live_testing = [] processor_testing = [] local_processor_testing = ["processor_testing"] rabbitmq_processor_testing = ["processor_testing", "rabbitmq_testing"] media_local_processor_testing = ["media", "processor_testing"] media_rabbitmq_processor_testing = [ "media", "processor_testing", "rabbitmq_testing", "live_testing", ] [dependencies] amq-protocol = "6.0" amq-protocol-types = "6.0" amq-protocol-uri = "6.0" anyhow = "1.0.57" async-amqp = "1.1.0" async-std = { version = "1.9.0", features = ["unstable"] } bytes = { version = "1.0.1", optional = true } cargo_toml = "0.20.4" chrono = { version = "0.4", features = ["serde"] } cpu-time = "1.0.0" ctrlc = { version = "3.1", features = ["termination"] } env_logger = "^0.8" failure = "^0.1" futures = "^0.3" futures-util = "^0.3" futures-executor = "^0.3" futures-core = "^0.3" jsonschema = "0.16.0" lapin = "1.6" log = { version = "0.4.17", features = ["kv_unstable_serde"] } log4rs = { version = "1.2.0", features = ["file_appender"] } mcai-license = "0.1.0" reqwest = { version = "0.11", features = ["blocking", "json"] } schemars = "0.8.0" semver = { version = "0.11", features = ["serde"] } serde = { version = "^1.0", features = ["rc"] } serde_derive = "^1.0" serde_json = "^1.0" sysinfo = "^0.23.4" uuid = { version = "^0.8", features = ["serde", "v4"] } xml-rs = "0.8" yaserde = "^0.7" yaserde_derive = "^0.7" regex = "1" ## dependencies for media feature ringbuf = { version = "0.2.1", optional = true } stainless_ffmpeg = { version = "=0.3.10", optional = true } srt-protocol = { version = "0.4.3", optional = true } srt-tokio = { version = "0.4.3", optional = true } nvml-wrapper = "0.7.0" [dependencies.tokio] version = "1.1.0" features = [ "net", "time", "test-util", "macros", "io-util", "io-std", "sync", "rt", "rt-multi-thread", ] [dev-dependencies] async-std = { version = "1.9.0", features = ["attributes", "unstable"] } assert_approx_eq = "1.1.0" assert_matches = "1.3.0" mockito = "0.29" serial_test = "0.5.1" [build-dependencies] mcai_build = "0.3.1"