# 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 = "occlum-ratls" version = "0.4.5" authors = ["Ivan Chirkin "] description = "Lib for remote attestation between occlum instances" readme = "README.md" keywords = [ "occlum", "rustls", "ratls", ] license = "MIT OR Apache-2.0" repository = "https://github.com/aggregion/occlum-ratls" [[example]] name = "server" required-features = ["actix-web"] [[example]] name = "client" required-features = ["reqwest"] [dependencies.actix-http] version = "3.3" features = [ "http2", "ws", ] optional = true [dependencies.actix-service] version = "2" optional = true [dependencies.actix-web] version = "4.3.1" features = ["rustls"] optional = true [dependencies.log] version = "0.4.17" [dependencies.occlum-sgx] version = "^0.1.12" [dependencies.rcgen] version = "0.12.1" [dependencies.reqwest] version = "=0.11.16" features = ["__rustls"] optional = true [dependencies.ring] version = "0.17.8" [dependencies.rustls] version = "0.21.10" features = [ "dangerous_configuration", "logging", ] [dependencies.x509-parser] version = "0.15.0" [dev-dependencies.cargo-husky] version = "1" features = [ "precommit-hook", "run-cargo-test", "run-cargo-clippy", ] default-features = false [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.tokio] version = "1" features = ["full"] [features] actix-web = [ "dep:actix-web", "actix-service", "actix-http", ] default = [] occlum = [] reqwest = ["dep:reqwest"]