blob: f0e3ad085399e307bed0df90827be25e9b25059e [file]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
[graph]
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
# Follow Apache OpenDAL's cargo-deny policy, with Maka's own dependency exceptions.
# https://github.com/apache/opendal/blob/main/deny.toml
[licenses]
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"MIT-0",
"Unicode-3.0",
"Unlicense",
"Zlib",
]
confidence-threshold = 0.8
# MPL sources are not vendored or included in Maka source releases. Binary
# distributions must identify these components and provide their license/source.
exceptions = [
# GPUI native/platform dependencies; no third-party source is vendored.
{ crate = "cbindgen@0.28.0", allow = ["MPL-2.0"] },
{ crate = "dwrote@0.11.5", allow = ["MPL-2.0"] },
{ crate = "cooked-waker@5.0.0", allow = ["MPL-2.0"] },
{ crate = "cssparser@0.36.0", allow = ["MPL-2.0"] },
{ crate = "cssparser@0.37.0", allow = ["MPL-2.0"] },
{ crate = "cssparser-macros@0.6.1", allow = ["MPL-2.0"] },
{ crate = "cssparser-macros@0.7.1", allow = ["MPL-2.0"] },
{ crate = "dtoa-short@0.3.5", allow = ["MPL-2.0"] },
{ crate = "selectors@0.38.0", allow = ["MPL-2.0"] },
{ crate = "option-ext@0.2.0", allow = ["MPL-2.0"] },
{ crate = "uniffi@0.31.0", allow = ["MPL-2.0"] },
{ crate = "uniffi_core@0.31.0", allow = ["MPL-2.0"] },
{ crate = "uniffi_internal_macros@0.31.0", allow = ["MPL-2.0"] },
{ crate = "uniffi_macros@0.31.0", allow = ["MPL-2.0"] },
{ crate = "uniffi_meta@0.31.0", allow = ["MPL-2.0"] },
{ crate = "uniffi_pipeline@0.31.0", allow = ["MPL-2.0"] },
]
# These Cua crates omit license metadata; the pinned repository LICENSE.md covers them.
[[licenses.clarify]]
crate = "cua-driver-contract@0.29.1"
expression = "MIT"
license-files = [{ path = "../../../../../LICENSE.md", hash = 0xd83541a2 }]
[[licenses.clarify]]
crate = "cua-driver-core@0.29.1"
expression = "MIT"
license-files = [{ path = "../../../../../LICENSE.md", hash = 0xd83541a2 }]
[[licenses.clarify]]
crate = "cursor-overlay@0.29.1"
expression = "MIT"
license-files = [{ path = "../../../../../LICENSE.md", hash = 0xd83541a2 }]
[[licenses.clarify]]
crate = "pip-preview@0.29.1"
expression = "MIT"
license-files = [{ path = "../../../../../LICENSE.md", hash = 0xd83541a2 }]
[[licenses.clarify]]
crate = "platform-linux@0.29.1"
expression = "MIT"
license-files = [{ path = "../../../../../LICENSE.md", hash = 0xd83541a2 }]
[[licenses.clarify]]
crate = "platform-macos@0.29.1"
expression = "MIT"
license-files = [{ path = "../../../../../LICENSE.md", hash = 0xd83541a2 }]
[[licenses.clarify]]
crate = "platform-windows@0.29.1"
expression = "MIT"
license-files = [{ path = "../../../../../LICENSE.md", hash = 0xd83541a2 }]
[sources]
allow-git = [
"https://github.com/maka-agent/cua",
"https://github.com/longbridge/gpui-fast",
"https://github.com/longbridge/gpui-kit",
"https://github.com/proptest-rs/proptest",
"https://github.com/zed-industries/font-kit",
"https://github.com/zed-industries/scap",
"https://github.com/zed-industries/wasm_thread",
"https://github.com/zed-industries/xim-rs",
]
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
unknown-git = "deny"
unknown-registry = "deny"