# 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" name = "modality-mutator-server" version = "0.3.0" description = "An HTTP server template that can be used to serve mutators to Modality." homepage = "https://auxon.io/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/auxoncorp/modality-sdk" [[example]] name = "no_mutators" required-features = ["server"] [[example]] name = "single_mutator" required-features = ["server"] [[example]] name = "multi_mutator" required-features = ["server"] [dependencies.async-trait] version = "0.1.52" optional = true [dependencies.axum] version = "0.6" optional = true [dependencies.modality-mutator-protocol] version = "0.3" features = ["serde"] [dependencies.parking_lot] version = "0.12.0" optional = true [dependencies.percent-encoding] version = "2.1.0" optional = true [dependencies.reqwest] version = "0.11" features = [ "blocking", "stream", "json", "default-tls", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" features = ["float_roundtrip"] optional = true [dependencies.tokio] version = "1" features = ["sync"] optional = true [dependencies.tracing] version = "0.1" optional = true [dependencies.utoipa] version = "3.0" features = [ "uuid", "axum_extras", ] optional = true [dependencies.utoipa-swagger-ui] version = "3.0" features = ["axum"] optional = true [dependencies.uuid] version = "1" features = [ "std", "v4", "v5", "serde", ] default-features = false [dev-dependencies.async-trait] version = "0.1.52" [dev-dependencies.clap] version = "4.3" features = [ "color", "derive", "env", ] [dev-dependencies.modality-plugin-utils] version = "0.3" [dev-dependencies.reqwest] version = "0.11" features = [ "blocking", "stream", "json", "default-tls", ] default-features = false [dev-dependencies.tokio] version = "1" features = [ "macros", "sync", "time", "tracing", ] [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "tracing-log", ] [features] default = [] server = [ "async-trait", "axum", "parking_lot", "percent-encoding", "serde_json", "tracing", "tokio", "utoipa", "utoipa-swagger-ui", ]