[package] name = "ockam_command" version = "0.143.0" authors = ["Ockam Developers"] categories = [ "cryptography", "asynchronous", "authentication", "network-programming", "embedded", ] default-run = "ockam" edition = "2021" exclude = ["tests/**"] homepage = "https://github.com/build-trust/ockam" keywords = [ "ockam", "crypto", "cryptography", "network-programming", "encryption", ] license = "Apache-2.0" publish = true readme = "README.md" repository = "https://github.com/build-trust/ockam/implementations/rust/ockam/ockam_command" rust-version = "1.70.0" description = "End-to-end encryption and mutual authentication for distributed applications." [[bin]] # You may be wondering "Why are the tests and docs disabled?". The long and # short of it is: To avoid certain bugs in `rustdoc`, `cargo`, and other tools # which have cases (even edge-cases) where they confuse the library (in # `../ockam`) and the `ockam` binary (in `./src/bin/ockam.rs`). I won't # enumerate them here, but an example: `rustdoc` will try to place the docs for # both of these in the same path, without realizing it, which may result in one # overwriting the other # # Anyway a result, we disable them for the binary crate, which is just a single # file (`src/bin/ockam.rs`) which contains a single function call into # `ockam_command` itself. This way, while there are no tests/docs for the binary # crate, it doesn't matter, since its just a shim for the `ockam_command` crate # anyway (which does not have its tests/docs disabled) name = "ockam" doc = false test = false path = "src/bin/ockam.rs" [build-dependencies] cfg_aliases = "0.2.1" [dependencies] arboard = "3.4.1" async-trait = "0.1" clap = { version = "4.5", features = ["derive", "cargo", "wrap_help"] } clap_complete = "4.5.28" clap_mangen = "0.2.23" colorful = "0.3" console = "0.15.8" ctrlc = { version = "3.4.4", features = ["termination"] } flate2 = "1.0.35" hex = "0.4" indicatif = "0.17.8" indoc = "2.0.5" miette = { version = "7.2.0", features = ["fancy-no-backtrace"] } minicbor = { version = "0.25.1", default-features = false, features = ["alloc", "derive"] } nix = { version = "0.29", features = ["signal"] } ockam = { path = "../ockam", version = "^0.143.0", features = ["software_vault"] } ockam_abac = { path = "../ockam_abac", version = "0.74.0", features = ["std"] } ockam_api = { path = "../ockam_api", version = "0.86.0", default-features = false, features = ["std"] } ockam_core = { path = "../ockam_core", version = "^0.121.0" } ockam_multiaddr = { path = "../ockam_multiaddr", version = "0.65.0", features = ["std"] } ockam_node = { path = "../ockam_node", version = "^0.133.0" } ockam_vault = { path = "../ockam_vault", version = "^0.126.0", default-features = false, features = ["storage", "std"] } once_cell = "1.19" open = "5.3.0" opentelemetry = { version = "0.26.0", features = ["metrics", "trace"] } pem-rfc7468 = { version = "0.7.0", features = ["std"] } r3bl_rs_utils_core = "0.9.12" r3bl_tui = "0.5.8" rand = "0.8" regex = "1.10.6" reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-native-roots", "blocking"] } rustls = { version = "0.23.13", default-features = false } rustls-native-certs = "0.8.0" rustls-pki-types = "1.7.0" semver = "1.0.23" serde = { version = "1", features = ["derive"] } serde_json = "1" serde_yaml = "0.9" shellexpand = { version = "3.1.0", default-features = false, features = ["base-0"] } syntect = { version = "5.2.0", default-features = false, features = ["default-syntaxes", "regex-onig"] } thiserror = "1" tokio = { version = "1.41.0", features = ["full"] } tokio-retry = "0.3" tracing = { version = "0.1", default-features = false } url = "2.5.2" which = "6.0.2" [dev-dependencies] assert_cmd = "2" mockito = "1.5.0" ockam_api = { path = "../ockam_api", version = "0.86.0", default-features = false, features = ["test-utils"] } ockam_macros = { path = "../ockam_macros", version = "^0.36.0" } proptest = "1.5.0" serial_test = "3.0.0" tempfile = "3.10.1" time = { version = "0.3", default-features = false, features = ["std", "local-offset"] } [features] default = ["orchestrator", "rust-crypto", "privileged_portals"] privileged_portals = ["ockam_api/privileged_portals"] orchestrator = [] aws-lc = ["ockam_vault/aws-lc", "ockam_api/aws-lc", "rustls/aws-lc-rs"] rust-crypto = ["ockam_vault/rust-crypto", "ockam_api/rust-crypto", "rustls/ring"]