Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
# This template contains all of the possible sections and their default values
# Note that all fields that take a lint level have these possible values:
# * deny - An error will be produced and the check will fail
# * warn - A warning will be produced, but the check will not fail
# * allow - No warning or error will be produced, though in some cases a note
# will be
# The values provided in this template are the default values that will be used
# when any section or field is not specified in your own configuration
# Root options
# The graph table configures how the dependency graph is constructed and thus
# which crates the checks are performed against
[graph]
# If 1 or more target triples (and optionally, target_features) are specified,
# only the specified targets will be checked when running `cargo deny check`.
# This means, if a particular package is only ever used as a target specific
# dependency, such as, for example, the `nix` crate only being used via the
# `target_family = "unix"` configuration, that only having windows targets in
# this list would mean the nix crate, as well as any of its exclusive
# dependencies not shared by any other crates, would be ignored, as the target
# list here is effectively saying which targets you are building for.
targets = [
# The triple can be any string, but only the target triples built in to
# rustc (as of 1.40) can be checked against actual config expressions
#"x86_64-unknown-linux-musl",
# You can also specify which target_features you promise are enabled for a
# particular target. target_features are currently not validated against
# the actual valid features supported by the target architecture.
#{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
]
# When creating the dependency graph used as the source of truth when checks are
# executed, this field can be used to prune crates from the graph, removing them
# from the view of cargo-deny. This is an extremely heavy hammer, as if a crate
# is pruned from the graph, all of its dependencies will also be pruned unless
# they are connected to another crate in the graph that hasn't been pruned,
# so it should be used with care. The identifiers are [Package ID Specifications]
# (https://doc.rust-lang.org/cargo/reference/pkgid-spec.html)
#exclude = []
# If true, metadata will be collected with `--all-features`. Note that this can't
# be toggled off if true, if you want to conditionally enable `--all-features` it
# is recommended to pass `--all-features` on the cmd line instead
all-features = false
# If true, metadata will be collected with `--no-default-features`. The same
# caveat with `all-features` applies
no-default-features = false
# If set, these feature will be enabled when collecting metadata. If `--features`
# is specified on the cmd line they will take precedence over this option.
#features = []
# The output table provides options for how/if diagnostics are outputted
[output]
# When outputting inclusion graphs in diagnostics that include features, this
# option can be used to specify the depth at which feature edges will be added.
# This option is included since the graphs can be quite large and the addition
# of features from the crate(s) to all of the graph roots can be far too verbose.
# This option can be overridden via `--feature-depth` on the cmd line
feature-depth = 1
# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
# The path where the advisory databases are cloned/fetched into
#db-path = "$CARGO_HOME/advisory-dbs"
# The url(s) of the advisory databases to use
#db-urls = ["https://github.com/rustsec/advisory-db"]
# A list of advisory IDs to ignore. Note that ignored advisories will still
# output a note when they are encountered.
ignore = [
{ id = "RUSTSEC-2023-0071", reason = "At the time of writing there is no patch for this" },
{ id = "RUSTSEC-2023-0089", reason = "Dependency from heapless 0.7, showing up in Cargo.lock but not used on std platforms. " },
{ id = "RUSTSEC-2024-0384", reason = "Cannot yet switch to web-time, due to a 3rd party openai dependency" },
{ id = "RUSTSEC-2024-0436", reason = "Paste is a 'finished' crate which is heavily depended on" },
{ id = "RUSTSEC-2024-0449", reason = "No patched release; serde_yaml is used only by local/CI YAML tooling, including docker-compose-types. Parser migration is separate from runtime changes." },
{ id = "RUSTSEC-2025-0012", reason = "Cannot remove dep due to 3rd party openai dependency" },
{ id = "RUSTSEC-2025-0057", reason = "We should switch to rustc-hash, but haven't got to that yet" },
{ id = "RUSTSEC-2026-0098", reason = "rustls-webpki 0.101.7 pinned by Stripe 0.41 via rustls 0.21" },
{ id = "RUSTSEC-2026-0099", reason = "rustls-webpki 0.101.7 pinned by Stripe 0.41 via rustls 0.21" },
{ id = "RUSTSEC-2026-0104", reason = "rustls-webpki 0.101.7 pinned by Stripe 0.41 via rustls 0.21" },
{ id = "RUSTSEC-2026-0173", reason = "proc-macro-error2 is unmaintained; transitive dependency pending upstream migration" },
{ id = "RUSTSEC-2026-0174", reason = "http-types unmaintained, transitive via async-stripe; no safe upgrade available" },
{ id = "RUSTSEC-2026-0179", reason = "postgres-protocol 0.6.11 is transitive via pgvector; database connections are to trusted infrastructure" },
{ id = "RUSTSEC-2026-0180", reason = "postgres-protocol 0.6.11 is transitive via pgvector; database connections are to trusted infrastructure" },
{ id = "RUSTSEC-2026-0247", reason = "bitmaps is unmaintained; transitive via im <- loro, pending loro moving off im" },
{ id = "RUSTSEC-2026-0248", reason = "im is unmaintained; direct dependency of loro, no upstream migration yet" },
{ id = "RUSTSEC-2026-0251", reason = "sized-chunks is unmaintained; transitive via im <- loro, pending loro moving off im" },
{ id = "RUSTSEC-2026-0253", reason = "lru 0.16.4 pinned by async-graphql; no patched release compatible yet, and the unsound path needs a panicking key Drop during pop()" },
{ id = "RUSTSEC-2026-0258", reason = "h2 0.3 (via Stripe 0.41's hyper-0.14 client) has no patched release; the hyper 1.x line is bumped to the patched 0.4.16" },
{ id = "RUSTSEC-2026-0346", reason = "Temporarily accepted for rustls 0.21 pinned by Stripe 0.41; other consumers use patched rustls 0.23.46" },
{ id = "RUSTSEC-2026-0349", reason = "Temporarily accepted for rustls 0.21 pinned by Stripe 0.41; other consumers use patched rustls 0.23.46" },
{ id = "RUSTSEC-2026-0441", reason = "pin-utils is unmaintained, not unsound; transitive via aws-smithy-http, -runtime and -types, no release without it yet" },
# 0.26.11 only re-exports webpki-roots 1.x; the bans below require patched roots.
# Remove this exception when SQLx and the remaining callers stop using the wrapper.
{ id = "RUSTSEC-2026-0381", reason = "webpki-roots 0.26.11 contains no certificates and re-exports patched 1.0.10; bans reject every other version below 1.0.10" },
{ id = "RUSTSEC-2026-0387", reason = "crypto-bigint 0.5.5 has no patched release; it is reached only through aws-sigv4's optional SigV4a (ECDSA) signing. 0.7 is updated to the patched 0.7.6" },
{ id = "RUSTSEC-2026-0441", reason = "pin-utils is unmaintained; reached only through the aws-smithy-http, aws-smithy-runtime and aws-smithy-types versions we lock. Their latest releases drop it, so remove this after the next AWS SDK upgrade" },
#{ id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
#"[email protected]", # you can also ignore yanked crate versions if you wish
#{ crate = "[email protected]", reason = "you can specify why you are ignoring the yanked crate" },
]
# If this is true, then cargo deny will use the git executable to fetch advisory database.
# If this is false, then it uses a built-in git library.
# Setting this to true can be helpful if you have special authentication requirements that cargo-deny does not support.
# See Git Authentication for more information about setting up git authentication.
#git-fetch-with-cli = true
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = [
"0BSD",
"Apache-2.0 WITH LLVM-exception",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"MPL-2.0",
"NCSA",
"Unicode-3.0",
"Zlib",
"bzip2-1.0.6",
]
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
# [possible values: any between 0.0 and 1.0].
confidence-threshold = 0.8
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
# aren't accepted for every possible crate as with the normal allow list
exceptions = [
# JSON Schema URI parsing; the published license is MIT No Attribution.
{ allow = ["MIT-0"], crate = "[email protected]" },
# Signal's libsignal, used by whatsmeow_signal; AGPL like this repository.
{ allow = ["AGPL-3.0-only"], crate = "libsignal-core" },
{ allow = ["AGPL-3.0-only"], crate = "libsignal-debug" },
# Each entry is the crate and version constraint, and its specific allow
# list
#{ allow = ["Zlib"], crate = "adler32" },
]
# Some crates don't have (easily) machine readable licensing information,
# adding a clarification entry for it allows you to manually specify the
# licensing information
[[licenses.clarify]]
# The package spec the clarification applies to
crate = "ring"
# The SPDX expression for the license requirements of the crate
expression = "MIT AND ISC AND OpenSSL"
# One or more files in the crate's source used as the "source of truth" for
# the license expression. If the contents match, the clarification will be used
# when running the license check, otherwise the clarification will be ignored
# and the crate will be checked normally, which may produce warnings or errors
# depending on the rest of your configuration
license-files = [
# Each entry is a crate relative path, and the (opaque) hash of its contents
{ path = "LICENSE", hash = 0xbd0eed23 },
]
[licenses.private]
# If true, ignores workspace crates that aren't published, or are only
# published to private registries.
# To see how to mark a crate as unpublished (to the official registry),
# visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.
ignore = true
# One or more private registries that you might publish crates to, if a crate
# is only published to private registries, and ignore is true, the crate will
# not have its license(s) checked
registries = [
#"https://sekretz.com/registry
]
# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "warn"
# Lint level for when a crate version requirement is `*`
wildcards = "allow"
# The graph highlighting used when creating dotgraphs for crates
# with multiple versions
# * lowest-version - The path to the lowest versioned duplicate is highlighted
# * simplest-path - The path to the version with the fewest edges is highlighted
# * all - Both lowest-version and simplest-path are used
highlight = "all"
# The default lint level for `default` features for crates that are members of
# the workspace that is being checked. This can be overridden by allowing/denying
# `default` on a crate-by-crate basis if desired.
workspace-default-features = "allow"
# The default lint level for `default` features for external crates that are not
# members of the workspace. This can be overridden by allowing/denying `default`
# on a crate-by-crate basis if desired.
external-default-features = "allow"
# List of crates that are allowed. Use with care!
allow = [
#"[email protected]",
#{ crate = "[email protected]", reason = "you can specify a reason it is allowed" },
]
# List of crates to deny
deny = [
# Preserve RUSTSEC-2026-0381 protection while allowing the certificate-free
# 0.26.11 compatibility wrapper. Its 1.x parent must also satisfy these bans.
{ crate = "webpki-roots:<0.26.11", reason = "Contains distrusted emSign roots (RUSTSEC-2026-0381)" },
{ crate = "webpki-roots:>0.26.11, <1.0.10", reason = "Contains distrusted emSign roots (RUSTSEC-2026-0381)" },
{ crate = "aws-config", wrappers = [
"aws-msk-iam-sasl-signer", # External crate, requires aws-config directly
"macro_aws_config",
"workspace-hack", # cargo-hakari generated crate
], reason = "Use macro_aws_config for AWS configuration in workspace crates" },
{ crate = "tracing-subscriber", wrappers = [
"agent", # GenAI span tests
"agent_harness", # Warm-claim and handshake span tests
"agent_inmem", # GenAI trace propagation tests
"agent_session", # GenAI span tests
"ai_billing", # Background usage span propagation tests only
"ai_toolset", # GenAI span tests
"channels", # Dev logging only
"coding_agent_worker", # Standalone daemon logging setup
"convert_service", # process_message span status tests only (dev-dependency)
"cursor_cloud_agents", # Standalone ACP binary logging; stdout is the protocol, so macro_entrypoint cannot own it
"dictation", # Metadata tracing and content-redaction tests only
"document_storage_service", # GraphQL telemetry span and log tests only (dev-dependency)
"documents", # Dev logging only
"email", # Dev logging only
"email_api_client", # Outlook transport span tests only
"email_db_client", # Purge phase span tests only
"forms", # Anonymous-response span and log leak tests only (dev-dependency)
"fusionauth", # Credential log leak tests only (dev-dependency)
"genai_telemetry", # GenAI span tests
"graphql_email", # Unavailable-thread warning field and span tests only
"graphql_entity_mutation", # Batch failure span field tests only
"lambda_runtime_api_client", # External crate allowed to use tracing-subscriber
"loom", # External concurrency testing dependency
"macro_entrypoint",
"macro_authorization", # Credential-redaction span tests only
"macro_tower_layers", # OpenTelemetry layer tests
"native_app_server", # Dev tooling only
"notification", # Call-push trace propagation and baggage-redaction tests only
"notification_sandbox", # This is not production code its just tooling
"opentelemetry-appender-tracing", # OpenTelemetry tracing-to-OTLP log bridge requires tracing-subscriber
"projects", # Dev logging only
"rootcause-tracing", # External rootcause integration requires tracing-subscriber
"sync_service", # Cloudflare/WASM tracing setup uses tracing-web
"tracing-opentelemetry", # OpenTelemetry integration requires tracing-subscriber
"tracing-panic", # External crate allowed to use tracing-subscriber
"tracing-tree",
"tracing-web", # External WASM tracing layer
"turso_core", # External Turso crate requires tracing-subscriber directly
"whatsapp_session_service", # Notification span propagation test only
"whatsmeow", # Span hierarchy and JID-redaction tests only
"worker-rs-otel", # Cloudflare/WASM OpenTelemetry integration
"workspace-hack", # cargo-hakari generated crate
], reason = "Use macro_entrypoint for tracing setup in workspace crates" },
]
# List of features to allow/deny
# Each entry the name of a crate and a version range. If version is
# not specified, all versions will be matched.
#[[bans.features]]
#crate = "reqwest"
# Features to not allow
#deny = ["json"]
# Features to allow
#allow = [
# "rustls",
# "__rustls",
# "__tls",
# "hyper-rustls",
# "rustls",
# "rustls-pemfile",
# "rustls-tls-webpki-roots",
# "tokio-rustls",
# "webpki-roots",
#]
# If true, the allowed features must exactly match the enabled feature set. If
# this is set there is no point setting `deny`
#exact = true
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
# These duplicates are due to complex dependency trees from AWS SDK, async-stripe, axum, and other major dependencies
{ crate = "base64", reason = "AWS SDK and other dependencies require different versions" },
{ crate = "bitflags", reason = "Different dependencies require different versions" },
{ crate = "core-foundation", reason = "Different dependencies require different versions" },
{ crate = "cpufeatures", reason = "Different dependencies require different versions" },
{ crate = "cssparser", reason = "HTML parsing dependencies version mismatch" },
{ crate = "darling", reason = "Derive macro dependencies version mismatch" },
{ crate = "darling_core", reason = "Derive macro dependencies version mismatch" },
{ crate = "darling_macro", reason = "Derive macro dependencies version mismatch" },
{ crate = "event-listener", reason = "Async dependencies version mismatch" },
{ crate = "fastrand", reason = "Different dependencies require different versions" },
{ crate = "foldhash", reason = "Hash function dependencies" },
{ crate = "getrandom", reason = "Random number generation dependencies" },
{ crate = "h2", reason = "HTTP/2 dependencies version mismatch" },
{ crate = "hashbrown", reason = "Different dependencies require different versions" },
{ crate = "heck", reason = "Different dependencies require different versions" },
{ crate = "html5ever", reason = "HTML parsing dependencies" },
{ crate = "http", reason = "Hyper and AWS SDK version mismatch" },
{ crate = "http-body", reason = "Hyper and AWS SDK version mismatch" },
{ crate = "hyper", reason = "AWS SDK uses older hyper version" },
{ crate = "hyper-rustls", reason = "TLS dependencies version mismatch" },
{ crate = "infer", reason = "File type detection dependencies" },
{ crate = "itertools", reason = "Various dependencies require different versions" },
{ crate = "jni", reason = "Different dependencies require different versions" },
{ crate = "jni-sys", reason = "Different dependencies require different versions" },
{ crate = "jsonwebtoken", reason = "Git fork and crates.io version coexist" },
{ crate = "markup5ever", reason = "HTML parsing dependencies" },
{ crate = "mio", reason = "Different dependencies require different versions" },
{ crate = "nix", reason = "Different dependencies require different versions" },
{ crate = "nom", reason = "Parser combinator dependencies" },
{ crate = "pastey", reason = "Macro dependencies version mismatch" },
{ crate = "phf", reason = "Perfect hash function dependencies" },
{ crate = "phf_codegen", reason = "Perfect hash function dependencies" },
{ crate = "phf_generator", reason = "Perfect hash function dependencies" },
{ crate = "phf_shared", reason = "Perfect hash function dependencies" },
{ crate = "prost", reason = "Protocol buffer dependencies version mismatch" },
{ crate = "prost-derive", reason = "Protocol buffer dependencies version mismatch" },
{ crate = "rand", reason = "Different dependencies require different versions" },
{ crate = "rand_chacha", reason = "Random number generation dependencies" },
{ crate = "rand_core", reason = "Different dependencies require different versions" },
{ crate = "reqwest", reason = "livekit-api pins reqwest 0.12 via services-tokio feature; workspace uses 0.13" },
{ crate = "rustc-hash", reason = "Hash function dependencies" },
{ crate = "rustls", reason = "TLS dependencies version mismatch" },
{ crate = "rustls-webpki", reason = "TLS dependencies version mismatch" },
{ crate = "selectors", reason = "CSS selector dependencies" },
{ crate = "serde_qs", reason = "Query string serialization dependencies" },
{ crate = "servo_arc", reason = "Arc implementation dependencies" },
{ crate = "siphasher", reason = "Hash function dependencies" },
{ crate = "smol_str", reason = "Different dependencies require different versions" },
{ crate = "socket2", reason = "Different dependencies require different versions" },
{ crate = "spin", reason = "Different dependencies require different versions" },
{ crate = "syn", reason = "Procedural macros require different versions" },
{ crate = "thiserror", reason = "Error handling dependencies" },
{ crate = "thiserror-impl", reason = "Error handling dependencies" },
{ crate = "tokio-rustls", reason = "Stripe 0.41 and modern TLS clients require different tokio-rustls versions" },
{ crate = "tower", reason = "Service framework dependencies" },
{ crate = "unicode-width", reason = "Unicode dependencies" },
{ crate = "wasi", reason = "WebAssembly system interface dependencies" },
{ crate = "windows-sys", reason = "Windows dependencies version mismatch" },
{ crate = "windows-targets", reason = "Windows dependencies" },
{ crate = "windows_aarch64_gnullvm", reason = "Windows dependencies" },
{ crate = "windows_aarch64_msvc", reason = "Windows dependencies" },
{ crate = "windows_i686_gnu", reason = "Windows dependencies" },
{ crate = "windows_i686_msvc", reason = "Windows dependencies" },
{ crate = "windows_x86_64_gnu", reason = "Windows dependencies" },
{ crate = "windows_x86_64_gnullvm", reason = "Windows dependencies" },
{ crate = "windows_x86_64_msvc", reason = "Windows dependencies" },
{ crate = "zip", reason = "Different dependencies require different versions" },
]
# Similarly to `skip` allows you to skip certain crates during duplicate
# detection. Unlike skip, it also includes the entire tree of transitive
# dependencies starting at the specified crate, up to a certain depth, which is
# by default infinite.
skip-tree = [
#"[email protected]", # will be skipped along with _all_ of its direct and transitive dependencies
#{ crate = "[email protected]", depth = 20 },
]
# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
unknown-registry = "warn"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "warn"
# List of URLs for allowed crate registries. Defaults to the crates.io index
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# List of URLs for allowed Git repositories
allow-git = [
"git+https://github.com/agentclientprotocol/rust-sdk",
"git+https://github.com/whutchinson98/jsonwebtoken",
]
[sources.allow-org]
# github.com organizations to allow git sources for
github = ["macro-inc"]
# gitlab.com organizations to allow git sources for
gitlab = []
# bitbucket.org organizations to allow git sources for
bitbucket = []