diff --git a/docs/telemetry.md b/docs/telemetry.md index ddb01c128..e7283c8e1 100644 --- a/docs/telemetry.md +++ b/docs/telemetry.md @@ -218,6 +218,8 @@ Since 0.1.134, physical iOS capture runs in the shared `ios-mirror-service` Node `ios.mirror.shared.captures` and `ios.mirror.shared.subscribers` report active counts. `ios.mirror.shared.queue_dropped` counts frames discarded by subscriber queue overflow. Counts aggregate in 30-second windows and flush on service shutdown, using the simulator surface and physical iOS context. No per-frame events, device identifiers, subscription IDs, payloads, or paths are sent. The service clears its collection timer on shutdown and honors telemetry opt-out. +Apple TV mirroring adds `ios.mirror.shared.apple_tv_captures` (a gauge on the same 30-second window) and `ios.mirror.stream_configured`, one count per decoder configuration, with the closed attributes `device_os` (`ios`/`tvos`) and `stream_class` (`uhd`/`hd`/`sd` × `8bit`/`10bit`), so 4K HDR streams are separable from SD ones. The panel counts `ui.video.ios.degraded` once per degraded (screenshot) mirror session. The native helper's own timings (`Connect`, `FrameProcess`, `Input`) are unchanged and carry no attributes, so they need no rebuild of the shared telemetry. Device identifiers, pairing records and addresses are never sent. + Since 0.1.170, a physical iOS bezel that can't be rendered no longer fails `mobile_ios_mirror_session`. Mirroring opens without the frame, and an unexpected render failure reports a handled `ios-mirror.bezel` error. The server keeps a missing frame for five minutes, so each hardware model reports at most once in that window instead of on every panel reconnect. A device type that Xcode doesn't have is expected: it counts as an `unsupported_platform` outcome and sends no event. Earlier releases reported these failures as `mobile_ios_mirror_session` errors, so compare `ios-mirror.bezel` with those events when reading trends. No metrics are added. The existing `server.error.outcome` count carries the new operation value. Since 0.1.132, `plugin.update.operations` counts release checks and installations @@ -945,3 +947,22 @@ this feature. Benchmark process measurements are local report artifacts and are not submitted to Sentry. Existing startup, stream and input coverage is retained. Physical iPhone recording and replay add no metrics. Testing Studio timings (`ui.testing.*`) already carry `device_platform` and `device_kind` (`physical` for hardware) from the device workspace whenever one device is shown, so hardware series are separable from simulator ones. agent-device failures now include its `details.hint` in the user-facing message and, for signing, Developer Mode and locked-device classes, are reported as expected outcomes. Hints have local paths replaced with ``; log paths, team IDs, identities and device identifiers are never sent. + +## Testing Studio on Apple TV + +Testing Studio's measurements carry an `os` attribute, `ios` or `tvos`, for the work that differs between +an iPhone/iPad and an Apple TV. Android work has none, and `device_os` on the mirror's stream metric is the +same value under its older name. The panel splits these by `os`: `ui.testing.record_prepare` and +`ui.testing.tree_read` (the recording's device), `ui.testing.run` (the run's device) and +`ui.testing.matrix_run`. A matrix timing carries `os` only when every lane shares an OS family; a mixed +run omits it. `ui.testing.matrix_lane`, `ui.testing.matrix_lane_passed` and `ui.testing.matrix_lane_failed` +count lanes by `os`, and `ui.testing.record_start_os` counts recordings by `os`. + +Remote presses are bounded aggregates, never a span each. The panel adds `ui.testing.remote_press` for each +press it takes and `ui.testing.press_until_focused.found` / `.exhausted` for how a `pressUntilFocused` +ended, all with `os=tvos`, in the existing 30-second window. The server adds +`testing.remote.press.samples` and `testing.remote.press.duration` (`outcome=success|failed`) for +`mobile_testing_press`, and `testing.press_until_focused.samples` / `.presses` (`outcome=found|exhausted`) +for an agent recording's `pressUntilFocused`. `mobile_testing_press` is a frequent tool, so it gets no +`tools/call` span. Buttons, selectors, labels, device identifiers and app ids are never sent, and +telemetry opt-out stops them all. diff --git a/docs/testing-panel.md b/docs/testing-panel.md index 4ed39ac70..a48edcfb9 100644 --- a/docs/testing-panel.md +++ b/docs/testing-panel.md @@ -92,6 +92,8 @@ Maestro YAML is a second emitter behind the same recorder. Physical iOS (`ios-mirror`) and physical Android are out. Android emulators slot in behind the same interfaces: the recorder reads the same agent-device snapshot with `{ platform: "android", serial }`. +A physical Apple TV is hidden from every device list unless `MOBILE_DEV_PHYSICAL_APPLE_TV=1` is set. That support is unverified (no hardware, no pairing flow yet); tvOS simulators are unaffected. + ## What already exists Almost every primitive is in place; the panel is mostly wiring. @@ -925,6 +927,79 @@ Attaching names the bundle id and passes `relaunch: false`. Never `--foreground` outright when more than one app is running on the simulator, and never anything that relaunches: the recorder exists so the user keeps tapping the screen they are already on. +## tvOS (Apple TV) + +Testing Studio records, edits and runs tests on Apple TV simulators. tvOS stays `platform: "ios"` for the +runner, which has no TV platform; the panel tells the two apart by `appleOs: "tvos"` +(`packages/shared/src/apple-os.ts`). The runner is `e2e` with `@e2e-dev/mobile`, and every remote press goes +through agent-device's `tvRemote`. + +### How tvOS projects and targets are detected + +- **Simulators.** A simulator whose runtime reads `tvOS …` is an Apple TV. It is listed with the other + iOS simulators and picked like one. +- **Config targets.** A target is an Apple TV target when its entry says `appleOs: "tvos"` or its name is + `tv`, `tvos` or `appletv`. Targets with no `appleOs` are iPhone/iPad targets, so a project with both + resolves the right one for each device. +- **Native sources.** A Podfile with `platform :tvos`, or an Xcode project with `SDKROOT = appletvos`, + marks the project as tvOS. A project that targets only tvOS turns its otherwise unmarked iOS-engine + targets into Apple TV targets. +- **Pinned apps.** A test pins one app per OS family (`ios`, `tvos`, `android`). An iPhone lane never + runs a test pinned to Apple TV, nor the reverse; the matrix refuses it before anything boots. + +### Recording with the remote + +An Apple TV has no touch surface, so the mirror's toolbar swaps touch for the remote: **TV left, up, down, +right, select, menu** and **Home**. Arrow keys, Enter and Escape work on the mirror too. While recording, +each press is a step and is taken on the device. Holding select makes it a long press (`durationMs`). +Right-clicking an element offers the focus steps instead of tap and swipe. An agent recording gets the +same steps, plus a `press` kind and an `assertFocused` check, and its `tv_remote` tool exists only on +tvOS runs that have agent steps. + +### Step types + +| Step | Emits | Use | +| --- | --- | --- | +| `press` | `press(device, "select")` | One remote button; optionally held. | +| `pressUntilFocused` | `pressUntilFocused(device, locator, "down")` | Presses a direction until the element holds focus, up to `maxPresses` (10 by default). Prefer it to counting presses. | +| `assertFocused` | `expect(locator).toBeFocused()` | Checks that the element holds focus now. | + +`tap`, `doubleTap`, `longPress`, `swipe` and `scrollUntilVisible` are refused on an Apple TV. A step +that has run out of presses without reaching focus fails the run; while recording, it is not an error and +focus is left where it ended up. Tests that use the remote carry two small helpers (`press`, +`pressUntilFocused`) in their header, so a saved file runs without the plugin. + +### Focus assertions + +`toBeFocused` reads the focused element from the runner's tree. A view with an `accessibilityLabel` +becomes one accessibility element and hides the text of its children from the tree. Locate such an +element by its label (or test id), not by a child's text, or the locator finds nothing to hold focus. +Elements marked focused in the agent's screen read are the ones holding focus now. + +### Matrix runs with iPhone and TV + +Tick an iPhone and an Apple TV in the matrix to run one test on both. The lanes are independent and each +takes the app of its own OS family: a project with its own config runs the iPhone target and the tvOS +target; a Testing Studio test needs an app pinned for each (`mobile_testing_set_target` with mode `add`). +A tvOS lane installs a `Debug-appletvsimulator` build when the booted TV has none, and never copies an +iPhone build to it. + +### The UIScene requirement on tvOS 27 + +A tvOS 27 runtime refuses an app without the UIScene lifecycle: it exits right after launch. A lane or run +checks for a `UIApplicationSceneManifest` entry in the app's `Info.plist` first, and fails with an +explanation (add a scene delegate and the manifest, then rebuild) instead of a bare launch failure. +Older tvOS runtimes are not checked. + +### Limits + +- **No touch.** Touch steps and the touch input paths are refused with "An Apple TV has no touchscreen." +- **No `playPause`.** The remote has `up`, `down`, `left`, `right`, `select`, `menu` and `home` only. +- **No recording video.** The mirror of a simulator can be shown, but a recording does not capture video. +- **Physical Apple TV is hidden.** Real hardware only appears with `MOBILE_DEV_PHYSICAL_APPLE_TV=1`, + and is unverified: there was no hardware to test against and there is no pairing flow yet. Simulators are + unaffected, and the panel marks a physical Apple TV as unverified. + ## Maestro, later Nothing above is e2e-specific except the emitter and the run command. Adding Maestro means: diff --git a/packages/core/src/baguette.ts b/packages/core/src/baguette.ts index 2ae62f091..1215946dd 100644 --- a/packages/core/src/baguette.ts +++ b/packages/core/src/baguette.ts @@ -21,6 +21,7 @@ import { baguetteEnvironment } from "./baguette-runtime.ts"; import { panelRuntimePath } from "./panel-runtime.ts"; import { captureServerError, recordAccessibilityBridgeRestart, recordBaguetteFrameworkRestart, recordSimulatorBoot } from "./telemetry.ts"; import type { ResourceSaving } from "./resource-saving.ts"; +import { isTvOSRuntime } from "@mobile-dev/shared/apple-os.ts"; type DescribedUi = { tree?: { label?: unknown } }; const NO_ACCESSIBILITY_DATA = "no accessibility data"; @@ -385,7 +386,7 @@ export class Baguette { return definitionSchema.parse(payload); } catch (error) { const diagnostic = getDefinitionDiagnostic(error); - if (listed.runtime.startsWith("tvOS ") && diagnostic?.stage === "profile_chrome_identifier" + if (isTvOSRuntime(listed.runtime) && diagnostic?.stage === "profile_chrome_identifier" && diagnostic.failure === "missing") { return this.tvosDefinition(udid, listed.name); } @@ -433,7 +434,7 @@ export class Baguette { const inProgress = device.state === (action === "boot" ? "Booting" : "ShuttingDown"); if (!inProgress) { const requestStarted = performance.now(); - const tvBoot = action === "boot" && device.runtime.startsWith("tvOS "); + const tvBoot = action === "boot" && isTvOSRuntime(device.runtime); try { // Baguette's boot route waits for guest startup and repairs its HID surface. tvOS // uses the TV remote instead, so its long post-Booted wait and repair are unnecessary. @@ -452,7 +453,7 @@ export class Baguette { const current = status.devices.find(item => item.udid === udid); if (!current) throw new SimulatorUnavailableError("This simulator is no longer available. Refresh the device list."); if (current.state === expected) { - if (action === "boot") recordSimulatorBoot("state_wait", device.runtime.startsWith("tvOS ") ? "tvos" : "ios", performance.now() - readyStarted); + if (action === "boot") recordSimulatorBoot("state_wait", isTvOSRuntime(device.runtime) ? "tvos" : "ios", performance.now() - readyStarted); const target = { platform: "ios" as const, id: udid, key: udid, state: current.state }; if (action === "boot") { await this.resourceSaving?.apply(target, signal); diff --git a/packages/core/src/device-session-errors.ts b/packages/core/src/device-session-errors.ts new file mode 100644 index 000000000..f96b3c854 --- /dev/null +++ b/packages/core/src/device-session-errors.ts @@ -0,0 +1,37 @@ +/** + * What it means when the runner cannot get a device because agent-device is already holding it. + * + * agent-device allows one session per simulator and one daemon version per state directory. A run that + * meets either says so in its own words ("Device is already in use by session …", "Daemon (pid …) is newer + * than this client"), which names a mechanism the user never started. These say who holds the device and + * what to close. + */ + +const IN_USE = /Device is already in use by session "([^"]+)"/; +const NEWER_DAEMON = /Daemon \(pid (\d+), v([\w.\-]+)\) is newer than this client \(v([\w.\-]+)\)/; + +export type BlockingSession = { kind: "session"; session: string } | { kind: "daemon"; pid: number; daemon: string; client: string }; + +/** The blocking session or daemon in runner output, when the text names one. */ +export function blockingSession(text: string): BlockingSession | undefined { + const session = IN_USE.exec(text)?.[1]; + if (session) return { kind: "session", session }; + const daemon = NEWER_DAEMON.exec(text); + return daemon ? { kind: "daemon", pid: Number(daemon[1]), daemon: daemon[2]!, client: daemon[3]! } : undefined; +} + +/** Who holds the device, in words a tester can act on. */ +export function explainBlockingSession(blocking: BlockingSession): string { + if (blocking.kind === "daemon") + return `A newer agent-device daemon (pid ${blocking.pid}, v${blocking.daemon}) is running and this runner (v${blocking.client}) will not replace it, so it cannot reach the simulator. Quit the tool that started it, or stop that process, then run again.`; + const own = /^mobile-dev-(?:recorder|tv-|lane-)/.test(blocking.session); + return own + ? `The simulator is still held by Mobile Dev's own session "${blocking.session}" (the recorder or the mirror's remote). Stop recording, wait a moment and run again.` + : `The simulator is held by another agent-device session, "${blocking.session}", which is not Mobile Dev's. Close it (the tool or terminal that opened it), or run \`agent-device close --session ${blocking.session}\`, then run again. Only one session can hold a simulator at a time.`; +} + +/** Replaces a runner message that names a blocking session or daemon with its explanation; other text is unchanged. */ +export function rewriteBlockingSession(text: string): string { + const blocking = blockingSession(text); + return blocking ? explainBlockingSession(blocking) : text; +} diff --git a/packages/core/src/ios-device-build.ts b/packages/core/src/ios-device-build.ts index a288b4149..b961d26e7 100644 --- a/packages/core/src/ios-device-build.ts +++ b/packages/core/src/ios-device-build.ts @@ -1,6 +1,7 @@ import { readdir, stat } from "node:fs/promises"; import { homedir } from "node:os"; import { join } from "node:path"; +import { appleOsOfPlatformName, xcodeSdkSuffixes, type AppleOs } from "@mobile-dev/shared/apple-os.ts"; import type { Commands } from "./app-control/commands.ts"; /** @@ -19,12 +20,13 @@ async function appsIn(directory: string): Promise { return entries.filter(name => name.endsWith(".app")).map(name => join(directory, name)); } -/** The `*-iphoneos` product directories under the build roots. */ -export async function deviceProductDirectories(projectPath?: string, home = homedir()): Promise { +/** The device product directories under the build roots: `*-iphoneos`, or `*-appletvos` for an Apple TV. */ +export async function deviceProductDirectories(projectPath?: string, home = homedir(), os: AppleOs = "ios", simulator = false): Promise { const products: string[] = []; + const suffixes = simulator ? [os === "tvos" ? "-appletvsimulator" : "-iphonesimulator"] : xcodeSdkSuffixes(os); const productsOf = async (root: string) => { for (const configuration of await readdir(root).catch(() => [] as string[])) { - if (configuration.endsWith("-iphoneos")) products.push(join(root, configuration)); + if (suffixes.some(suffix => configuration.endsWith(suffix))) products.push(join(root, configuration)); } }; if (projectPath) await productsOf(join(projectPath, "ios", "build", "Build", "Products")); @@ -33,17 +35,35 @@ export async function deviceProductDirectories(projectPath?: string, home = home return products; } -export async function findDeviceBuild(appId: string, commands: Pick, projectPath?: string, home?: string): Promise { +export function findDeviceBuild(appId: string, commands: Pick, projectPath?: string, home?: string, os: AppleOs = "ios"): Promise { + return findBuild(os, appId, commands, projectPath, home); +} + +/** A simulator build (`Debug-appletvsimulator`, `Debug-iphonesimulator`) of the app, for installing on a simulator that lacks it. */ +export function findSimulatorBuild(appId: string, commands: Pick, projectPath?: string, home?: string, os: AppleOs = "ios"): Promise { + return findBuild(os, appId, commands, projectPath, home, true); +} + +async function findBuild(os: AppleOs, appId: string, commands: Pick, projectPath?: string, home?: string, simulator = false): Promise { const candidates: { path: string; time: number }[] = []; - for (const directory of await deviceProductDirectories(projectPath, home)) { + for (const directory of await deviceProductDirectories(projectPath, home, os, simulator)) { for (const app of await appsIn(directory)) candidates.push({ path: app, time: await modified(app) }); } candidates.sort((a, b) => b.time - a.time); for (const { path } of candidates) { try { const identifier = (await commands.run("/usr/bin/plutil", ["-extract", "CFBundleIdentifier", "raw", "-o", "-", join(path, "Info.plist")], { timeout: 5_000 })).trim(); - if (identifier === appId) return path; + if (identifier !== appId) continue; + // A device product directory is named for its SDK, but only the bundle says what it was built for. + if (!simulator && await builtFor(path, commands) === (os === "tvos" ? "ios" : "tvos")) continue; + return path; } catch { /* an unreadable bundle is not a match */ } } return undefined; } + +/** The OS family the bundle at `app` was built for (`DTPlatformName`), or undefined when it names none. */ +async function builtFor(app: string, commands: Pick): Promise { + try { return appleOsOfPlatformName((await commands.run("/usr/bin/plutil", ["-extract", "DTPlatformName", "raw", "-o", "-", join(app, "Info.plist")], { timeout: 5_000 })).trim()); } + catch { return undefined; } +} diff --git a/packages/core/src/ios-devices.ts b/packages/core/src/ios-devices.ts index de34c8d0c..a388fd75f 100644 --- a/packages/core/src/ios-devices.ts +++ b/packages/core/src/ios-devices.ts @@ -9,13 +9,14 @@ import { errorCategory, FailureEpisodes } from "@mobile-dev/shared/error-reporti import { listNativeIosConnections } from "./ios-native-capture.ts"; import type { NativeIosConnection } from "./ios-native-capture.ts"; import { captureServerError } from "./telemetry.ts"; +import { physicalAppleTvEnabled } from "./physical-apple-tv.ts"; const execute = promisify(execFile); type DeviceCommand = (file: string, args: string[], options: { encoding: "utf8"; timeout: number; maxBuffer: number; signal?: AbortSignal }) => Promise<{ stdout: string }>; const text = z.string(); const identifier = z.uuid(); const physical = z.literal("physical"); -const ios = z.literal("iOS"); +const ios = z.enum(["iOS", "tvOS"]); const success = z.literal("success"); const number = z.number(); const jsonVersion = number.min(5, "Physical iOS discovery requires Xcode 27 or later (devicectl JSON version 5 or later)."); @@ -40,8 +41,11 @@ function normalizedUdid(udid: string) { export async function listIosDevices(signal?: AbortSignal, run: DeviceCommand | undefined = process.platform === "win32" ? undefined : execute, listConnections = listNativeIosConnections): Promise { signal?.throwIfAborted(); if (!run) return []; + // A physical Apple TV is opt-in: without the flag only iOS hardware is queried (and tvOS entries are dropped below). + const appleTv = physicalAppleTvEnabled(); + const platforms = appleTv ? "(properties.hardware.platform = 'iOS' OR properties.hardware.platform = 'tvOS')" : "properties.hardware.platform = 'iOS'"; const args = ["devicectl", "list", "devices", "--quiet", "--timeout", "10", "--omit-deprecated-fields-in-json", - "--filter", "properties.hardware.reality = 'physical' AND properties.hardware.platform = 'iOS'", "--json-output", "-"]; + "--filter", `properties.hardware.reality = 'physical' AND ${platforms}`, "--json-output", "-"]; const output = await run("/usr/bin/xcrun", args, { encoding: "utf8", timeout: 15000, maxBuffer: 4 * 1024 * 1024, signal }); signal?.throwIfAborted(); let payload: unknown; @@ -52,7 +56,7 @@ export async function listIosDevices(signal?: AbortSignal, run: DeviceCommand | const detail = z.prettifyError(parsed.error); throw new Error(`devicectl returned unsupported device discovery JSON. ${detail}`); } - const knownDevices = parsed.data.result.devices; + const knownDevices = parsed.data.result.devices.filter(({ properties }) => appleTv || properties.hardware.platform !== "tvOS"); if (knownDevices.length === 0) return []; const connections = await listConnections(); signal?.throwIfAborted(); @@ -63,8 +67,11 @@ export async function listIosDevices(signal?: AbortSignal, run: DeviceCommand | } return knownDevices.map(({ identifier, properties }) => { const udid = normalizedUdid(properties.hardware.udid); - const transport = transports.get(udid); + const tvos = properties.hardware.platform === "tvOS"; + // An Apple TV has no USB pairing: it is only ever reached through CoreDevice over the network. + const transport = tvos ? undefined : transports.get(udid); const { connection } = properties; + const paired = connection.pairingState === "paired"; // CoreDevice's connection state tracks its tunnel, which can close while usbmuxd still reaches the phone. const disconnectedState = connection.state === "connected" ? "disconnected" : connection.state; return { @@ -73,9 +80,12 @@ export async function listIosDevices(signal?: AbortSignal, run: DeviceCommand | name: properties.state.name, model: properties.hardware.marketingName, productType: properties.hardware.productType, - state: transport ? "connected" : disconnectedState, - runtime: `iOS ${properties.software.osVersionNumber.stringValue}`, + // An Apple TV has no usbmuxd entry to fall back on, so CoreDevice's own state is the answer; a paired one + // that is not connected has slept or left the network, which is not "offline" like a phone. + state: tvos ? (connection.state === "connected" ? "connected" : paired ? "asleep" : connection.state) : transport ? "connected" : disconnectedState, + runtime: `${tvos ? "tvOS" : "iOS"} ${properties.software.osVersionNumber.stringValue}`, platform: "ios", + ...(tvos ? { appleOs: "tvos" as const } : {}), kind: "physical", transportType: transport ?? connection.transportType, pairingState: connection.pairingState, @@ -88,7 +98,7 @@ export function registerIosDeviceTools(server: McpServer, discover: () => Promis const failures = new FailureEpisodes(); server.registerTool("mobile_list_ios_devices", { title: "List physical iOS devices", - description: "Discover physical iPhones and iPads with Xcode 27 and macOS USB or Wi-Fi device discovery. Returns the hardware UDID, CoreDevice ID, transport, connection and pairing state. Includes remembered disconnected or unavailable devices. This does not open a developer tunnel or a screen stream.", + description: "Discover physical iPhones, iPads and Apple TVs with Xcode 27 and macOS USB or Wi-Fi device discovery. Returns the hardware UDID, appleOs (tvos for an Apple TV, which pairs over the network only), CoreDevice ID, transport, connection and pairing state. Includes remembered disconnected or unavailable devices. This does not open a developer tunnel or a screen stream.", inputSchema: {}, outputSchema: { physicalDevices }, annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: false }, }, async () => { diff --git a/packages/core/src/ios-mirror-client.ts b/packages/core/src/ios-mirror-client.ts index 81ae96af0..436b43d5d 100644 --- a/packages/core/src/ios-mirror-client.ts +++ b/packages/core/src/ios-mirror-client.ts @@ -46,7 +46,7 @@ async function startService() { finally { starting = undefined; } } -export async function connectIosCapture(path: string, udid: string): Promise { +export async function connectIosCapture(path: string, udid: string, appleOs: "ios" | "tvos" = "ios"): Promise { const socket = await connect(path); socket.setEncoding("utf8"); let incoming = ""; @@ -105,7 +105,7 @@ export async function connectIosCapture(path: string, udid: string): Promise { +export async function openSharedIosCapture(udid: string, appleOs: "ios" | "tvos" = "ios"): Promise { if (process.platform !== "darwin" || process.arch !== "arm64") throw new ExpectedOperationError("unsupported_platform", "Physical iOS mirroring requires an Apple Silicon Mac."); // Only connection establishment starts a service; device-open errors must reach the panel unchanged. try { const socket = await connect(mirrorSocketPath); socket.destroy(); } catch { await startService(); } - return connectIosCapture(mirrorSocketPath, udid); + return connectIosCapture(mirrorSocketPath, udid, appleOs); } diff --git a/packages/core/src/ios-mirror-hub.ts b/packages/core/src/ios-mirror-hub.ts index 07c5f5471..5e63dc8e4 100644 --- a/packages/core/src/ios-mirror-hub.ts +++ b/packages/core/src/ios-mirror-hub.ts @@ -1,31 +1,35 @@ import type { IosVideoBatch } from "@mobile-dev/shared/ios-video.ts"; -import { IosMirrorInputBusyError } from "@mobile-dev/shared/ios-mirror-errors.ts"; -import type { IosCapture, NativeCapture, NativeTouchSample } from "./ios-native-capture.ts"; +import { ExpectedOperationError } from "@mobile-dev/shared/error-reporting.ts"; +import { APPLE_TV_NO_TOUCH, IosMirrorInputBusyError } from "@mobile-dev/shared/ios-mirror-errors.ts"; +import { assertPhysicalAppleTvEnabled } from "./physical-apple-tv.ts"; +import type { AppleOs, IosCapture, NativeCapture, NativeTouchSample } from "./ios-native-capture.ts"; type Subscriber = { frames: IosVideoBatch["frames"]; bytes: number; generation: number; dropped: number; waitingKey: boolean; delivered?: number; closed: boolean; wake?: () => void; reading: boolean; }; type Device = { - capture: NativeCapture; subscribers: Set; generation?: number; keyRequested: boolean; + capture: NativeCapture; appleOs: AppleOs; subscribers: Set; generation?: number; keyRequested: boolean; configuration?: IosVideoBatch["configuration"]; sequence: number; dropped: number; closed: boolean; failure?: Error; reader?: Promise; input: Promise; pointer?: { owner: Subscriber; sample: NativeTouchSample; generation: number }; }; -export type MirrorHubState = { captures: number; subscribers: number; dropped: number }; +export type MirrorHubState = { captures: number; subscribers: number; dropped: number; appleTvCaptures?: number }; export class IosMirrorHub { private readonly devices = new Map(); private readonly operations = new Map>(); - private readonly openNative: (udid: string) => Promise; + private readonly openNative: (udid: string, appleOs: AppleOs) => Promise; + private readonly configured: (appleOs: AppleOs, streamClass: string) => void; private readonly changed: (state: MirrorHubState) => void; private readonly failed: (error: Error) => void; private disposed = false; private opening = 0; private dropped = 0; - constructor(open: (udid: string) => Promise, changed = (_state: MirrorHubState) => {}, failed = (_error: Error) => {}) { + constructor(open: (udid: string, appleOs: AppleOs) => Promise, changed = (_state: MirrorHubState) => {}, failed = (_error: Error) => {}, configured = (_appleOs: AppleOs, _streamClass: string) => {}) { this.openNative = open; + this.configured = configured; this.changed = changed; this.failed = failed; } @@ -40,12 +44,11 @@ export class IosMirrorHub { } private report() { - let subscribers = 0; - for (const device of this.devices.values()) subscribers += device.subscribers.size; - this.changed({ captures: this.devices.size, subscribers, dropped: this.dropped }); + this.changed(this.snapshot()); } - async open(udid: string): Promise { + async open(udid: string, appleOs: AppleOs = "ios"): Promise { + if (appleOs === "tvos") assertPhysicalAppleTvEnabled(); return this.exclusive(udid, async () => { if (this.disposed) throw new Error("The shared iOS capture service has closed."); let device = this.devices.get(udid); @@ -53,10 +56,10 @@ export class IosMirrorHub { if (this.devices.size + this.opening >= 4) throw new Error("Too many physical device streams. Close another panel first."); this.opening++; let capture: NativeCapture; - try { capture = await this.openNative(udid); } + try { capture = await this.openNative(udid, appleOs); } finally { this.opening--; } if (this.disposed) { await capture.close(); throw new Error("The shared iOS capture service has closed."); } - device = { capture, subscribers: new Set(), sequence: 0, dropped: 0, closed: false, keyRequested: false, input: Promise.resolve() }; + device = { capture, appleOs, subscribers: new Set(), sequence: 0, dropped: 0, closed: false, keyRequested: false, input: Promise.resolve() }; this.devices.set(udid, device); } if (device.failure) throw device.failure; @@ -115,6 +118,7 @@ export class IosMirrorHub { } private async pump(device: Device) { + const maxBytes = device.appleOs === "tvos" ? 16 * 1024 * 1024 : 4 * 1024 * 1024; try { while (device.closed === false) { const batch = await device.capture.read(); @@ -128,6 +132,7 @@ export class IosMirrorHub { const { description, ...configuration } = batch.configuration; const encoded = description.toString("base64"); device.configuration = { ...configuration, description: encoded }; + if (configuration.streamClass !== undefined) this.configured(device.appleOs, configuration.streamClass); } const nativeDropped = Math.max(0, batch.dropped - device.dropped); device.dropped = batch.dropped; @@ -137,7 +142,7 @@ export class IosMirrorHub { const encoded = frame.data.toString("base64"); const delivered = { sequence: ++device.sequence, timestamp: frame.timestamp, key: frame.key, data: encoded }; for (const subscriber of device.subscribers) { - if (subscriber.frames.length >= 8 || subscriber.bytes + frame.data.length > 4 * 1024 * 1024) { + if (subscriber.frames.length >= 8 || subscriber.bytes + frame.data.length > maxBytes) { const dropped = subscriber.frames.length + 1; subscriber.dropped += dropped; this.dropped += dropped; @@ -146,7 +151,7 @@ export class IosMirrorHub { this.releasePointer(device, subscriber).catch(error => { if (error instanceof Error) this.failed(error); }); } if (subscriber.waitingKey && frame.key === false) continue; - if (frame.data.length > 4 * 1024 * 1024) continue; + if (frame.data.length > maxBytes) continue; subscriber.waitingKey = false; subscriber.frames.push(delivered); subscriber.bytes += frame.data.length; @@ -189,6 +194,7 @@ export class IosMirrorHub { private touch(device: Device, subscriber: Subscriber, samples: NativeTouchSample[], generation: number): Promise { const result = device.input.then(async () => { this.check(device, subscriber); + if (device.appleOs === "tvos") throw new ExpectedOperationError("invalid_input", APPLE_TV_NO_TOUCH); if (subscriber.delivered !== generation || device.generation === undefined) throw new Error("Wait for a fresh physical iOS screen before sending input."); if (device.pointer && device.pointer.owner !== subscriber) throw new IosMirrorInputBusyError(); const nativeGeneration = device.generation; @@ -229,7 +235,8 @@ export class IosMirrorHub { snapshot(): MirrorHubState { let subscribers = 0; - for (const device of this.devices.values()) subscribers += device.subscribers.size; - return { captures: this.devices.size, subscribers, dropped: this.dropped }; + let appleTvCaptures = 0; + for (const device of this.devices.values()) { subscribers += device.subscribers.size; if (device.appleOs === "tvos") appleTvCaptures++; } + return { captures: this.devices.size, subscribers, dropped: this.dropped, appleTvCaptures }; } } diff --git a/packages/core/src/ios-mirror-rpc.ts b/packages/core/src/ios-mirror-rpc.ts index 803276b3d..bb4b4bf2b 100644 --- a/packages/core/src/ios-mirror-rpc.ts +++ b/packages/core/src/ios-mirror-rpc.ts @@ -3,7 +3,7 @@ import { iosVideoBatchSchema } from "@mobile-dev/shared/ios-video.ts"; const id = z.number().int().positive(); export const mirrorRequestSchema = z.discriminatedUnion("method", [ - z.object({ id, method: z.literal("open"), udid: z.string().min(1).max(64) }), + z.object({ id, method: z.literal("open"), udid: z.string().min(1).max(64), appleOs: z.enum(["ios", "tvos"]).optional() }), z.object({ id, method: z.literal("read") }), z.object({ id, method: z.literal("reset") }), z.object({ id, method: z.literal("close") }), diff --git a/packages/core/src/ios-mirror-server.ts b/packages/core/src/ios-mirror-server.ts index 2d648b26b..ab222a52a 100644 --- a/packages/core/src/ios-mirror-server.ts +++ b/packages/core/src/ios-mirror-server.ts @@ -23,7 +23,7 @@ export function createIosMirrorServer(hub: IosMirrorHub, idle: () => void, activ if (closing) throw new Error("The shared physical iOS connection closed."); if (request.method === "open") { if (capture || opening) throw new Error("This connection already has a physical iOS subscription."); - opening = hub.open(request.udid); + opening = hub.open(request.udid, request.appleOs); try { capture = await opening; } finally { opening = undefined; } return null; diff --git a/packages/core/src/ios-mirror-service.ts b/packages/core/src/ios-mirror-service.ts index 594395c4c..15f3ba6d1 100644 --- a/packages/core/src/ios-mirror-service.ts +++ b/packages/core/src/ios-mirror-service.ts @@ -6,7 +6,7 @@ import { IosMirrorHub } from "./ios-mirror-hub.ts"; import { openNativeIosCapture } from "./ios-native-capture.ts"; import { createIosMirrorServer } from "./ios-mirror-server.ts"; import { mirrorSocketPath } from "./ios-mirror-rpc.ts"; -import { captureServerError, closeServerTelemetry, recordIosMirrorSharing } from "./telemetry.ts"; +import { captureServerError, closeServerTelemetry, recordIosMirrorSharing, recordIosMirrorStream } from "./telemetry.ts"; import { TELEMETRY_INTERVAL_MS } from "@mobile-dev/shared/telemetry.ts"; const lockPath = mirrorSocketPath + ".lock"; @@ -16,12 +16,12 @@ let stopping: Promise | undefined; let idleTimer: NodeJS.Timeout | undefined; let metricsTimer: NodeJS.Timeout | undefined; let previousDropped = 0; -const hub = new IosMirrorHub(openNativeIosCapture, () => {}, error => captureServerError(error, "ios-mirror.shared-capture")); +const hub = new IosMirrorHub(openNativeIosCapture, () => {}, error => captureServerError(error, "ios-mirror.shared-capture"), recordIosMirrorStream); function metrics() { const state = hub.snapshot(); const dropped = state.dropped - previousDropped; previousDropped = state.dropped; - recordIosMirrorSharing(state.captures, state.subscribers, dropped); + recordIosMirrorSharing(state.captures, state.subscribers, dropped, state.appleTvCaptures); } function idle() { clearTimeout(idleTimer); idleTimer = setTimeout(() => void stop(), 30000); } function active() { clearTimeout(idleTimer); } diff --git a/packages/core/src/ios-mirror-tools.ts b/packages/core/src/ios-mirror-tools.ts index efd1ca70f..5bf6372e2 100644 --- a/packages/core/src/ios-mirror-tools.ts +++ b/packages/core/src/ios-mirror-tools.ts @@ -2,6 +2,7 @@ import { parseResourceInput } from "./resource-input.ts"; import { openRequestSession } from "./request-session.ts"; import { ExpectedOperationError } from "@mobile-dev/shared/error-reporting.ts"; import { IosMirrorInputBusyError } from "@mobile-dev/shared/ios-mirror-errors.ts"; +import { physicalUnavailableHint } from "@mobile-dev/shared/ios-devices.ts"; import { McpServer, ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js"; import { registerAppTool } from "@modelcontextprotocol/ext-apps/server"; import { z } from "zod"; @@ -32,16 +33,20 @@ export function registerIosMirrorTools(server: McpServer, appUri: string, sessio }); registerAppTool(server, "mobile_ios_mirror_session", { - title: "Mirror physical iOS device", description: "Open an interactive HEVC screen stream for a connected, paired iPhone or iPad over USB or Wi-Fi. Supports pointer taps and drags.", + title: "Mirror physical iOS device", description: "Open an interactive HEVC screen stream for a connected, paired iPhone or iPad over USB or Wi-Fi, or an awake, network-paired Apple TV. Supports pointer taps and drags on iPhone and iPad; an Apple TV takes remote presses through the device tools instead.", inputSchema: { udid: z.string().regex(/^[A-Fa-f0-9-]{8,64}$/) }, annotations, _meta: { ui: { resourceUri: appUri, visibility: ["app"] } }, }, async ({ udid }, context) => { try { context.signal.throwIfAborted(); const devices = await discover(); const device = devices.find(device => device.udid === udid); + const appleOs = device?.appleOs === "tvos" ? "tvos" as const : "ios" as const; + // A sleeping Apple TV is not an error to retry blindly: say how to wake it. + if (device !== undefined && device.state !== "connected" && appleOs === "tvos") throw new ExpectedOperationError("device_unavailable", physicalUnavailableHint(device) ?? "The Apple TV is asleep."); if (device === undefined || device.state !== "connected") throw new ExpectedOperationError("device_unavailable", "The physical iOS device is no longer connected."); - const bezel = await readBezel(device); - const id = await openRequestSession(context.signal, () => sessions.open(udid), id => sessions.closeSession(id)); + // A television has no bezel to draw around its screen. + const bezel = appleOs === "tvos" ? undefined : await readBezel(device); + const id = await openRequestSession(context.signal, () => sessions.open(udid, appleOs), id => sessions.closeSession(id)); return { content: [{ type: "text", text: `Mirroring ${device.name}.` }], structuredContent: { name: device.name }, _meta: { bezel, sessionId: id, frameUri: `ios-video://mobile-dev/${id}/video` } }; } catch (error) { captureServerError(error, "mobile_ios_mirror_session", { signal: context.signal }); diff --git a/packages/core/src/ios-mirror.ts b/packages/core/src/ios-mirror.ts index b7f3032d6..489ae64b9 100644 --- a/packages/core/src/ios-mirror.ts +++ b/packages/core/src/ios-mirror.ts @@ -3,11 +3,12 @@ import { randomBytes } from "node:crypto"; import type { IosVideoBatch } from "@mobile-dev/shared/ios-video.ts"; import type { TouchInput } from "@mobile-dev/shared/protocol.ts"; import { openSharedIosCapture } from "./ios-mirror-client.ts"; -import type { IosCapture, NativeTouchSample } from "./ios-native-capture.ts"; +import { APPLE_TV_NO_TOUCH } from "@mobile-dev/shared/ios-mirror-errors.ts"; +import type { AppleOs, IosCapture, NativeTouchSample } from "./ios-native-capture.ts"; export type { NativeCapture, NativeTouchSample } from "./ios-native-capture.ts"; -export type OpenCapture = (udid: string) => Promise; +export type OpenCapture = (udid: string, appleOs?: AppleOs) => Promise; -type Session = { capture: IosCapture; udid: string; expires: number; reading: boolean; inputting: boolean; generation?: number; closed: boolean }; +type Session = { capture: IosCapture; udid: string; appleOs: AppleOs; expires: number; reading: boolean; inputting: boolean; generation?: number; closed: boolean }; export class IosMirrorSessions { private readonly sessions = new Map(); @@ -26,16 +27,16 @@ export class IosMirrorSessions { this.expiry.unref(); } - async open(udid: string) { + async open(udid: string, appleOs: AppleOs = "ios") { if (this.disposed) throw new ExpectedOperationError("session_closed", "The plugin server has closed."); if (this.sessions.size + this.opening >= 4) throw new ExpectedOperationError("resource_limit", "Too many physical device streams. Close another panel first."); this.opening++; try { - const capture = await this.openCapture(udid); + const capture = await (appleOs === "tvos" ? this.openCapture(udid, appleOs) : this.openCapture(udid)); if (this.disposed) { await capture.close(); throw new ExpectedOperationError("session_closed", "The plugin server has closed."); } const bytes = randomBytes(32); const id = bytes.toString("hex"); - this.sessions.set(id, { capture, udid, expires: Date.now() + 300000, reading: false, inputting: false, closed: false }); + this.sessions.set(id, { capture, udid, appleOs, expires: Date.now() + 300000, reading: false, inputting: false, closed: false }); return id; } finally { this.opening--; } } @@ -65,6 +66,8 @@ export class IosMirrorSessions { async input(id: string, messages: TouchInput[], generation: number) { const session = this.session(id); + // An Apple TV has no touch surface: its panel sends remote presses through agent-device instead. + if (session.appleOs === "tvos") throw new ExpectedOperationError("invalid_input", APPLE_TV_NO_TOUCH); if (session.generation !== generation) throw new ExpectedOperationError("device_unavailable", "Wait for a fresh physical iOS screen before sending input."); if (session.inputting) throw new ExpectedOperationError("resource_limit", "Physical iOS input is already pending."); session.inputting = true; diff --git a/packages/core/src/ios-native-capture.ts b/packages/core/src/ios-native-capture.ts index 08372fb4c..638e20a81 100644 --- a/packages/core/src/ios-native-capture.ts +++ b/packages/core/src/ios-native-capture.ts @@ -2,9 +2,11 @@ import { createRequire } from "node:module"; import { existsSync } from "node:fs"; import { fileURLToPath } from "node:url"; import { ExpectedOperationError } from "@mobile-dev/shared/error-reporting.ts"; -import type { IosVideoBatch } from "@mobile-dev/shared/ios-video.ts"; +import type { IosVideoBatch, StreamClass } from "@mobile-dev/shared/ios-video.ts"; -export type NativeConfiguration = { revision: number; width: number; height: number; codec: string; description: Buffer }; +export type NativeConfiguration = { revision: number; width: number; height: number; codec: string; description: Buffer; bitDepth?: number; streamClass?: StreamClass }; +export type AppleOs = "ios" | "tvos"; +export type NativeOpenOptions = { appleOs?: AppleOs; pairingDirectory?: string }; export type NativeBatch = { generation: number; frames: { data: Buffer; timestamp: number; key: boolean }[]; configuration?: NativeConfiguration; dropped: number }; export type NativeTouchSample = { phase: number; x: number; y: number; width: number; height: number }; export type NativeCapture = { read(): Promise; touch(samples: NativeTouchSample[], generation: number): Promise; requestKeyframe(): void; close(): Promise }; @@ -12,7 +14,7 @@ export type IosCapture = { read(): Promise; touch(samples: Native export type NativeIosConnection = { udid: string; transportType: "wired" | "localNetwork" }; type NativeAddon = { initializeTelemetry(): void; - openDevice(udid: string): Promise; + openDevice(udid: string, options?: NativeOpenOptions): Promise; listDeviceConnections(): Promise; }; let addon: NativeAddon | undefined; @@ -33,10 +35,11 @@ function nativeAddon(): NativeAddon { return addon; } -export async function openNativeIosCapture(udid: string): Promise { +export async function openNativeIosCapture(udid: string, appleOs: AppleOs = "ios"): Promise { const loaded = nativeAddon(); loaded.initializeTelemetry(); - return loaded.openDevice(udid); + // An Apple TV is never on usbmuxd: the addon opens it through network pairing instead. + return loaded.openDevice(udid, { appleOs, ...(process.env.MOBILE_DEV_TVOS_PAIRING_DIR ? { pairingDirectory: process.env.MOBILE_DEV_TVOS_PAIRING_DIR } : {}) }); } export async function listNativeIosConnections(): Promise { diff --git a/packages/core/src/panel-tools.ts b/packages/core/src/panel-tools.ts index 6e30282f8..4097df09f 100644 --- a/packages/core/src/panel-tools.ts +++ b/packages/core/src/panel-tools.ts @@ -37,6 +37,7 @@ import { registerOpenRecordingTool } from "./recording-tools.ts"; import type { ShowRecording } from "./recording-tools.ts"; import { foregroundSimulatorPid } from "./device-apps/foreground.ts"; import type { SimulatorForeground } from "./device-apps/foreground.ts"; +import { isTvOSRuntime } from "@mobile-dev/shared/apple-os.ts"; export const APP_URI = `ui://mobile-dev/${PLUGIN_VERSION}/simulator.html`; export const WORKSPACE_URI = `ui://mobile-dev/${PLUGIN_VERSION}/workspace.html`; @@ -165,7 +166,7 @@ function registerPanel(server: McpServer, { android, cpu, fps, drivers, page, sh async function panelInputStatus(udid: string, runtime: string): Promise { // Apple TV input uses the remote, not Device Hub's simulated HID surface. On tvOS the // Device Hub flag can be set even when the remote works, and repair delays first video. - if (runtime.startsWith("tvOS ")) return { inputStatus: { state: "ready" } }; + if (isTvOSRuntime(runtime)) return { inputStatus: { state: "ready" } }; const inputStatus = await simulatorInput.status(udid, { fresh: true }); if (inputStatus.state !== "blocked") return { inputStatus }; const previous = automaticRepairs.get(udid); diff --git a/packages/core/src/physical-apple-tv.ts b/packages/core/src/physical-apple-tv.ts new file mode 100644 index 000000000..d303c4cd5 --- /dev/null +++ b/packages/core/src/physical-apple-tv.ts @@ -0,0 +1,13 @@ +import { ExpectedOperationError } from "@mobile-dev/shared/error-reporting.ts"; + +/** Physical Apple TV support is unverified (no hardware, no pairing flow), so it is opt-in. */ +export const PHYSICAL_APPLE_TV_ENV = "MOBILE_DEV_PHYSICAL_APPLE_TV"; +export const PHYSICAL_APPLE_TV_DISABLED = `Physical Apple TV support is disabled. It is unverified; set ${PHYSICAL_APPLE_TV_ENV}=1 to enable it.`; + +export function physicalAppleTvEnabled(env: NodeJS.ProcessEnv = process.env) { + return env[PHYSICAL_APPLE_TV_ENV] === "1"; +} + +export function assertPhysicalAppleTvEnabled(env: NodeJS.ProcessEnv = process.env) { + if (!physicalAppleTvEnabled(env)) throw new ExpectedOperationError("unsupported_platform", PHYSICAL_APPLE_TV_DISABLED); +} diff --git a/packages/core/src/physical-ios-settle.ts b/packages/core/src/physical-ios-settle.ts index b1e6d5386..f280712bf 100644 --- a/packages/core/src/physical-ios-settle.ts +++ b/packages/core/src/physical-ios-settle.ts @@ -13,6 +13,9 @@ export function isHardwareUdid(deviceId: string): boolean { const RUNNER = /AgentDeviceRunner/; const BOUND_MS = 10_000; +/** An Apple TV is reached over the network, so listing its processes and its runner teardown take longer. */ +const TV_BOUND_MS = 25_000; +const TV_TIMEOUT_S = 20; const POLL_MS = 500; /** One quiet poll can be the gap between the runner process exiting and the app it drove being torn down. */ const GRACE_MS = 750; @@ -30,13 +33,15 @@ const GRACE_MS = 750; * Best effort and bounded: a phone that cannot list processes, or a runner that outlives the bound, * does not block the run, which then proceeds exactly as it did before. */ -export async function settlePhysicalIos(deviceId: string, run: Run = execute, sleep: (ms: number) => Promise = ms => new Promise(resolve => setTimeout(resolve, ms)), now: () => number = Date.now): Promise { +export async function settlePhysicalIos(deviceId: string, run: Run = execute, sleep: (ms: number) => Promise = ms => new Promise(resolve => setTimeout(resolve, ms)), now: () => number = Date.now, appleOs: "ios" | "tvos" = "ios"): Promise { const startedAt = now(); - const args = ["devicectl", "device", "info", "processes", "--device", deviceId, "--quiet", "--timeout", "10", "--omit-deprecated-fields-in-json", "--json-output", "-"]; + const tvos = appleOs === "tvos"; + const bound = tvos ? TV_BOUND_MS : BOUND_MS; + const args = ["devicectl", "device", "info", "processes", "--device", deviceId, "--quiet", "--timeout", String(tvos ? TV_TIMEOUT_S : 10), "--omit-deprecated-fields-in-json", "--json-output", "-"]; while (true) { let running: boolean; try { - const { stdout } = await run("/usr/bin/xcrun", args, { timeout: 15_000, maxBuffer: 4 * 1024 * 1024 }); + const { stdout } = await run("/usr/bin/xcrun", args, { timeout: tvos ? 30_000 : 15_000, maxBuffer: 4 * 1024 * 1024 }); const parsed = JSON.parse(stdout) as { result?: { runningProcesses?: { executable?: unknown }[] } }; running = (parsed.result?.runningProcesses ?? []).some(entry => typeof entry.executable === "string" && RUNNER.test(entry.executable)); } catch { @@ -48,7 +53,7 @@ export async function settlePhysicalIos(deviceId: string, run: Run = execute, sl recordTestingDeviceSettle("settled", now() - startedAt); return; } - if (now() - startedAt >= BOUND_MS) { + if (now() - startedAt >= bound) { recordTestingDeviceSettle("timeout", now() - startedAt); return; } diff --git a/packages/core/src/stream-sessions.ts b/packages/core/src/stream-sessions.ts index 379c47e9a..0643b34be 100644 --- a/packages/core/src/stream-sessions.ts +++ b/packages/core/src/stream-sessions.ts @@ -6,6 +6,7 @@ import { SimulatorUnavailableError } from "./simulator-unavailable.ts"; import { epochNow } from "@mobile-dev/shared/stream.ts"; import type { FrameRead } from "@mobile-dev/shared/stream.ts"; import type { Baguette } from "./baguette.ts"; +import { isTvOSRuntime } from "@mobile-dev/shared/apple-os.ts"; type Frame = { sequence: number; bytes: Buffer; receivedAt: number; data?: string }; type Session = { @@ -229,7 +230,7 @@ export class StreamSessions { if (session.socket?.readyState !== WebSocket.OPEN || session.connecting || !session.frame) throw new ExpectedOperationError("device_unavailable", "The simulator stream is reconnecting."); const socket = session.socket; const validated = messages.map(message => streamMessageSchema.parse(message)); - if (session.runtime?.startsWith("tvOS ")) { + if (isTvOSRuntime(session.runtime)) { throw new ExpectedOperationError("unsupported_platform", "Use the TV remote for Apple TV input. Baguette HID input can crash the tvOS simulator."); } const sent = session.input.then(() => { diff --git a/packages/core/src/telemetry.ts b/packages/core/src/telemetry.ts index 0526c3a9a..9056faf66 100644 --- a/packages/core/src/telemetry.ts +++ b/packages/core/src/telemetry.ts @@ -64,14 +64,22 @@ export function recordBaguetteFrameworkRestart(outcome: "restarted" | "failed") Sentry.metrics.count("baguette.framework_restart", 1, { attributes }); } -export function recordIosMirrorSharing(captures: number, subscribers: number, dropped: number) { +export function recordIosMirrorSharing(captures: number, subscribers: number, dropped: number, appleTvCaptures = 0) { if (process.env.MOBILE_DEV_TELEMETRY === "off") return; const attributes = { component: "ios-mirror-service", surface: "simulator", device_platform: "ios", device_kind: "physical" }; Sentry.metrics.gauge("ios.mirror.shared.captures", captures, { attributes }); Sentry.metrics.gauge("ios.mirror.shared.subscribers", subscribers, { attributes }); + Sentry.metrics.gauge("ios.mirror.shared.apple_tv_captures", appleTvCaptures, { attributes }); if (dropped > 0) Sentry.metrics.count("ios.mirror.shared.queue_dropped", dropped, { attributes }); } +/** One configured physical stream: the OS family and a bounded resolution and depth class, never a device identifier. */ +export function recordIosMirrorStream(appleOs: "ios" | "tvos", streamClass: string) { + if (process.env.MOBILE_DEV_TELEMETRY === "off") return; + const attributes = { component: "ios-mirror-service", surface: "simulator", device_platform: "ios", device_kind: "physical", device_os: appleOs, stream_class: streamClass }; + Sentry.metrics.count("ios.mirror.stream_configured", 1, { attributes }); +} + export function recordIosHitchOperation(operation: "connect" | "finish", outcome: "success" | "failed", duration: number) { if (process.env.MOBILE_DEV_TELEMETRY === "off") return; const attributes = { component: "server", surface: "recording", device_platform: "ios", operation, outcome }; @@ -468,3 +476,22 @@ export async function closeServerTelemetry() { await closeHttpRuntime(); } } + +/** + * One Apple TV remote press through the recorder's device session, by OS family and outcome. A bounded + * count and timing, never a span per press, and never the button, device or app. + */ +export function recordTestingRemotePress(outcome: "success" | "failed", duration: number) { + if (process.env.MOBILE_DEV_TELEMETRY === "off") return; + const attributes = { component: "server", surface: "testing", platform: "ios", os: "tvos", outcome }; + Sentry.metrics.count("testing.remote.press.samples", 1, { attributes }); + Sentry.metrics.distribution("testing.remote.press.duration", Math.max(0, duration), { unit: "millisecond", attributes }); +} + +/** How an agent recording's `pressUntilFocused` ended: focus arrived, or the bound ran out. Presses are a size, not content. */ +export function recordTestingPressUntilFocused(outcome: "found" | "exhausted", presses: number) { + if (process.env.MOBILE_DEV_TELEMETRY === "off") return; + const attributes = { component: "server", surface: "testing", platform: "ios", os: "tvos", outcome }; + Sentry.metrics.count("testing.press_until_focused.samples", 1, { attributes }); + Sentry.metrics.distribution("testing.press_until_focused.presses", presses, { attributes }); +} diff --git a/packages/core/src/testing-agent.ts b/packages/core/src/testing-agent.ts index 01199b887..69e14d39e 100644 --- a/packages/core/src/testing-agent.ts +++ b/packages/core/src/testing-agent.ts @@ -6,18 +6,18 @@ import { errorMessage } from "@mobile-dev/shared/protocol.ts"; import { ExpectedOperationError } from "@mobile-dev/shared/error-reporting.ts"; import { PANEL_HEARTBEAT_MS, deviceIdSchema } from "@mobile-dev/shared/panel-target.ts"; import { - agentStepLabel, anchorSelector, emitE2eTest, resolveComponentSelector, selectorSource, stepEffect, stepExpression, + DEFAULT_MAX_FOCUS_PRESSES, REMOTE_BUTTONS, agentStepLabel, anchorSelector, emitE2eTest, pressLabel, resolveComponentSelector, selectorIsFocused, selectorSource, stepEffect, stepExpression, stepLabel, stepNeedsValue, swipeDirection, swipePath, } from "@mobile-dev/shared/test-recording.ts"; import type { - AgentStep, AgentStepKind, PinnedStep, PinnedStepKind, RecordedStep, StepTarget, SwipeDirection, + AgentStep, AgentStepKind, PinnedStep, PinnedStepKind, RecordedStep, RemoteButton, RemoteStep, StepTarget, SwipeDirection, } from "@mobile-dev/shared/test-recording.ts"; import type { ScreenComponent, ScreenSize } from "@mobile-dev/shared/screen-annotations.ts"; import { TestingDevices } from "./testing-device.ts"; import { TestDraftStore } from "./testing-drafts.ts"; import type { TestingDeviceTarget } from "./testing-device.ts"; -import { captureServerError, recordTestingAgentRead } from "./telemetry.ts"; +import { captureServerError, recordTestingAgentRead, recordTestingPressUntilFocused } from "./telemetry.ts"; import { LAUNCHER_APP } from "./testing-prepare.ts"; import type { DeviceOps } from "./testing-prepare.ts"; import { inspectProject, sameProjectPath, storedTestsChangeRevision, studioWorkspacePath, writeTestFile, writeTestTarget } from "./testing-projects.ts"; @@ -66,7 +66,7 @@ export const PANEL_OPEN_GRACE_MS = 15_000; export const PROJECT_REQUEST_TTL_MS = 60_000; /** What the panel's selection is, as the panel reports it. Nothing here is inferred. */ -export type TestingAgentContext = { projectPath: string; deviceId: string; platform: "ios" | "android"; kind?: "physical"; bundleId: string }; +export type TestingAgentContext = { projectPath: string; deviceId: string; platform: "ios" | "android"; kind?: "physical"; /** `tvos` for an Apple TV, which is driven with a remote instead of taps. */ appleOs?: "tvos"; bundleId: string }; export type TestingAgentStatus = "idle" | "recording" | "finished" | "aborted"; @@ -134,6 +134,8 @@ type ScreenRow = { ref: string; role?: string; name?: string; text?: string; placeholder?: string; value?: string; testId?: string; enabled?: boolean; selected?: boolean; offScreen?: boolean; + /** Apple TV only: the element holds focus, which is where the next remote press acts. */ + focused?: boolean; bounds: number[]; selector?: string; rank?: string; unique?: boolean; }; @@ -141,8 +143,14 @@ type ScreenRow = { const PINNED_KINDS = [ "tap", "doubleTap", "longPress", "fill", "scrollUntilVisible", "assertVisible", "assertNotVisible", "assertText", "assertContainsText", "assertValue", "assertEnabled", "assertDisabled", - "assertSelected", "swipe", + "assertSelected", "swipe", "assertFocused", "pressUntilFocused", ] as const satisfies readonly PinnedStepKind[]; +/** What an Apple TV cannot do: it has no touch surface, so nothing there is tapped, swiped or scrolled to. */ +const TVOS_REFUSED_KINDS: readonly string[] = ["tap", "doubleTap", "longPress", "swipe", "scrollUntilVisible"]; +/** The steps only an Apple TV has. */ +const TVOS_ONLY_KINDS: readonly string[] = ["press", "pressUntilFocused", "assertFocused"]; +/** Said with every Apple TV read, so an agent that has never driven one still moves focus rather than looking for a tap. */ +const TVOS_CONTEXT = "This is an Apple TV. The UI is focus-based: there is no tap or swipe. Move focus with step kind press (up/down/left/right), activate the focused element with press select, go back with press menu. Elements marked focused hold focus now; check it with assertFocused. To reach an element, use pressUntilFocused with its ref and a direction rather than counting presses."; const AGENT_KINDS = ["agentAct", "agentAssert", "agentWaitFor"] as const satisfies readonly AgentStepKind[]; /** @@ -189,6 +197,12 @@ function hasNavigated(before: Set, after: Set): boolean { return kept / before.size < 1 / 3; } +/** The names of the elements that hold focus, which is what an Apple TV agent has to see after a press. */ +function focusedNames(components: readonly ScreenComponent[]): string[] { + const names = components.filter(component => component.focused).map(component => component.label || component.text || component.identifier || component.role || ""); + return [...new Set(names.filter(Boolean))]; +} + function refused(message: string): never { throw new ExpectedOperationError("invalid_input", message); } @@ -357,7 +371,7 @@ export class TestingAgentRecordings { if (unmet) refused(`The Testing Studio tab has not switched to ${sameProjectPath(unmet, studioWorkspacePath()) ? "No project" : unmet} yet. Try again in a moment; do not open the panel again, it is already open.`); const context = await this.resolveTarget(projectPath); this.session = { - target: { deviceId: context.deviceId, platform: context.platform, projectPath: context.projectPath, bundleId: context.bundleId }, + target: { deviceId: context.deviceId, platform: context.platform, ...(context.appleOs ? { appleOs: context.appleOs } : {}), projectPath: context.projectPath, bundleId: context.bundleId }, title: input.title.trim() || "a recorded flow", goal: input.goal.trim(), steps: [], status: "recording", note: "", error: "", draftId: "", savedPath: "", @@ -372,7 +386,9 @@ export class TestingAgentRecordings { platform: context.platform, bundleId: context.bundleId, ...(context.picked.length ? { picked: context.picked, report: `Recording on ${context.picked.join(" with ")} (chosen automatically); tell the user.` } : {}), - next: "Call mobile_testing_agent_screen to read the screen, then mobile_testing_agent_step with one of its refs. Re-read after every step that acts.", + next: context.appleOs === "tvos" + ? `${TVOS_CONTEXT} Call mobile_testing_agent_screen to read the screen. Every press returns the focused element.` + : "Call mobile_testing_agent_screen to read the screen, then mobile_testing_agent_step with one of its refs. Re-read after every step that acts.", }; } @@ -426,7 +442,7 @@ export class TestingAgentRecordings { if (problems.length > 0 || !device) { refused(`Cannot start recording yet. ${problems.join(" ")} Then begin again.`); } - return { projectPath, deviceId: device.deviceId, platform: device.platform, ...(reported?.kind === "physical" ? { kind: "physical" as const } : {}), bundleId, picked }; + return { projectPath, deviceId: device.deviceId, platform: device.platform, ...(reported?.kind === "physical" ? { kind: "physical" as const } : {}), ...(reported?.deviceId === device.deviceId && reported.appleOs ? { appleOs: reported.appleOs } : {}), bundleId, picked }; } /** @@ -445,6 +461,7 @@ export class TestingAgentRecordings { if (session.rows.length === 0 || performance.now() - session.readAt > TREE_TTL_MS) await this.refresh(session); return { readId: session.readId, + ...(session.target.appleOs === "tvos" ? { context: TVOS_CONTEXT, focused: focusedNames(session.components) } : {}), ...(session.screen ? { screen: session.screen } : {}), elements: session.rows, ...(session.truncated > 0 @@ -490,6 +507,7 @@ export class TestingAgentRecordings { ...(component.identifier ? { testId: component.identifier } : {}), ...(component.disabled ? { enabled: false } : {}), ...(component.selected ? { selected: true } : {}), + ...(component.focused ? { focused: true } : {}), // A role query skips it and a tap cannot land on it; text and label queries still resolve // it, so it is an element to assert about or to scroll to, not one to act on. ...(component.hidden ? { offScreen: true } : {}), @@ -516,21 +534,73 @@ export class TestingAgentRecordings { * already follows. An assertion reads and changes nothing, so it records without touching the * device. */ - async step(input: { ref?: string; kind?: string; value?: string; direction?: string; instruction?: string }) { + async step(input: { ref?: string; kind?: string; value?: string; direction?: string; instruction?: string; button?: string; durationMs?: number }) { const session = this.recording(); - const kind = (input.kind ?? (input.instruction ? "agentAct" : "tap")) as PinnedStepKind | AgentStepKind; + const tvos = session.target.appleOs === "tvos"; + const kind = (input.kind ?? (input.instruction ? "agentAct" : tvos ? "press" : "tap")) as PinnedStepKind | AgentStepKind | "press"; + // Offers follow the device, as the mirror's menu does: an Apple TV has no touch, and a phone has no remote. + if (tvos && TVOS_REFUSED_KINDS.includes(kind)) { + refused(`${kind} needs a touch screen and this is an Apple TV. Move focus with kind press (button up/down/left/right) or pressUntilFocused (a ref and a direction), activate with press select, and check focus with assertFocused.`); + } + if (!tvos && TVOS_ONLY_KINDS.includes(kind)) refused(`${kind} drives an Apple TV remote and this device is not an Apple TV.`); + if (kind === "press") return this.recordPress(session, input); const instruction = input.instruction?.trim(); if ((AGENT_KINDS as readonly string[]).includes(kind)) { if (!instruction) refused(`${kind} is a sentence the runner resolves at run time, so it needs an instruction.`); return this.recordAgentStep(session, kind as AgentStepKind, instruction); } if (!(PINNED_KINDS as readonly string[]).includes(kind)) { - refused(`"${kind}" is not a step the runner has. Use one of: ${PINNED_KINDS.join(", ")}, or an instruction with agentAct/agentAssert/agentWaitFor.`); + refused(`"${kind}" is not a step the runner has. Use one of: ${PINNED_KINDS.filter(entry => tvos ? !TVOS_REFUSED_KINDS.includes(entry) : !TVOS_ONLY_KINDS.includes(entry)).join(", ")}${tvos ? ", press" : ""}, or an instruction with agentAct/agentAssert/agentWaitFor.`); } if (instruction && !input.ref) return this.recordAgentStep(session, "agentAct", instruction); return this.recordPinnedStep(session, kind as PinnedStepKind, input); } + /** + * Records one remote press and takes it, then reports where focus went. + * + * The focused element is returned because a press is otherwise blind: nothing says whether focus + * moved, and an agent that cannot see the result of a press repeats it or gives up. + */ + private async recordPress(session: Session, input: { button?: string; durationMs?: number }) { + const button = input.button as RemoteButton | undefined; + if (!button || !REMOTE_BUTTONS.includes(button)) refused(`press needs a button: ${REMOTE_BUTTONS.join(", ")}.`); + const durationMs = input.durationMs === undefined ? undefined : Math.round(input.durationMs); + if (durationMs !== undefined && !(durationMs > 0 && durationMs <= 10_000)) refused("durationMs is a long press in milliseconds, up to 10000."); + const step: RemoteStep = { id: crypto.randomUUID(), kind: "press", button, label: pressLabel(button, durationMs), ...(durationMs === undefined ? {} : { durationMs }) }; + return this.takePress(session, step, { kind: "press", button, ...(durationMs === undefined ? {} : { durationMs }) }); + } + + private async takePress(session: Session, step: RemoteStep, action: Parameters[1]) { + const taken = await this.addStep(session, step, action); + return { ...taken, focused: focusedNames(session.components), next: "Focus is reported in `focused`. Call mobile_testing_agent_screen for the full screen before a step that names an element." }; + } + + /** Presses a direction until the element holds focus, giving up after the step's bound. */ + private async pressUntilFocused(session: Session, step: PinnedStep, direction: SwipeDirection) { + session.steps.push(step); + this.changed(); + let presses = 0; + try { + while (!selectorIsFocused(session.components, step.selector) && presses < DEFAULT_MAX_FOCUS_PRESSES) { + await this.devices.perform(session.target, { kind: "press", button: direction }); + presses += 1; + await this.refresh(session); + } + } catch (error) { + session.error = errorMessage(error); this.changed(); session.refs = new Map(); session.rows = []; + throw error; + } + const arrived = selectorIsFocused(session.components, step.selector); + recordTestingPressUntilFocused(arrived ? "found" : "exhausted", presses); + return { + ok: true, index: session.steps.length, label: step.label, source: stepExpression(step), acted: true, presses, arrived, + focused: focusedNames(session.components), + next: arrived ? "Focus is on the element. Call mobile_testing_agent_screen before the next step." + : `Focus did not reach the element in ${presses} presses ${direction}. It is on ${focusedNames(session.components).join(", ") || "nothing"}. Try another direction, or drop the step with mobile_testing_agent_abort.`, + }; + } + private recordAgentStep(session: Session, kind: AgentStepKind, instruction: string) { // No locator to resolve, so the tree is never read and nothing is sent to the device: taking // an agent step would mean running a model against the live app mid-recording, which is a run. @@ -575,13 +645,17 @@ export class TestingAgentRecordings { id: crypto.randomUUID(), kind, selector: resolved.selector, - label: stepLabel(kind, resolved.selector, kind === "swipe" ? direction : value), - ...(kind === "swipe" ? { direction } : value === undefined ? {} : { value }), + label: stepLabel(kind, resolved.selector, kind === "swipe" || kind === "pressUntilFocused" ? direction : value), + ...(kind === "swipe" || kind === "pressUntilFocused" ? { direction } : value === undefined ? {} : { value }), ...(resolved.ambiguous ? { ambiguous: true as const } : {}), // Kept so the panel's step list can offer the same commands long after this screen has gone. target: stepTarget(resolved.component ?? entry.component), }; const effect = stepEffect(kind); + if (effect === "focus") { + if (!input.direction) refused("pressUntilFocused needs a direction: the way focus has to move to reach the element."); + return this.pressUntilFocused(session, step, direction); + } // A swipe is scoped by the element's own box rather than placed on it, so it is the one acting // step that does not need a handle. The rest are placed on the element, which is what makes // the tap land where the runner's locator action will land. @@ -596,7 +670,7 @@ export class TestingAgentRecordings { : { kind: effect === "doubleTap" ? "doubleTap" : "tap", ref: deviceRef }); } - private async addStep(session: Session, step: PinnedStep, action?: Parameters[1]) { + private async addStep(session: Session, step: PinnedStep | RemoteStep, action?: Parameters[1]) { session.steps.push(step); this.changed(); const result = { ok: true, index: session.steps.length, label: step.label, source: stepExpression(step) }; @@ -681,7 +755,7 @@ export class TestingAgentRecordings { // Never replaces: a name that is taken is a test the user or an earlier run already made. const written = await writeTestFile(session.target.projectPath, relativePath, source, false); if (!written.written) continue; - await writeTestTarget(session.target.projectPath, relativePath, { platform: session.target.platform, bundleId: session.target.bundleId }); + await writeTestTarget(session.target.projectPath, relativePath, { platform: session.target.platform, ...(session.target.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), bundleId: session.target.bundleId }); session.savedPath = relativePath; return { relativePath }; } @@ -781,14 +855,16 @@ export function registerTestingAgentTools(server: McpServer, devices: TestingDev "Record one step of the flow and, when it acts, take it on the device so the next step is read from the screen the test will be on. Pass a ref from the last screen read; assertions record without touching the device. Pass an instruction and no ref only for an element the screen read reported no selector for. The result says navigated: true when the step replaced the screen, with the recording's goal as a reminder of its scope.", inputSchema: { ref: z.string().min(1).max(64).optional().describe("An element ref from the latest mobile_testing_agent_screen."), - kind: z.enum([...PINNED_KINDS, ...AGENT_KINDS]).optional().describe("The step; defaults to tap, or agentAct with an instruction."), + kind: z.enum([...PINNED_KINDS, ...AGENT_KINDS, "press"]).optional().describe("The step; defaults to tap, or agentAct with an instruction. On an Apple TV it defaults to press, and tap, swipe and scrollUntilVisible are refused: use press, pressUntilFocused and assertFocused."), + button: z.enum(REMOTE_BUTTONS as unknown as [RemoteButton, ...RemoteButton[]]).optional().describe("Apple TV only: the remote button a press step presses."), + durationMs: z.number().int().min(1).max(10_000).optional().describe("Apple TV only: hold the button this long, in milliseconds, for a long press."), value: z.string().max(2048).optional().describe("The text fill types, or the text an assertion compares with."), - direction: z.enum(["up", "down", "left", "right"]).optional().describe("Which way a swipe goes. A swipe with no ref swipes the viewport."), + direction: z.enum(["up", "down", "left", "right"]).optional().describe("Which way a swipe goes (a swipe with no ref swipes the viewport), or which way pressUntilFocused moves focus."), instruction: z.string().max(1000).optional().describe("A sentence for agent.act/agent.assert, for an element nothing can name."), }, annotations: write, _meta: sharedVisibility, - }, safe(async (input: { ref?: string; kind?: string; value?: string; direction?: string; instruction?: string }) => + }, safe(async (input: { ref?: string; kind?: string; value?: string; direction?: string; instruction?: string; button?: string; durationMs?: number }) => dataResult(await recordings.step(input)))); registerAppTool(server, "mobile_testing_agent_finish", { @@ -825,6 +901,7 @@ export function registerTestingAgentTools(server: McpServer, devices: TestingDev deviceId: deviceIdSchema.or(z.literal("")), platform: z.enum(["ios", "android"]).optional(), kind: z.literal("physical").optional(), + appleOs: z.literal("tvos").optional(), bundleId: z.string().max(512), }, annotations: write, diff --git a/packages/core/src/testing-device.ts b/packages/core/src/testing-device.ts index 4afe8f5e0..5e73c4327 100644 --- a/packages/core/src/testing-device.ts +++ b/packages/core/src/testing-device.ts @@ -8,6 +8,7 @@ import { APP_FLOW_DIRECTORY, loadVendoredAgentDevice } from "./app-flow-host.ts" import { bundledE2eRoot } from "./e2e-runtime.ts"; import { captureServerError } from "./telemetry.ts"; import { isHardwareUdid, settlePhysicalIos } from "./physical-ios-settle.ts"; +import type { AppleOs } from "@mobile-dev/shared/apple-os.ts"; /** * The element tree the Testing Studio panel's recorder names selectors from: the one the `e2e` runner @@ -55,6 +56,8 @@ export interface TestingDeviceTarget { /** An iOS simulator or hardware UDID, or an Android emulator's adb serial. */ deviceId: string; platform: "ios" | "android"; + /** `tvos` for an Apple TV simulator. agent-device still selects it as `ios`. */ + appleOs?: AppleOs; /** The e2e project whose `@e2e-dev/mobile` projects the snapshot; its build, not ours. */ projectPath: string; /** The project root in project mode, or Mobile Dev's pinned artifact in bundled mode. */ @@ -96,7 +99,10 @@ export type TestingDeviceAction = * with "Gesture trajectory does not fit inside the viewport" whenever something shrinks the * window the gesture runtime measures, the on-screen keyboard above all. */ - | { kind: "scroll"; direction: "up" | "down" | "left" | "right" }; + | { kind: "scroll"; direction: "up" | "down" | "left" | "right" } + // An Apple TV remote press. It names no element — the remote acts on whatever holds focus — so it + // carries no ref, and `durationMs` makes it a long press. + | { kind: "press"; button: "up" | "down" | "left" | "right" | "select" | "menu" | "home"; durationMs?: number }; /** * agent-device allows exactly one session per device, so a leaked session makes the user's next @@ -189,6 +195,8 @@ function toComponent(entry: ProjectedNode, depth: number): ScreenComponent | und // selected tab from the rest without a second call. ...(entry.node.states?.["disabled"] === true ? { disabled: true } : {}), ...(entry.node.states?.["selected"] === true ? { selected: true } : {}), + // What `toBeFocused` reads. Only an Apple TV moves focus with a remote, but the state is the runner's own. + ...(entry.node.states?.["focused"] === true ? { focused: true } : {}), }; } @@ -246,6 +254,8 @@ type AgentDeviceClient = { apps: { open(options: Record): Promise }; capture: { snapshot(options: Record): Promise<{ nodes?: unknown }> }; sessions: { close(options?: Record): Promise }; + /** The unstable remote call, the same one the emitted test wraps in its `press` helper. */ + command: { tvRemote(options: Record): Promise }; interactions: { click(options: Record): Promise; fill(options: Record): Promise; @@ -276,11 +286,11 @@ export class TestingDevices { private readonly load: typeof loadVendoredAgentDevice; /** Lets a physical iPhone finish tearing the recorder's runner down once its session is closed. */ - private readonly settle: (deviceId: string) => Promise; + private readonly settle: (deviceId: string, appleOs?: AppleOs) => Promise; /** The device the attached session holds, kept so its release knows whether to settle. */ - private attachedDevice?: { deviceId: string; platform: "ios" | "android" }; + private attachedDevice?: { deviceId: string; platform: "ios" | "android"; appleOs?: AppleOs }; - constructor(load = loadVendoredAgentDevice, settle: (deviceId: string) => Promise = settlePhysicalIos) { this.load = load; this.settle = settle; } + constructor(load = loadVendoredAgentDevice, settle: (deviceId: string, appleOs?: AppleOs) => Promise = (deviceId, appleOs) => settlePhysicalIos(deviceId, undefined, undefined, undefined, appleOs)) { this.load = load; this.settle = settle; } private async connect(): Promise { pinStateDir(); @@ -314,7 +324,7 @@ export class TestingDevices { app: target.bundleId, relaunch: false, noRecord: true, timeoutMs: 120_000, }); this.attached = this.key(target); - this.attachedDevice = { deviceId: target.deviceId, platform: target.platform }; + this.attachedDevice = { deviceId: target.deviceId, platform: target.platform, ...(target.appleOs ? { appleOs: target.appleOs } : {}) }; } /** The runner's own snapshot call, with the runner's own options: a different tree is a different test. */ @@ -418,6 +428,8 @@ export class TestingDevices { // action on an element, so there is no element whose resting position the next step needs. case "swipe": await client.interactions.swipe({ ...this.selector(target), session: SESSION, from: action.from, to: action.to }); return; case "scroll": await client.interactions.scroll({ ...base, direction: action.direction }); return; + // On the recorder's own session, which is why the mirror's remote session is closed while recording. + case "press": await client.command.tvRemote({ ...this.selector(target), session: SESSION, button: action.button, ...(action.durationMs === undefined ? {} : { durationMs: action.durationMs }) }); return; } } @@ -463,6 +475,6 @@ export class TestingDevices { captureServerError(error, "testing.release"); } // Closing returns before the phone has torn the runner (and the app it drove) down; see `settlePhysicalIos`. - if (held?.platform === "ios" && isHardwareUdid(held.deviceId)) await this.settle(held.deviceId).catch(() => undefined); + if (held?.platform === "ios" && isHardwareUdid(held.deviceId)) await this.settle(held.deviceId, held.appleOs).catch(() => undefined); } } diff --git a/packages/core/src/testing-matrix.ts b/packages/core/src/testing-matrix.ts index 8385c2f46..b8a9a6670 100644 --- a/packages/core/src/testing-matrix.ts +++ b/packages/core/src/testing-matrix.ts @@ -3,6 +3,7 @@ import { errorMessage } from "@mobile-dev/shared/protocol.ts"; import { expectedOutcome } from "@mobile-dev/shared/error-reporting.ts"; import type { LaneFailure } from "./testing-failure.ts"; import type { TestRunProgress, TestRunResult } from "./testing-run.ts"; +import type { AppKey, AppleOs } from "@mobile-dev/shared/apple-os.ts"; /** * Runs one test on several devices: a registry of matrices and their lanes, and a scheduler that @@ -27,7 +28,7 @@ export function clampLimit(limit: number | undefined): number { return Math.min(MAX_MATRIX_LIMIT, Math.max(1, Math.floor(limit))); } -export interface MatrixDevice { deviceId: string; platform: MatrixPlatform; kind?: "simulator" | "emulator" | "physical"; name?: string } +export interface MatrixDevice { deviceId: string; platform: MatrixPlatform; /** `tvos` for an Apple TV simulator, which the iOS engine drives with a remote. */ appleOs?: AppleOs; kind?: "simulator" | "emulator" | "physical"; name?: string } export interface Lane { runId: string; @@ -35,6 +36,7 @@ export interface Lane { deviceId: string; deviceName: string; platform: MatrixPlatform; + appleOs?: AppleOs; kind?: MatrixDevice["kind"]; state: LaneState; /** The device the run actually used, once it is known. */ @@ -94,7 +96,7 @@ export class MatrixRegistry { matrixId: randomUUID(), testPath, startedAt: Date.now(), limit: clampLimit(limit), lanes: devices.map(device => ({ runId: randomUUID(), deviceId: device.deviceId, deviceName: device.name ?? device.deviceId, - platform: device.platform, ...(device.kind ? { kind: device.kind } : {}), state: "queued" as LaneState, progress: [], + platform: device.platform, ...(device.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), ...(device.kind ? { kind: device.kind } : {}), state: "queued" as LaneState, progress: [], })), }; const aborts = new Map(run.lanes.map(lane => [lane.runId, new AbortController()])); diff --git a/packages/core/src/testing-prepare.ts b/packages/core/src/testing-prepare.ts index c896e1aa8..38d0952e2 100644 --- a/packages/core/src/testing-prepare.ts +++ b/packages/core/src/testing-prepare.ts @@ -9,15 +9,20 @@ import type { Simctl } from "./simctl.ts"; import type { Lane, LaneExecutor, MatrixPlatform } from "./testing-matrix.ts"; import type { TestRunProgress, TestRunResult } from "./testing-run.ts"; import { listIosDevices } from "./ios-devices.ts"; +import { assertPhysicalAppleTvEnabled } from "./physical-apple-tv.ts"; import { ensureIosSigning } from "./ios-signing.ts"; import { coreDeviceLaunchCode, coreDeviceLaunchHint } from "./coredevice-errors.ts"; -import { findDeviceBuild } from "./ios-device-build.ts"; +import { appKeyOf, appleOsOfPlatformName, appleOsOfRuntime, type AppKey, type AppleOs } from "@mobile-dev/shared/apple-os.ts"; +import { findDeviceBuild, findSimulatorBuild } from "./ios-device-build.ts"; +import { tvosSceneLaunchIssue } from "./tvos-scene.ts"; +import { looksLikeMetroFailure, withMetroHint } from "./tvos-metro.ts"; +import { APPLE_TV_WAKE_HINT, physicalUnavailableHint, type PhysicalIosDevice } from "@mobile-dev/shared/ios-devices.ts"; /** Home screens and system UI, which are never the app to record. */ -export const LAUNCHER_APP = /^com\.apple\.springboard$|^com\.android\.systemui$|launcher/i; +export const LAUNCHER_APP = /^com\.apple\.springboard$|^com\.apple\.PineBoard$|^com\.android\.systemui$|launcher/i; /** The per-platform app ids of a matrix request: a project may use different ones on each platform. */ -export interface MatrixAppIds { ios?: string; android?: string } +export type MatrixAppIds = Partial>; /** What preparing a device needs from the machine; faked in tests. */ export interface PhysicalDeviceOps { @@ -34,13 +39,14 @@ export interface DeviceOps { physicalIos?: { /** Paired, connected, Developer Mode on, and a signing team for the runner; throws what to fix. */ ready(deviceId: string, options?: { projectPath?: string }): Promise; - hasApp(deviceId: string, appId: string): Promise; - launch(deviceId: string, appId: string): Promise; + /** `appleOs: "tvos"` (a physical Apple TV) gets the longer network timeouts. */ + hasApp(deviceId: string, appId: string, options?: { appleOs?: AppleOs }): Promise; + launch(deviceId: string, appId: string, options?: { appleOs?: AppleOs }): Promise; /** * Installs a device build of the app that is already on this Mac (never a simulator build). * Resolves "no_build" when none matches, so the caller can say how to build one. */ - install?(deviceId: string, appId: string, options?: { projectPath?: string }): Promise<"installed" | "no_build">; + install?(deviceId: string, appId: string, options?: { projectPath?: string; appleOs?: AppleOs }): Promise<"installed" | "no_build">; }; isBooted(platform: MatrixPlatform, deviceId: string): Promise; /** Boots the device and waits for it to be usable. Returns the id to run on (an Android AVD becomes a serial). */ @@ -50,7 +56,14 @@ export interface DeviceOps { copyApp(platform: MatrixPlatform, from: string, to: string, appId: string, signal: AbortSignal): Promise; launch(platform: MatrixPlatform, deviceId: string, appId: string): Promise; /** The booted devices of a platform, for finding the one the user opened an app on. */ - bootedDevices?(platform: MatrixPlatform): Promise<{ deviceId: string; name: string }[]>; + bootedDevices?(platform: MatrixPlatform): Promise<{ deviceId: string; name: string; appleOs?: AppleOs }[]>; + /** + * An Apple TV simulator only: installs a simulator build of the app that is already on this Mac + * (`Debug-appletvsimulator`). Resolves "no_build" when none matches. An iPhone build cannot be copied across. + */ + installBuild?(deviceId: string, appId: string, os: AppleOs, options?: { projectPath?: string }): Promise<"installed" | "no_build">; + /** Apple TV only: why the installed app would exit at launch on this runtime (tvOS 27 without UIScene), or undefined. */ + launchIssue?(deviceId: string, appId: string): Promise; /** The bundle id or package of the app in the foreground, or null when none is. */ foregroundApp?(platform: MatrixPlatform, deviceId: string): Promise; } @@ -78,8 +91,8 @@ export interface LaneExecutorDeps { export function createLaneExecutor(deps: LaneExecutorDeps): LaneExecutor { return { async prepare(lane, lanes, signal, setState) { - const appId = deps.apps[lane.platform]; - if (!appId) throw new ExpectedOperationError("invalid_input", `No ${lane.platform === "ios" ? "iOS bundle id" : "Android package"} was given for this run, so ${lane.deviceName} cannot run it.`); + const appId = deps.apps[appKeyOf(lane)]; + if (!appId) throw new ExpectedOperationError("invalid_input", `No ${lane.appleOs === "tvos" ? "Apple TV bundle id" : lane.platform === "ios" ? "iOS bundle id" : "Android package"} was given for this run, so ${lane.deviceName} cannot run it.`); let deviceId = lane.deviceId; if (lane.kind === "physical" && lane.platform === "android") { const physical = deps.ops.physicalAndroid; @@ -100,18 +113,22 @@ export function createLaneExecutor(deps: LaneExecutorDeps): LaneExecutor { } if (lane.kind === "physical") { if (!deps.ops.physicalIos) throw new ExpectedOperationError("unsupported_platform", "Physical iOS runs are unavailable on this server."); + if (lane.appleOs === "tvos") assertPhysicalAppleTvEnabled(); const physical = deps.ops.physicalIos; + const os = lane.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}; await physical.ready(deviceId, { projectPath: deps.projectPath }); signal.throwIfAborted(); - if (!await physical.hasApp(deviceId, appId)) { + if (!await physical.hasApp(deviceId, appId, os)) { // A simulator build has the wrong slice and no provisioning, and an installed app cannot be // pulled back off a phone, so the only source is a device build already on this Mac. setState("installing"); - const result = physical.install ? await physical.install(deviceId, appId, { projectPath: deps.projectPath }) : "no_build"; - if (result === "no_build") throw new ExpectedOperationError("app_unavailable", `App not installed: ${appId} is not on ${lane.deviceName}, and no device build of it was found on this Mac. Build it for a physical device (for an Expo app, \`npx expo run:ios --device\`), then run again.`); + const result = physical.install ? await physical.install(deviceId, appId, { projectPath: deps.projectPath, ...os }) : "no_build"; + if (result === "no_build") throw new ExpectedOperationError("app_unavailable", lane.appleOs === "tvos" + ? `App not installed: ${appId} is not on ${lane.deviceName}, and no Apple TV device build of it was found on this Mac (Debug-appletvos). Build it for tvOS with the Apple TV as the destination, then run again.` + : `App not installed: ${appId} is not on ${lane.deviceName}, and no device build of it was found on this Mac. Build it for a physical device (for an Expo app, \`npx expo run:ios --device\`), then run again.`); } signal.throwIfAborted(); - if (!deps.projectMode) await deps.ops.physicalIos.launch(deviceId, appId); + if (!deps.projectMode) await deps.ops.physicalIos.launch(deviceId, appId, os); return deviceId; } if (!await deps.ops.isBooted(lane.platform, deviceId)) { @@ -123,17 +140,42 @@ export function createLaneExecutor(deps: LaneExecutorDeps): LaneExecutor { if (!await deps.ops.hasApp(lane.platform, deviceId, appId)) { setState("installing"); const source = await findSource(deps.ops, lane, lanes, deviceId, appId); - if (!source) throw new ExpectedOperationError("app_unavailable", `App not installed: ${appId} is not on ${lane.deviceName}, and no other booted device has it to copy. Build and install it once, then run again.`); - await deps.ops.copyApp(lane.platform, source, deviceId, appId, signal); + if (source) await deps.ops.copyApp(lane.platform, source, deviceId, appId, signal); + else if (lane.appleOs === "tvos") { + // An iPhone's copy is the wrong build for an Apple TV, so the only other source is a simulator build on this Mac. + const result = deps.ops.installBuild ? await deps.ops.installBuild(deviceId, appId, "tvos", { projectPath: deps.projectPath }) : "no_build"; + if (result === "no_build") throw new ExpectedOperationError("app_unavailable", `App not installed: ${appId} is not on ${lane.deviceName}, and no Apple TV simulator build of it was found on this Mac (Debug-appletvsimulator). Build it for an Apple TV simulator and install it once, then run again.`); + } else throw new ExpectedOperationError("app_unavailable", `App not installed: ${appId} is not on ${lane.deviceName}, and no other booted device has it to copy. Build and install it once, then run again.`); + } + if (lane.appleOs === "tvos") { + const issue = await deps.ops.launchIssue?.(deviceId, appId); + if (issue) throw new ExpectedOperationError("app_unavailable", issue); } signal.throwIfAborted(); if (!deps.projectMode) await deps.ops.launch(lane.platform, deviceId, appId); return deviceId; }, - run: (lane, deviceId, signal, onProgress) => deps.runTest(lane, deviceId, signal, onProgress), + run: async (lane, deviceId, signal, onProgress) => { + const result = await deps.runTest(lane, deviceId, signal, onProgress).catch(error => { throw physicalTvMetroError(lane, error); }); + return physicalTvMetroResult(lane, result); + }, }; } +const physicalTv = (lane: Lane) => lane.kind === "physical" && lane.appleOs === "tvos"; + +/** A failed run on a physical Apple TV that describes a Metro connection failure, explained. */ +function physicalTvMetroError(lane: Lane, error: unknown): unknown { + if (!physicalTv(lane) || !(error instanceof Error) || !looksLikeMetroFailure(error.message)) return error; + return new ExpectedOperationError("app_unavailable", withMetroHint(error.message)); +} + +function physicalTvMetroResult(lane: Lane, result: TestRunResult): TestRunResult { + if (!physicalTv(lane) || result.status === "passed") return result; + const text = [result.error, result.output].filter(Boolean).join("\n"); + return looksLikeMetroFailure(text) ? { ...result, error: withMetroHint(result.error ?? "The app could not load its JavaScript.") } : result; +} + /** The first other device of the same platform in the matrix that has the app installed. */ /** * A device to copy the app from: another device in this run first, then any other booted device of @@ -150,15 +192,18 @@ async function findSource(ops: DeviceOps, lane: Lane, lanes: readonly Lane[], ow }; for (const other of lanes) { // A phone is never a source: a copy would need its container, which a phone does not give out. - if (other.runId === lane.runId || other.platform !== lane.platform || other.kind === "physical") continue; + if (other.runId === lane.runId || other.platform !== lane.platform || other.kind === "physical" || sameAppleOs(other, lane) === false) continue; const candidate = other.resolvedDeviceId ?? other.deviceId; if (await usable(candidate)) return candidate; } const booted = await ops.bootedDevices?.(lane.platform).catch(() => []) ?? []; - for (const device of booted) if (await usable(device.deviceId)) return device.deviceId; + // An iPhone's build does not run on an Apple TV and the reverse, so only a device of the lane's own OS is a source. + for (const device of booted) if ((device.appleOs ?? "ios") === (lane.appleOs ?? "ios") && await usable(device.deviceId)) return device.deviceId; return undefined; } +function sameAppleOs(a: { appleOs?: AppleOs }, b: { appleOs?: AppleOs }): boolean { return (a.appleOs ?? "ios") === (b.appleOs ?? "ios"); } + /** Devices an Android phone may take the app from: phones of this run, other devices of it, then any booted emulator. */ async function androidSources(ops: DeviceOps, lane: Lane, lanes: readonly Lane[], own: string, appId: string): Promise { const found: string[] = []; @@ -189,9 +234,10 @@ async function developerModeDisabledWith(run: Commands["run"], deviceId: string) * devicectl's failures as something to act on. The raw text names no fix, and "not installed" and * "locked" are the two a tester meets first. Anything unrecognised keeps devicectl's own lines. */ -export function physicalIosError(error: unknown, action: string, appId?: string): Error { +export function physicalIosError(error: unknown, action: string, appId?: string, os: AppleOs = "ios"): Error { if (error instanceof ExpectedOperationError) return error; const output = commandOutput(error); + if (os === "tvos") return physicalTvosError(error, output, action, appId); if (/\blocked\b|passcode|DeviceLocked/i.test(output)) return new ExpectedOperationError("device_unavailable", `${action} failed: the device is locked. Unlock it and keep the screen on, then try again.`); if (/Developer Mode/i.test(output)) @@ -212,6 +258,22 @@ export function physicalIosError(error: unknown, action: string, appId?: string) return failure; } +/** devicectl's failures for an Apple TV: no Developer Mode, no unlock, and a device that sleeps and leaves the network. */ +function physicalTvosError(error: unknown, output: string, action: string, appId?: string): Error { + if (/no devices matched|device not found|unavailable|not connected|tunnel|timed out|timeout|not reachable|network/i.test(output)) + return new ExpectedOperationError("device_unavailable", `${action} failed: the Apple TV is asleep or off the network. ${APPLE_TV_WAKE_HINT}`); + if (/not been explicitly trusted|profile has not been|invalid code signature|untrusted developer|0xe8008018/i.test(output)) + return new ExpectedOperationError("device_unavailable", `${action} failed: the developer profile is not trusted on the Apple TV. Open Settings → General → Profiles on the Apple TV (or VPN & Device Management) and trust it, then try again.`); + if (/provisioning profile|not provisioned|entitlement|0xe8008015|0xe800801f|doesn't include|not.*included in the profile/i.test(output)) + return new ExpectedOperationError("app_unavailable", `${action} failed: this build is not provisioned for the Apple TV${appId ? ` (${appId})` : ""}. Register the Apple TV with your team and rebuild for tvOS with automatic signing (in Xcode with the Apple TV as destination, or \`npx expo run:ios --device\` in a react-native-tvos project).`); + if (/not installed|could not be found|no such app|ApplicationNotFound|is not an installed/i.test(output)) + return new ExpectedOperationError("app_unavailable", `${action} failed: ${appId ?? "the app"} is not installed on the Apple TV. Build it for tvOS and install it, then try again.`); + const failure = commandError(error, action, "devicectl"); + const launch = coreDeviceLaunchCode(output); + if (launch === "10002") return new ExpectedOperationError("device_unavailable", `${action} failed: ${coreDeviceLaunchHint(launch, appId)}`); + return failure; +} + const APK_PATH = /^\/[\w\-./=+@~]+\.apk$/; /** Parses `adb shell pm path` output: one `package:` line per APK, split APKs included. */ @@ -275,7 +337,7 @@ export function androidInstallError(error: unknown, action: string, appId?: stri } /** The real thing: `simctl` for iOS simulators, the emulator through `ServeEmu` and `adb` for Android. */ -export function systemDeviceOps(deps: { simulators: Simctl; android: ServeEmu; drivers: DriverFactory; commands?: Commands; foreground?: (platform: MatrixPlatform, deviceId: string) => Promise }): DeviceOps { +export function systemDeviceOps(deps: { /** Physical device discovery; tests only. */ listPhysical?: () => Promise; simulators: Simctl; android: ServeEmu; drivers: DriverFactory; commands?: Commands; foreground?: (platform: MatrixPlatform, deviceId: string) => Promise }): DeviceOps { const commands = deps.commands ?? systemCommands; const simctl = (args: string[], timeout = 30_000) => commands.run("xcrun", ["simctl", ...args], { timeout }); const adb = async (serial: string, args: string[], timeout = 30_000) => commands.run(await commands.adb(), ["-s", serial, ...args], { timeout }); @@ -283,6 +345,16 @@ export function systemDeviceOps(deps: { simulators: Simctl; android: ServeEmu; d if (!udidSchema.safeParse(id).success) throw new ExpectedOperationError("invalid_input", "Use an iOS simulator UDID here. For a connected iPhone or iPad, select kind physical from device discovery."); return id; }; + /** An iOS build on an Apple TV simulator (or the reverse) is installed but cannot run: say so instead of launching it. */ + const assertAppMatchesDeviceOs = async (container: string, deviceId: string, appId: string) => { + if (!container) return; + let built: AppleOs | undefined; + try { built = appleOsOfPlatformName((await commands.run("/usr/bin/plutil", ["-extract", "DTPlatformName", "raw", "-o", "-", `${container}/Info.plist`], { timeout: 5_000 })).trim()); } catch { return; } + const device = await deps.simulators.device(ios(deviceId)).catch(() => undefined); + if (!built || !device?.runtime) return; + const on = appleOsOfRuntime(device.runtime); + if (built !== on) throw new ExpectedOperationError("unsupported_platform", `${appId} installed on ${device.name} is a ${built === "tvos" ? "tvOS" : "iOS"} build, but the device runs ${on === "tvos" ? "tvOS" : "iOS"}. Build it for ${on === "tvos" ? "an Apple TV simulator" : "an iOS simulator"} and install it.`); + }; const wireless = (serial: string) => /:\d+$|\._adb(?:-tls-connect)?\._tcp\.?$/.test(serial); const adbShell = async (serial: string, args: string[], timeout = 10_000) => adb(serial, ["shell", ...args], timeout); return { @@ -339,29 +411,33 @@ export function systemDeviceOps(deps: { simulators: Simctl; android: ServeEmu; d }, physicalIos: { async ready(deviceId, options) { - const device = (await listIosDevices()).find(entry => entry.udid === deviceId); - if (!device) throw new ExpectedOperationError("device_unavailable", "The iPhone or iPad is no longer in device discovery. Reconnect it and refresh Devices."); - if (device.state !== "connected" || device.pairingState !== "paired") throw new ExpectedOperationError("device_unavailable", `${device.name} is not connected and paired. Reconnect and trust this Mac, then refresh Devices.`); - // Developer Mode is what lets the test runner start; a phone without it fails minutes later with a signing-like error. - if (await developerModeDisabledWith(commands.run, deviceId)) throw new ExpectedOperationError("device_unavailable", `Developer Mode is off on ${device.name}. Turn it on in Settings → Privacy & Security → Developer Mode, restart the phone, then try again.`); + const device = (await (deps.listPhysical ?? listIosDevices)()).find(entry => entry.udid === deviceId); + const tvos = device?.appleOs === "tvos"; + if (!device) throw new ExpectedOperationError("device_unavailable", "The iPhone, iPad or Apple TV is no longer in device discovery. Reconnect it (an Apple TV: wake it with its remote) and refresh Devices."); + const unavailable = physicalUnavailableHint(device); + if (unavailable) throw new ExpectedOperationError("device_unavailable", unavailable); + // Developer Mode is what lets the test runner start on a phone; tvOS has no such switch, so it is not checked there. + if (!tvos && await developerModeDisabledWith(commands.run, deviceId)) throw new ExpectedOperationError("device_unavailable", `Developer Mode is off on ${device.name}. Turn it on in Settings → Privacy & Security → Developer Mode, restart the phone, then try again.`); await ensureIosSigning({ projectPath: options?.projectPath }); }, - async hasApp(deviceId, appId) { + async hasApp(deviceId, appId, options) { + const tvos = options?.appleOs === "tvos"; try { - const output = await commands.run("/usr/bin/xcrun", ["devicectl", "device", "info", "apps", "--device", deviceId, "--include-all-apps", "--quiet", "--timeout", "10", "--omit-deprecated-fields-in-json", "--json-output", "-"], { timeout: 15_000 }); + const output = await commands.run("/usr/bin/xcrun", ["devicectl", "device", "info", "apps", "--device", deviceId, "--include-all-apps", "--quiet", "--timeout", tvos ? "30" : "10", "--omit-deprecated-fields-in-json", "--json-output", "-"], { timeout: tvos ? 45_000 : 15_000 }); const parsed = JSON.parse(output) as { result?: { apps?: { bundleIdentifier?: string }[] } }; return parsed.result?.apps?.some(app => app.bundleIdentifier === appId) ?? false; - } catch (error) { throw physicalIosError(error, "Reading the apps on the device"); } + } catch (error) { throw physicalIosError(error, "Reading the apps on the device", undefined, options?.appleOs); } }, - async launch(deviceId, appId) { - try { await commands.run("/usr/bin/xcrun", ["devicectl", "device", "process", "launch", "--device", deviceId, appId], { timeout: 30_000 }); } - catch (error) { throw physicalIosError(error, "Opening the app", appId); } + async launch(deviceId, appId, options) { + const tvos = options?.appleOs === "tvos"; + try { await commands.run("/usr/bin/xcrun", ["devicectl", "device", "process", "launch", "--device", deviceId, appId], { timeout: tvos ? 90_000 : 30_000 }); } + catch (error) { throw physicalIosError(error, "Opening the app", appId, options?.appleOs); } }, async install(deviceId, appId, options) { - const build = await findDeviceBuild(appId, commands, options?.projectPath); + const build = await findDeviceBuild(appId, commands, options?.projectPath, undefined, options?.appleOs ?? "ios"); if (!build) return "no_build"; - try { await commands.run("/usr/bin/xcrun", ["devicectl", "device", "install", "app", "--device", deviceId, build], { timeout: 300_000 }); } - catch (error) { throw physicalIosError(error, "Installing the app", appId); } + try { await commands.run("/usr/bin/xcrun", ["devicectl", "device", "install", "app", "--device", deviceId, build], { timeout: options?.appleOs === "tvos" ? 600_000 : 300_000 }); } + catch (error) { throw physicalIosError(error, "Installing the app", appId, options?.appleOs); } return "installed"; }, }, @@ -389,10 +465,13 @@ export function systemDeviceOps(deps: { simulators: Simctl; android: ServeEmu; d return running.udid; }, async hasApp(platform, deviceId, appId) { - try { - if (platform === "ios") { await simctl(["get_app_container", ios(deviceId), appId, "app"]); return true; } - return parsePmPaths(await adb(deviceId, ["shell", "pm", "path", appId])).length > 0; - } catch { return false; } + if (platform === "ios") { + let container: string; + try { container = (await simctl(["get_app_container", ios(deviceId), appId, "app"])).trim(); } catch { return false; } + await assertAppMatchesDeviceOs(container, deviceId, appId); + return true; + } + try { return parsePmPaths(await adb(deviceId, ["shell", "pm", "path", appId])).length > 0; } catch { return false; } }, async copyApp(platform, from, to, appId, signal) { if (platform === "ios") { @@ -419,7 +498,26 @@ export function systemDeviceOps(deps: { simulators: Simctl; android: ServeEmu; d async launch(platform, deviceId, appId) { await deps.drivers({ platform, deviceId }).launch(appId); }, async bootedDevices(platform) { const status = await (platform === "ios" ? deps.simulators.list() : deps.android.list()); - return status.devices.flatMap(device => "state" in device && device.state === "Booted" && (device.platform ?? platform) === platform ? [{ deviceId: device.udid, name: device.name }] : []); + return status.devices.flatMap(device => "state" in device && device.state === "Booted" && (device.platform ?? platform) === platform + ? [{ deviceId: device.udid, name: device.name, ...(platform === "ios" && "runtime" in device && appleOsOfRuntime(device.runtime as string | undefined) === "tvos" ? { appleOs: "tvos" as const } : {}) }] : []); + }, + async installBuild(deviceId, appId, os, options) { + const build = await findSimulatorBuild(appId, commands, options?.projectPath, undefined, os); + if (!build) return "no_build"; + await simctl(["install", ios(deviceId), build], 300_000); + return "installed"; + }, + async launchIssue(deviceId, appId) { + const device = await deps.simulators.device(ios(deviceId)).catch(() => undefined); + let container: string; + try { container = (await simctl(["get_app_container", ios(deviceId), appId, "app"])).trim(); } catch { return undefined; } + let hasSceneManifest = true; + try { await commands.run("/usr/bin/plutil", ["-extract", "UIApplicationSceneManifest", "raw", "-o", "-", `${container}/Info.plist`], { timeout: 5_000 }); } + catch (error) { + // plutil exits non-zero for a missing key; an unreadable plist says nothing about the manifest. + hasSceneManifest = !/No value at that key path|Could not extract value/i.test(commandOutput(error)); + } + return tvosSceneLaunchIssue({ runtime: device?.runtime, hasSceneManifest, appId }); }, foregroundApp: async (platform, deviceId) => deps.foreground ? deps.foreground(platform, deviceId) : null, }; diff --git a/packages/core/src/testing-projects.ts b/packages/core/src/testing-projects.ts index 188015909..cf0fa3442 100644 --- a/packages/core/src/testing-projects.ts +++ b/packages/core/src/testing-projects.ts @@ -2,6 +2,7 @@ import { createHash, randomUUID } from "node:crypto"; import { homedir, tmpdir } from "node:os"; import { lstat, mkdir, readFile, readdir, rename, stat, unlink, writeFile } from "node:fs/promises"; import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path"; +import { appKeyOf, nativeSourceTargetsTvOS, type AppleOs } from "@mobile-dev/shared/apple-os.ts"; import { ExpectedOperationError } from "@mobile-dev/shared/error-reporting.ts"; import { chooseProjectFolder } from "./project-folder-dialog.ts"; import { recordProjectDialog } from "./telemetry.ts"; @@ -35,6 +36,8 @@ export interface TestingProjectChoice { export interface TestingTarget { name: string; platform?: string; + /** `tvos` for an Apple TV target. The engine platform stays `ios`: the runner has no TV platform. */ + appleOs?: AppleOs; bundleId?: string; } @@ -44,6 +47,8 @@ export interface TestingProjectConfig { /** Absolute path of the config file that was read. */ configPath: string; targets: TestingTarget[]; + /** The Apple OS families the project's native sources build for; empty when there is no native Apple project. */ + appleOs: AppleOs[]; runtimeMode: "project" | "bundled"; runtime: TestingRuntimeDescriptor; setupState: "configured" | "available"; @@ -125,6 +130,37 @@ export async function findConfig(projectPath: string): Promise { + const found = new Set(); + const roots = [projectPath, join(projectPath, "ios"), join(projectPath, "tvos")]; + for (const root of roots) { + const podfile = await readFile(join(root, "Podfile"), "utf-8").catch(() => undefined); + if (podfile !== undefined) found.add(nativeSourceTargetsTvOS(podfile, "podfile") ? "tvos" : "ios"); + for (const entry of await readdir(root).catch(() => [] as string[])) { + if (!entry.endsWith(".xcodeproj")) continue; + const project = await readFile(join(root, entry, "project.pbxproj"), "utf-8").catch(() => undefined); + if (project === undefined) continue; + if (nativeSourceTargetsTvOS(project, "pbxproj")) found.add("tvos"); + if (/\bSDKROOT\s*=\s*"?iphoneos"?\s*;/.test(project)) found.add("ios"); + } + } + return [...found]; +} + +/** A tvOS-only native project makes its otherwise unmarked iOS-engine targets Apple TV targets. */ +export function withProjectAppleOs(targets: TestingTarget[], projectOs: readonly AppleOs[]): TestingTarget[] { + if (projectOs.length !== 1 || projectOs[0] !== "tvos") return targets; + return targets.map(target => target.platform === "ios" && !target.appleOs ? { ...target, appleOs: "tvos" as const } : target); +} + /** * Reads the targets out of an e2e config without executing it. * @@ -135,6 +171,13 @@ export async function findConfig(projectPath: string): Promise(); + for (const declaration of source.matchAll(/\bconst\s+(\w+)\s*=\s*mobile\(\s*\{([^}]*)\}/g)) { + const declared = declaration[2].match(/platform\s*:\s*["'`]([^"'`]+)["'`]/)?.[1]; + if (declared) engines.set(declaration[1], declared); + } const block = source.match(/targets\s*:\s*\[([\s\S]*?)\n\s*\]/); const body = block?.[1]; if (!body) return targets; @@ -145,9 +188,11 @@ export function parseTargets(source: string): TestingTarget[] { const start = match.index ?? 0; const end = index + 1 < names.length ? names[index + 1].index ?? body.length : body.length; const entry = body.slice(start, end); - const platform = entry.match(/platform\s*:\s*["'`]([^"'`]+)["'`]/)?.[1]; + const engine = entry.match(/engine\s*:\s*(\w+)\s*[,}\n]/)?.[1]; + const platform = entry.match(/platform\s*:\s*["'`]([^"'`]+)["'`]/)?.[1] ?? (engine ? engines.get(engine) : undefined); const bundleId = entry.match(/bundleId\s*:\s*["'`]([^"'`]+)["'`]/)?.[1]; - targets.push({ name: match[1], ...(platform ? { platform } : {}), ...(bundleId ? { bundleId } : {}) }); + const appleOs = platform === "ios" ? targetAppleOs(match[1], entry) : undefined; + targets.push({ name: match[1], ...(platform ? { platform } : {}), ...(appleOs ? { appleOs } : {}), ...(bundleId ? { bundleId } : {}) }); } return targets; } @@ -161,10 +206,11 @@ export async function inspectProject(projectPath: string, foreground?: Foregroun const configPath = await findConfig(path); const source = configPath ? await readFile(configPath, "utf-8").catch(() => "") : ""; const configuredTargets = parseTargets(source); - const compatibleTargets = configuredTargets.filter(target => (target.platform === "ios" || target.platform === "android") && target.bundleId); + const appleOs = await detectAppleOs(path); + const compatibleTargets = withProjectAppleOs(configuredTargets, appleOs).filter(target => (target.platform === "ios" || target.platform === "android") && target.bundleId); const projectRuntime = configPath && compatibleTargets.length ? await projectRuntimeDescriptor(path) : undefined; if (projectRuntime) return { - path, name: basename(path) || path, configPath: configPath!, targets: compatibleTargets, + path, name: basename(path) || path, configPath: configPath!, targets: compatibleTargets, appleOs, runtimeMode: "project", runtime: projectRuntime, setupState: "configured", targetSource: "project", }; const discovered = await discoverTestingTargets(path, foreground); @@ -172,7 +218,7 @@ export async function inspectProject(projectPath: string, foreground?: Foregroun : compatibleTargets.length === 0 ? "The project config has no compatible mobile target." : "The project-local e2e runtime is missing or incompatible with this Mobile Dev version."; return { - path, name: basename(path) || path, configPath: configPath ?? "", targets: discovered.targets, + path, name: basename(path) || path, configPath: configPath ?? "", targets: withProjectAppleOs(discovered.targets, appleOs), appleOs, runtimeMode: "bundled", runtime: await bundledRuntimeDescriptor(reason), setupState: "available", targetSource: discovered.source, warning: [reason, discovered.warning].filter(Boolean).join(" "), }; @@ -409,7 +455,9 @@ export interface StoredTest { * `platform` and `bundleId` are the app it was recorded or first pinned against; `apps` holds the * app id the user added for the other platform, so the same test can run there too. */ -export interface TestTarget { platform: "ios" | "android"; bundleId: string; apps?: { ios?: string; android?: string } } +export interface TestTarget { platform: "ios" | "android"; /** `tvos` when the test was recorded on an Apple TV; the engine platform stays `ios`. */ appleOs?: "tvos"; bundleId: string; apps?: { ios?: string; android?: string; tvos?: string } } + +const APP_KEYS = ["ios", "tvos", "android"] as const; const TARGETS_FILE = "targets.json"; @@ -418,12 +466,14 @@ const validAppId = (value: unknown): value is string => typeof value === "string function validTarget(value: unknown): TestTarget | undefined { const entry = value as Partial | null; if (!(entry?.platform === "ios" || entry?.platform === "android") || !validAppId(entry.bundleId)) return undefined; - const apps: { ios?: string; android?: string } = {}; - for (const platform of ["ios", "android"] as const) { - const id = entry.apps?.[platform]; - if (platform !== entry.platform && validAppId(id)) apps[platform] = id; + const appleOs = entry.platform === "ios" && entry.appleOs === "tvos" ? "tvos" as const : undefined; + const own = appKeyOf({ platform: entry.platform, appleOs }); + const apps: NonNullable = {}; + for (const key of APP_KEYS) { + const id = entry.apps?.[key]; + if (key !== own && validAppId(id)) apps[key] = id; } - return { platform: entry.platform, bundleId: entry.bundleId, ...(Object.keys(apps).length > 0 ? { apps } : {}) }; + return { platform: entry.platform, ...(appleOs ? { appleOs } : {}), bundleId: entry.bundleId, ...(Object.keys(apps).length > 0 ? { apps } : {}) }; } async function readTargets(root: string): Promise> { @@ -456,18 +506,18 @@ export async function writeTestTarget(projectPath: string, relativePath: string, if (project.runtimeMode !== "bundled") return false; const file = await resolveTestPath(root, relativePath); if (!(await isFile(file))) throw new ExpectedOperationError("invalid_input", "Save the test before pinning an app to it."); - const checked = validTarget({ platform: target.platform, bundleId: target.bundleId }); + const checked = validTarget({ platform: target.platform, appleOs: target.appleOs, bundleId: target.bundleId }); if (!checked) throw new ExpectedOperationError("invalid_input", "Choose an iOS or Android app identifier."); await changeTargets(root, targets => { const current = targets[relativePath]; // "add" gives the test an app on a second platform and leaves the recorded one in place. - if (mode === "add" && current && current.platform !== checked.platform) { - targets[relativePath] = { ...current, apps: { ...current.apps, [checked.platform]: checked.bundleId } }; + if (mode === "add" && current && appKeyOf(current) !== appKeyOf(checked)) { + targets[relativePath] = { ...current, apps: { ...current.apps, [appKeyOf(checked)]: checked.bundleId } }; return; } // Replacing the recorded app on its own platform keeps the one added for the other; a // recorded app on another platform is a different test, so nothing of the old pin stays. - const kept = current?.platform === checked.platform ? current.apps : undefined; + const kept = current && appKeyOf(current) === appKeyOf(checked) ? current.apps : undefined; targets[relativePath] = { ...checked, ...(kept ? { apps: kept } : {}) }; }); storedTestsRevision += 1; diff --git a/packages/core/src/testing-run.ts b/packages/core/src/testing-run.ts index db42e2ea5..5593c08bd 100644 --- a/packages/core/src/testing-run.ts +++ b/packages/core/src/testing-run.ts @@ -1,3 +1,4 @@ +import { blockingSession, explainBlockingSession, rewriteBlockingSession } from "./device-session-errors.ts"; import { coreDeviceLaunchCode, rewriteCoreDeviceHint } from "./coredevice-errors.ts"; import { countTestingLaunchRetry } from "./telemetry.ts"; import { spawn } from "node:child_process"; @@ -9,6 +10,7 @@ import { dirname, extname, join, relative } from "node:path"; import { pathToFileURL } from "node:url"; import { APP_FLOW_DIRECTORY } from "./app-flow-host.ts"; import { ExpectedOperationError } from "@mobile-dev/shared/error-reporting.ts"; +import type { AppleOs } from "@mobile-dev/shared/apple-os.ts"; /** * Runs one recorded test with the project's own `e2e` CLI, live per-step, and turns its report into @@ -315,7 +317,7 @@ export interface TestRunRequest { * what lets a test matrix run the same test on several devices at once; without it the runner takes * whichever booted device it finds, as a single run always has. */ -export interface BundledTarget { platform: "ios" | "android"; bundleId: string; device?: string } +export interface BundledTarget { platform: "ios" | "android"; /** `tvos` when the pinned device is an Apple TV; the engine platform stays `ios`. */ appleOs?: AppleOs; bundleId: string; device?: string } export type BundledModelProvider = "vercel" | "openrouter" | "openai-compatible" | "chatgpt" | "copilot" | "opencode-console" | "grok"; @@ -478,8 +480,9 @@ function launchRacedShutdown(result: TestRunResult): boolean { /** The runner passes agent-device's generic "unlocked, trusted" hint through; see `coredevice-errors.ts`. */ function explainLaunchFailure(result: TestRunResult, appId?: string): TestRunResult { if (result.status === "passed") return result; - const rewrite = (text: string | undefined) => text === undefined ? undefined : rewriteCoreDeviceHint(text, appId); - const error = rewrite(result.error); + const rewrite = (text: string | undefined) => text === undefined ? undefined : rewriteBlockingSession(rewriteCoreDeviceHint(text, appId)); + // A run that never reached a step has only its output, so a blocked device is named in the error rather than left in the log. + const error = rewrite(result.error) ?? (result.steps.length === 0 && result.output ? (() => { const blocking = blockingSession(result.output); return blocking ? explainBlockingSession(blocking) : undefined; })() : undefined); return { ...result, ...(error === undefined ? {} : { error }), steps: result.steps.map(step => step.error === undefined ? step : { ...step, error: rewrite(step.error) }) }; } @@ -739,15 +742,42 @@ export function bundledTargetName(target: BundledTarget): string { return `${target.platform}-${target.device.replace(/[^A-Za-z0-9_-]/g, "-").slice(0, 64)}`; } -export function bundledConfigSource(target: BundledTarget, model?: TestRunRequest["model"]): string { +/** + * The agent's Apple TV remote, as in a hand-written tvOS config: a press, then the focused items so the + * model can check where focus went. The engine is shared with the target, so the tool drives the same + * simulator and session the test does. e2e has no TV platform, so this is the unstable `tvRemote` call. + */ +const TV_REMOTE_TOOL = [ + "const tvRemote = defineTool({", + " description: 'Press an Apple TV remote button (up/down/left/right move focus, select activates the focused item, menu goes back, home).',", + " inputSchema: z.object({ button: z.enum(['up', 'down', 'left', 'right', 'select', 'menu', 'home']) }),", + " execute: async ({ button }: { button: string }) => {", + " const session = unstable_deviceSession(tv);", + " await (session.client.command as any).tvRemote({ ...session.selection, button });", + " const snapshot: any = await (session.client as any).capture.snapshot({ ...session.selection });", + " const focused = (snapshot.nodes ?? []).filter((node: any) => JSON.stringify(node).includes('focused')).map((node: any) => node.label ?? node.name).filter(Boolean);", + " return `Pressed ${button}. Focused item(s) now: ${focused.join(', ') || 'unknown'}.`;", + " },", + "} as any, { mutates: true, platforms: ['ios'] } as any);", +]; + +/** `agentSteps` is whether the test calls the agent; only then does an Apple TV run need the remote tool. */ +export function bundledConfigSource(target: BundledTarget, model?: TestRunRequest["model"], options: { agentSteps?: boolean } = {}): string { const selected = bundledModelSource(model); + const remote = target.appleOs === "tvos" && selected !== undefined && options.agentSteps === true; + const engine = `mobile({ platform: ${quoted(target.platform)}${target.device ? `, device: ${devicePinSource(target.device)}` : ""} })`; return [ "import { mobile } from '@e2e-dev/mobile';", + ...(remote ? ["import { unstable_deviceSession } from '@e2e-dev/mobile/tools';", "import { defineTool } from 'e2e/agent';", "import { z } from 'zod';"] : []), ...(selected?.imports ?? []), "", + ...(remote ? [`const tv = ${engine};`, ...TV_REMOTE_TOOL, ""] : []), "export default {", - ...(selected ? [" agents: { default: {", ` model: ${selected.field},`, " system: 'You are a thorough QA agent. Verify every outcome.',", " } },"] : []), - ` targets: [{ name: ${quoted(bundledTargetName(target))}, engine: mobile({ platform: ${quoted(target.platform)}${target.device ? `, device: ${devicePinSource(target.device)}` : ""} }), app: { bundleId: ${quoted(target.bundleId)} } }],`, + ...(selected ? [" agents: { default: {", ` model: ${selected.field},`, + ` system: ${quoted(remote ? "You are a thorough QA agent testing a tvOS app. Verify every outcome." : "You are a thorough QA agent. Verify every outcome.")},`, + ...(remote ? [" context: 'This is an Apple TV app. The UI is focus-based: tapping is not available. Navigate only with the tv_remote tool (up/down/left/right move focus, select activates, menu goes back). The focused item is exposed as [focused] in the screen tree.',", " tools: { tv_remote: tvRemote },"] : []), + " } },"] : []), + ` targets: [{ name: ${quoted(bundledTargetName(target))}, engine: ${remote ? "tv" : engine}, app: { bundleId: ${quoted(target.bundleId)} } }],`, " workers: 1,", "};", "", @@ -775,7 +805,7 @@ async function runBundledTest(request: TestRunRequest, deps: TestRunDeps): Promi try { await mkdir(dirname(join(workspace, runPath)), { recursive: true, mode: 0o700 }); await writeFile(join(workspace, runPath), source, { mode: 0o600 }); - await writeFile(config, bundledConfigSource(request.bundledTarget, request.model), { mode: 0o600 }); + await writeFile(config, bundledConfigSource(request.bundledTarget, request.model, { agentSteps: requiresModel(source) }), { mode: 0o600 }); if (deps.onProgress) await writeFile(progressConfig, progressConfigSource(config), { mode: 0o600 }); await symlink(join(request.runtime.root, "node_modules"), join(workspace, "node_modules"), "dir"); return await spawnRun({ diff --git a/packages/core/src/testing-target-discovery.ts b/packages/core/src/testing-target-discovery.ts index cd39fc72e..5bcfa9e7c 100644 --- a/packages/core/src/testing-target-discovery.ts +++ b/packages/core/src/testing-target-discovery.ts @@ -4,10 +4,11 @@ import { readFile } from "node:fs/promises"; import { join } from "node:path"; import { promisify } from "node:util"; import type { TestingTarget } from "./testing-projects.ts"; +import type { AppleOs } from "@mobile-dev/shared/apple-os.ts"; const execute = promisify(execFile); -export interface ForegroundTestingTarget { platform: "ios" | "android"; bundleId: string } +export interface ForegroundTestingTarget { platform: "ios" | "android"; appleOs?: AppleOs; bundleId: string } export interface DiscoveredTestingTargets { targets: TestingTarget[]; source: "expo-cli" | "static-expo" | "foreground" | "none"; warning?: string } function expoObject(value: unknown): Record | undefined { @@ -69,7 +70,7 @@ export async function discoverTestingTargets(projectPath: string, foreground?: F } const targets = expoTargets(await staticExpoConfig(projectPath)); if (targets.length) return { targets, source: "static-expo" }; - if (foreground?.bundleId) return { targets: [{ name: foreground.platform, platform: foreground.platform, bundleId: foreground.bundleId }], source: "foreground", + if (foreground?.bundleId) return { targets: [{ name: foreground.appleOs === "tvos" ? "tvos" : foreground.platform, platform: foreground.platform, ...(foreground.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), bundleId: foreground.bundleId }], source: "foreground", warning: "No static Expo app identifier was found; using the foreground app. You can edit it before setup." }; return { targets: [], source: "none", warning: "No mobile app identifier was found. Open the app in the mirror or enter one in setup." }; } diff --git a/packages/core/src/testing-tools.ts b/packages/core/src/testing-tools.ts index 45605cdcc..14865071e 100644 --- a/packages/core/src/testing-tools.ts +++ b/packages/core/src/testing-tools.ts @@ -4,9 +4,10 @@ import { registerAppTool } from "@modelcontextprotocol/ext-apps/server"; import { z } from "zod"; import { errorHint, errorMessage } from "@mobile-dev/shared/protocol.ts"; import { ExpectedOperationError } from "@mobile-dev/shared/error-reporting.ts"; -import { captureServerError, recordTestingSetupOperation } from "./telemetry.ts"; +import { captureServerError, recordTestingRemotePress, recordTestingSetupOperation } from "./telemetry.ts"; import type { TestingProjectChoices } from "./testing-projects.ts"; import { deleteTestFile, discardStagedTestFile, inspectProject, listTestFiles, previewTestFile, readTestFile, readTestTarget, resolveTestRunPaths, saveStagedTestFile, stageTestFile, studioWorkspacePath, writeTestFile, writeTestTarget } from "./testing-projects.ts"; +import { appKeyOf, platformOfAppKey, type AppKey, type AppleOs } from "@mobile-dev/shared/apple-os.ts"; import type { TestTarget } from "./testing-projects.ts"; import { branchStoredStepLocator } from "@mobile-dev/shared/stored-test-steps.ts"; import { compactElements, describeFailure } from "./testing-failure.ts"; @@ -100,15 +101,19 @@ function dataResult(data: Record, message?: string): CallToolRe * The config target each platform of a project matrix runs: the named one, else the platform's first. * A platform with no target, or a named target of another platform, refuses before anything boots. */ -export function projectLaneTargets(targets: readonly { name: string; platform?: string; bundleId?: string }[], devices: readonly MatrixDevice[], named?: { ios?: string; android?: string }): Partial> { - const chosen: Partial> = {}; - for (const platform of new Set(devices.map(device => device.platform))) { - const target = named?.[platform] - ? targets.find(entry => entry.name === named[platform]) - : targets.find(entry => entry.platform === platform && entry.bundleId); - if (!target || target.platform !== platform || !target.bundleId) - throw new ExpectedOperationError("invalid_input", `The project's e2e config has no ${platform} target${named?.[platform] ? ` named "${named[platform]}"` : ""} with a bundleId, so devices of that platform cannot run it.`); - chosen[platform] = { name: target.name, bundleId: target.bundleId }; +export function projectLaneTargets(targets: readonly { name: string; platform?: string; appleOs?: AppleOs; bundleId?: string }[], devices: readonly MatrixDevice[], named?: Partial>): Partial> { + const chosen: Partial> = {}; + // An iPhone lane and an Apple TV lane are different keys: a target of the other OS never serves them. + const fits = (target: { platform?: string; appleOs?: AppleOs }, key: AppKey) => target.platform === platformOfAppKey(key) + && (key === "android" || (target.appleOs ?? "ios") === (key === "tvos" ? "tvos" : "ios")); + for (const key of new Set(devices.map(appKeyOf))) { + const target = named?.[key] + ? targets.find(entry => entry.name === named[key]) + : targets.find(entry => fits(entry, key) && entry.bundleId); + const label = key === "tvos" ? "Apple TV (tvOS)" : key; + if (!target || !fits(target, key) || !target.bundleId) + throw new ExpectedOperationError("invalid_input", `The project's e2e config has no ${label} target${named?.[key] ? ` named "${named[key]}"` : ""} with a bundleId, so ${key === "tvos" ? "Apple TV simulators" : `${key === "ios" ? "iPhone and iPad" : "Android"} devices`} cannot run it.`); + chosen[key] = { name: target.name, bundleId: target.bundleId }; } return chosen; } @@ -175,15 +180,16 @@ export function registerTestingTools(server: McpServer, projects: TestingProject contents: z.string().max(256 * 1024), overwrite: z.boolean().optional(), platform: z.enum(["ios", "android"]).optional().describe("With bundleId: the app a Testing Studio test is pinned to. Stored beside the test, never in its source."), + appleOs: z.literal("tvos").optional().describe("tvos when the app is an Apple TV app (platform stays ios)."), bundleId: z.string().min(1).max(512).optional(), }, // Replacing someone's test file is destructive, so the host asks before this runs. annotations: destructive, _meta: appVisibility, - }, safe(async ({ projectPath: selected, relativePath, contents, overwrite, platform, bundleId }: { projectPath: string; relativePath: string; contents: string; overwrite?: boolean; platform?: "ios" | "android"; bundleId?: string }) => { + }, safe(async ({ projectPath: selected, relativePath, contents, overwrite, platform, appleOs, bundleId }: { projectPath: string; relativePath: string; contents: string; overwrite?: boolean; platform?: "ios" | "android"; appleOs?: "tvos"; bundleId?: string }) => { const project = await inspectProject(selected); const result = await writeTestFile(selected, relativePath, contents, overwrite ?? false); - if (result.written && platform && bundleId) await writeTestTarget(selected, relativePath, { platform, bundleId }); + if (result.written && platform && bundleId) await writeTestTarget(selected, relativePath, { platform, ...(appleOs ? { appleOs } : {}), bundleId }); const shownPath = project.runtimeMode === "bundled" ? `Testing Studio/${relativePath}` : result.path; return dataResult({ ...result, path: shownPath, storageMode: project.runtimeMode }, result.written ? `Saved ${shownPath}` : `${shownPath} already exists.`); })); @@ -324,20 +330,20 @@ export function registerTestingTools(server: McpServer, projects: TestingProject title: "Read a testing project's config", description: "Read the targets of a project's e2e config: the target names, their platforms, and the bundle ids to launch.", inputSchema: { - projectPath, foregroundPlatform: z.enum(["ios", "android"]).optional(), foregroundBundleId: z.string().min(1).max(512).optional(), + projectPath, foregroundPlatform: z.enum(["ios", "android"]).optional(), foregroundAppleOs: z.literal("tvos").optional().describe("tvos when the foreground device is an Apple TV (platform stays ios)."), foregroundBundleId: z.string().min(1).max(512).optional(), foregroundDeviceId: deviceIdSchema.optional().describe("With foregroundPid, for an iOS simulator app the device's app list leaves out (Apple's own apps)."), foregroundPid: z.number().int().positive().optional(), foregroundKind: z.enum(["simulator", "physical"]).optional().describe("With foregroundPid, whether the device is a physical iPhone or iPad (resolved through devicectl) or a simulator."), }, annotations: read, _meta: appVisibility, - }, safe(async ({ projectPath: selected, foregroundPlatform, foregroundBundleId, foregroundDeviceId, foregroundPid, foregroundKind }: { projectPath: string; foregroundPlatform?: "ios" | "android"; foregroundBundleId?: string; foregroundDeviceId?: string; foregroundPid?: number; foregroundKind?: "simulator" | "physical" }) => { + }, safe(async ({ projectPath: selected, foregroundPlatform, foregroundAppleOs, foregroundBundleId, foregroundDeviceId, foregroundPid, foregroundKind }: { projectPath: string; foregroundPlatform?: "ios" | "android"; foregroundAppleOs?: "tvos"; foregroundBundleId?: string; foregroundDeviceId?: string; foregroundPid?: number; foregroundKind?: "simulator" | "physical" }) => { // The panel's device list names only apps that can be monitored, so an Apple app in front (Fitness, // Settings) arrives as a pid alone. The home screen is never an app to record. const resolved = foregroundBundleId ?? (foregroundPlatform === "ios" && foregroundDeviceId && foregroundPid ? await (matrix.foregroundBundle ?? (foregroundKind === "physical" ? physicalBundleForPid : simulatorBundleForPid))(foregroundDeviceId, foregroundPid).catch(() => undefined) : undefined); const bundleId = resolved && !LAUNCHER_APP.test(resolved) ? resolved : undefined; - const project = await inspectProject(selected, foregroundPlatform && bundleId ? { platform: foregroundPlatform, bundleId } : undefined); + const project = await inspectProject(selected, foregroundPlatform && bundleId ? { platform: foregroundPlatform, ...(foregroundAppleOs === "tvos" && foregroundPlatform === "ios" ? { appleOs: "tvos" as const } : {}), bundleId } : undefined); const needsRuntime = project.runtimeMode === "bundled" && testingRuntimeDownload && testingRuntimeDownload.progress.phase !== "ready"; return dataResult({ ...project, needsRuntime: Boolean(needsRuntime), setup: await inspectTestingSetup(project.path, project.configPath || undefined), modelPreference: await readTestingModelPreference(), providers: SETUP_PROVIDERS }); })); @@ -449,6 +455,21 @@ export function registerTestingTools(server: McpServer, projects: TestingProject return dataResult({ tree, ...(screen ? { screen } : {}) }); })); + registerAppTool(server, "mobile_testing_press", { + title: "Press an Apple TV remote button while recording", description: "Press a remote button on the Apple TV the recorder holds, through the recorder's own device session so it never competes with the mirror's.", + inputSchema: { deviceId: deviceIdSchema, projectPath, bundleId: z.string().min(1).max(512), button: z.enum(["up", "down", "left", "right", "select", "menu", "home"]), durationMs: z.number().int().min(1).max(10_000).optional() }, + annotations: write, _meta: appVisibility, + }, safe(async ({ deviceId, projectPath: selected, bundleId, button, durationMs }: { deviceId: string; projectPath: string; bundleId: string; button: "up" | "down" | "left" | "right" | "select" | "menu" | "home"; durationMs?: number }) => { + const project = await inspectProject(selected, { platform: "ios", bundleId }); + const runtimeRoot = project.runtimeMode === "bundled" ? await bundledE2eRoot() : project.runtime.root; + const startedAt = performance.now(); + try { + await devices.perform({ deviceId, platform: "ios", appleOs: "tvos", projectPath: selected, runtimeRoot, bundleId }, { kind: "press", button, ...(durationMs === undefined ? {} : { durationMs }) }); + } catch (error) { recordTestingRemotePress("failed", performance.now() - startedAt); throw error; } + recordTestingRemotePress("success", performance.now() - startedAt); + return dataResult({ ok: true }); + })); + registerAppTool(server, "mobile_testing_physical_app", { title: "Check app on physical device", description: "Check whether a selected app is installed on a connected iPhone, iPad or Android phone.", inputSchema: { platform: z.enum(["ios", "android"]), deviceId: deviceIdSchema, bundleId: z.string().min(1).max(512) }, annotations: read, _meta: appVisibility, @@ -475,25 +496,28 @@ export function registerTestingTools(server: McpServer, projects: TestingProject registerAppTool(server, "mobile_testing_fill", { title: "Enter recorded text on a physical iOS device", description: "Apply the recorded field fill through the runner's device session.", - inputSchema: { deviceId: deviceIdSchema, projectPath, bundleId: z.string().min(1).max(512), nodeId: z.string().min(1).max(128), text: z.string().max(10_000) }, + inputSchema: { deviceId: deviceIdSchema, projectPath, bundleId: z.string().min(1).max(512), nodeId: z.string().min(1).max(128), text: z.string().max(10_000), appleOs: z.literal("tvos").optional() }, annotations: write, _meta: appVisibility, - }, safe(async ({ deviceId, projectPath: selected, bundleId, nodeId, text }: { deviceId: string; projectPath: string; bundleId: string; nodeId: string; text: string }) => { - await connectedPhysicalIos(deviceId); - await ensureIosSigning({ projectPath: selected }); + }, safe(async ({ deviceId, projectPath: selected, bundleId, nodeId, text, appleOs }: { deviceId: string; projectPath: string; bundleId: string; nodeId: string; text: string; appleOs?: "tvos" }) => { + // An Apple TV simulator has no touch surface, so its fill goes through the runner too; it needs no pairing or signing. + if (appleOs !== "tvos") { + await connectedPhysicalIos(deviceId); + await ensureIosSigning({ projectPath: selected }); + } const project = await inspectProject(selected, { platform: "ios", bundleId }); const runtimeRoot = project.runtimeMode === "bundled" ? await bundledE2eRoot() : project.runtime.root; - await devices.fillNode({ deviceId, platform: "ios", projectPath: selected, runtimeRoot, bundleId }, nodeId, text); + await devices.fillNode({ deviceId, platform: "ios", ...(appleOs ? { appleOs } : {}), projectPath: selected, runtimeRoot, bundleId }, nodeId, text); return dataResult({ ok: true }); })); registerAppTool(server, "mobile_testing_set_target", { title: "Pin a Testing Studio test to an app", description: "Store the app (platform and bundle id) a saved Testing Studio test runs against. Only Testing Studio tests carry one; a project test keeps using its config's target. With mode add, the app is added for its platform and the app the test was recorded against stays: use it to give a test the app for its other platform, with the bundleId mobile_testing_wait_for_app returned. Returns the app id pinned. projectPath defaults to the Testing Studio tab's project.", - inputSchema: { projectPath: projectPath.optional(), relativePath: z.string().min(1).max(512), platform: z.enum(["ios", "android"]), bundleId: z.string().min(1).max(512), mode: z.enum(["replace", "add"]).optional() }, + inputSchema: { projectPath: projectPath.optional(), relativePath: z.string().min(1).max(512), platform: z.enum(["ios", "android"]), appleOs: z.literal("tvos").optional(), bundleId: z.string().min(1).max(512), mode: z.enum(["replace", "add"]).optional() }, annotations: write, _meta: sharedVisibility, - }, safe(async ({ projectPath: selected, relativePath, platform, bundleId, mode }: { projectPath?: string; relativePath: string; platform: "ios" | "android"; bundleId: string; mode?: "replace" | "add" }) => { - const pinned = await writeTestTarget(await resolveProject(selected), relativePath, { platform, bundleId }, mode); + }, safe(async ({ projectPath: selected, relativePath, platform, appleOs, bundleId, mode }: { projectPath?: string; relativePath: string; platform: "ios" | "android"; appleOs?: "tvos"; bundleId: string; mode?: "replace" | "add" }) => { + const pinned = await writeTestTarget(await resolveProject(selected), relativePath, { platform, ...(appleOs ? { appleOs } : {}), bundleId }, mode); return dataResult({ pinned, ...(pinned ? { added: { platform, bundleId, mode: mode ?? "replace" } } : {}) }, pinned ? `Pinned ${platform} ${bundleId} to ${relativePath} (${mode ?? "replace"}).` : "Only Testing Studio tests carry a pinned app; nothing was changed."); })); @@ -502,19 +526,19 @@ export function registerTestingTools(server: McpServer, projects: TestingProject provider: z.enum(["vercel", "openrouter", "openai-compatible", "chatgpt", "copilot", "opencode-console", "grok"]), model: z.string().min(1).max(256), endpoint: z.string().url().max(2048).optional(), }); - type RunInput = { projectPath: string; relativePath: string; configPath?: string; timeoutMs?: number; target?: string; platform?: "ios" | "android"; bundleId?: string; pin?: boolean; model?: { provider: BundledModelProvider; model: string; endpoint?: string }; untilSource?: string }; + type RunInput = { projectPath: string; relativePath: string; configPath?: string; timeoutMs?: number; target?: string; platform?: "ios" | "android"; appleOs?: "tvos"; /** The Apple TV the run is pinned to; a run that names none takes whichever device the runner finds. */ deviceId?: string; bundleId?: string; pin?: boolean; model?: { provider: BundledModelProvider; model: string; endpoint?: string }; untilSource?: string }; /** Everything a run needs before a device is chosen: the same for a single run and for every lane. */ async function prepareRequest(input: RunInput) { const { projectPath: selected, relativePath, configPath, timeoutMs, target, pin, model, untilSource } = input; // A Testing Studio test remembers its app, so a caller that names none runs the one it was pinned to. - let { platform, bundleId } = input; + let { platform, bundleId, appleOs } = input; if (!(platform && bundleId)) { const stored = await readTestTarget(selected, relativePath).catch(() => undefined); - if (stored) ({ platform, bundleId } = storedApp(stored, platform, bundleId)); + if (stored) ({ platform, bundleId, appleOs } = storedApp(stored, platform, bundleId, appleOs)); } const project = await inspectProject(selected, platform && bundleId ? { platform, bundleId } : undefined); - if (pin && platform && bundleId) await writeTestTarget(selected, relativePath, { platform, bundleId }).catch(() => false); + if (pin && platform && bundleId) await writeTestTarget(selected, relativePath, { platform, ...(appleOs ? { appleOs } : {}), bundleId }).catch(() => false); const paths = await resolveTestRunPaths(selected, relativePath, project.runtimeMode === "project" ? configPath : undefined, untilSource !== undefined); const selectedTarget = project.targets.find(entry => entry.name === target) ?? project.targets.find(entry => entry.platform === platform && (!bundleId || entry.bundleId === bundleId)) @@ -523,16 +547,17 @@ export function registerTestingTools(server: McpServer, projects: TestingProject const runtimeRoot = project.runtimeMode === "bundled" ? await bundledE2eRoot() : project.runtime.root; const request: TestRunRequest = { ...paths, ...(timeoutMs === undefined ? {} : { timeoutMs }), ...(target ? { target } : {}), ...(bundledSource === undefined ? {} : { untilSource: bundledSource }), runtime: { mode: project.runtimeMode, root: runtimeRoot }, - ...(project.runtimeMode === "bundled" && platform && bundleId ? { bundledTarget: { platform, bundleId } } + ...(project.runtimeMode === "bundled" && platform && bundleId ? { bundledTarget: { platform, bundleId, ...(appleOs ? { appleOs, ...(input.deviceId ? { device: input.deviceId } : {}) } : {}) } } : project.runtimeMode === "bundled" && selectedTarget?.platform && selectedTarget.bundleId ? { bundledTarget: { platform: selectedTarget.platform as "ios" | "android", bundleId: selectedTarget.bundleId } } : {}), ...(model ? { model } : {}) }; - return { request, project, platform, bundleId }; + return { request, project, platform, appleOs, bundleId }; } /** The app a stored target gives a platform (the recorded platform's, or the one added). */ - function storedApp(stored: TestTarget, platform?: "ios" | "android", bundleId?: string): { platform: "ios" | "android"; bundleId?: string } { - const chosen = platform ?? stored.platform; - return { platform: chosen, bundleId: bundleId ?? (chosen === stored.platform ? stored.bundleId : stored.apps?.[chosen]) }; + function storedApp(stored: TestTarget, platform?: "ios" | "android", bundleId?: string, appleOs?: "tvos"): { platform: "ios" | "android"; appleOs?: "tvos"; bundleId?: string } { + const chosen = platform ? { platform, appleOs } : { platform: stored.platform, appleOs: stored.appleOs }; + const key = appKeyOf(chosen); + return { platform: chosen.platform, ...(key === "tvos" ? { appleOs: "tvos" as const } : {}), bundleId: bundleId ?? (key === appKeyOf(stored) ? stored.bundleId : stored.apps?.[key]) }; } /** @@ -582,6 +607,8 @@ export function registerTestingTools(server: McpServer, projects: TestingProject timeoutMs: z.number().int().min(10_000).max(30 * 60_000).optional(), target: z.string().min(1).max(256).optional().describe("The e2e target name to run against, so a flow recorded on Android does not run on the config's first (iOS) target."), platform: z.enum(["ios", "android"]).optional().describe("The mirrored platform for a bundled run."), + appleOs: z.literal("tvos").optional().describe("tvos when the mirrored device is an Apple TV (platform stays ios); with deviceId the run is pinned to it."), + deviceId: deviceIdSchema.optional().describe("The Apple TV simulator to run on, for a bundled tvOS run."), bundleId: z.string().min(1).max(512).optional().describe("The app identifier for a bundled run: the test's pinned app, or the foreground app when it has none."), pin: z.boolean().optional().describe("Pin platform and bundleId to the saved test before running, for a bundled test that has no app yet."), model: modelSchema.optional(), @@ -626,12 +653,13 @@ export function registerTestingTools(server: McpServer, projects: TestingProject devices: z.array(z.object({ deviceId: deviceIdSchema.describe("An iOS simulator UDID, physical iOS hardware UDID, Android serial, or avd: id from device discovery."), platform: z.enum(["ios", "android"]), + appleOs: z.literal("tvos").optional().describe("tvos for an Apple TV simulator (platform stays ios). A test runs only on devices of its own OS."), kind: z.enum(["simulator", "emulator", "physical"]).optional(), name: z.string().min(1).max(128).optional().describe("A label for the lane."), })).min(1).max(16), - apps: z.object({ ios: z.string().min(1).max(512).optional(), android: z.string().min(1).max(512).optional() }).optional() - .describe("The app id per platform: the iOS bundle id and the Android package name. Defaults to the apps the test is pinned to. Ignored for a project with its own e2e config, which uses its targets' apps."), - targets: z.object({ ios: z.string().min(1).max(256).optional(), android: z.string().min(1).max(256).optional() }).optional() + apps: z.object({ ios: z.string().min(1).max(512).optional(), tvos: z.string().min(1).max(512).optional(), android: z.string().min(1).max(512).optional() }).optional() + .describe("The app id per OS: the iPhone/iPad bundle id, the Apple TV bundle id and the Android package name. Defaults to the apps the test is pinned to. Ignored for a project with its own e2e config, which uses its targets' apps."), + targets: z.object({ ios: z.string().min(1).max(256).optional(), tvos: z.string().min(1).max(256).optional(), android: z.string().min(1).max(256).optional() }).optional() .describe("Project mode only: the config's target name per platform. Defaults to the first target of each platform."), limit: z.number().int().min(1).max(MAX_MATRIX_LIMIT).optional().describe("How many devices run at once. Default 3."), timeoutMs: z.number().int().min(10_000).max(30 * 60_000).optional(), @@ -640,10 +668,10 @@ export function registerTestingTools(server: McpServer, projects: TestingProject }, annotations: destructive, _meta: sharedVisibility, - }, safe(async (raw: Omit & { projectPath?: string; devices: MatrixDevice[]; apps?: { ios?: string; android?: string }; targets?: { ios?: string; android?: string }; limit?: number }) => { + }, safe(async (raw: Omit & { projectPath?: string; devices: MatrixDevice[]; apps?: Partial>; targets?: Partial>; limit?: number }) => { const projectPathValue = await resolveProject(raw.projectPath); const stored = await readTestTarget(projectPathValue, raw.relativePath).catch(() => undefined); - const apps: { ios?: string; android?: string } = { ...(stored ? { [stored.platform]: stored.bundleId, ...stored.apps } : {}), ...raw.apps }; + const apps: Partial> = { ...(stored ? { [appKeyOf(stored)]: stored.bundleId, ...stored.apps } : {}), ...raw.apps }; const input = { ...raw, projectPath: projectPathValue, apps }; const unique = new Set(input.devices.map(device => device.deviceId)); if (unique.size !== input.devices.length) throw new ExpectedOperationError("invalid_input", "Each device can appear only once in a matrix."); @@ -663,22 +691,26 @@ export function registerTestingTools(server: McpServer, projects: TestingProject // The runner signs itself for hardware: resolve the team once, before any lane builds it. if (input.devices.some(device => device.kind === "physical" && device.platform === "ios")) await ensureIosSigning({ projectPath: projectPathValue }); const first = input.devices[0]!; - const { request, project } = await prepareRequest({ ...input, platform: first.platform, ...(input.apps[first.platform] ? { bundleId: input.apps[first.platform]! } : {}) }); + const { request, project } = await prepareRequest({ ...input, platform: first.platform, ...(first.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), ...(input.apps[appKeyOf(first)] ? { bundleId: input.apps[appKeyOf(first)]! } : {}) }); if (project.runtimeMode === "project") { const lanes = projectLaneTargets(project.targets, input.devices, input.targets); await devices.releaseOn(input.devices.map(device => device.deviceId)).catch(() => undefined); const projectExecutor = createLaneExecutor({ - ops: matrix.ops, projectMode: true, projectPath: input.projectPath, apps: Object.fromEntries(Object.entries(lanes).map(([platform, target]) => [platform, target.bundleId])), + ops: matrix.ops, projectMode: true, projectPath: input.projectPath, apps: Object.fromEntries(Object.entries(lanes).map(([key, target]) => [key, target.bundleId])), runTest: (lane, deviceId, signal, onProgress) => runTest( - { ...request, configPath: project.configPath, target: lanes[lane.platform]!.name, projectLane: { target: lanes[lane.platform]!.name, device: deviceId, ...(lane.kind === "physical" && lane.platform === "ios" ? { stateDir: projectStateDir(request.projectPath) } : {}) } }, + { ...request, configPath: project.configPath, target: lanes[appKeyOf(lane)]!.name, projectLane: { target: lanes[appKeyOf(lane)]!.name, device: deviceId, ...(lane.kind === "physical" && lane.platform === "ios" ? { stateDir: projectStateDir(request.projectPath) } : {}) } }, { release: () => devices.releaseOn([lane.deviceId, deviceId]), onProgress, signal }), }); const { run } = launchMatrix(input.relativePath, input.devices, input.limit, projectExecutor); return dataResult({ matrixId: run.matrixId, limit: run.limit, lanes: snapshotMatrix(run).lanes }, `Started ${run.lanes.length} lanes, up to ${run.limit} at once.`); } - for (const platform of ["ios", "android"] as const) { - if (input.devices.some(device => device.platform === platform) && !apps[platform]) - throw new ExpectedOperationError("app_unavailable", `This test has no ${platform} app yet. Ask the user to open the app on a ${platform} device, call mobile_testing_wait_for_app with platform "${platform}", pin the bundleId it returns with mobile_testing_set_target mode "add", then run again.`); + for (const key of ["ios", "tvos", "android"] as const) { + const missing = input.devices.find(device => appKeyOf(device) === key); + if (!missing || apps[key]) continue; + // An iPhone never runs an Apple TV test, nor the reverse: say so before any device boots. + if (key !== "android" && stored && appKeyOf(stored) !== key) + throw new ExpectedOperationError("invalid_input", `This test targets ${appKeyOf(stored) === "tvos" ? "Apple TV" : "iPhone and iPad"}, so ${missing.name ?? "this device"} (${key === "tvos" ? "Apple TV" : "iPhone or iPad"}) cannot run it. Pick devices of the test's own OS, or pin an app for ${key === "tvos" ? "Apple TV" : "iOS"} with mobile_testing_set_target mode "add".`); + throw new ExpectedOperationError("app_unavailable", `This test has no ${key === "tvos" ? "Apple TV" : key} app yet. Ask the user to open the app on a ${key === "tvos" ? "Apple TV" : key} device, call mobile_testing_wait_for_app with platform "${platformOfAppKey(key)}", pin the bundleId it returns with mobile_testing_set_target mode "add"${key === "tvos" ? ' and appleOs "tvos"' : ""}, then run again.`); } // Only the devices of this matrix lose the recorder; a recorder on another device keeps its session. await devices.releaseOn(input.devices.map(device => device.deviceId)).catch(() => undefined); @@ -686,9 +718,9 @@ export function registerTestingTools(server: McpServer, projects: TestingProject ops: matrix.ops, apps: input.apps, projectPath: input.projectPath, runTest: async (lane, deviceId, signal, onProgress) => { const result = await runTest( - { ...request, bundledTarget: { platform: lane.platform, bundleId: input.apps[lane.platform]!, device: deviceId } }, + { ...request, bundledTarget: { platform: lane.platform, ...(lane.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), bundleId: input.apps[appKeyOf(lane)]!, device: deviceId } }, { release: () => devices.releaseOn([lane.deviceId, deviceId]), onProgress, signal }); - await attachFailure(lane, result, request.untilSource ?? "", { deviceId, platform: lane.platform, projectPath: input.projectPath, runtimeRoot: project.runtime.root, bundleId: input.apps[lane.platform]!, physical: lane.kind === "physical" && lane.platform === "ios" }); + await attachFailure(lane, result, request.untilSource ?? "", { deviceId, platform: lane.platform, projectPath: input.projectPath, runtimeRoot: project.runtime.root, bundleId: input.apps[appKeyOf(lane)]!, physical: lane.kind === "physical" && lane.platform === "ios" }); return result; }, }); diff --git a/packages/core/src/tvos-metro.ts b/packages/core/src/tvos-metro.ts new file mode 100644 index 000000000..9dfa9bde4 --- /dev/null +++ b/packages/core/src/tvos-metro.ts @@ -0,0 +1,15 @@ +/** + * A Debug React Native build loads its JavaScript from Metro, whose address is baked in as + * `localhost`. On a physical Apple TV `localhost` is the TV itself, so the app opens to a red box or + * a blank screen. The failure shows up as red-box text, not as a launch error. + */ +const METRO_FAILURE = /could not connect to the development server|unable to load script|no script url provided|no bundle url present|could not connect to metro|failed to connect to .*:8081|the request timed out.*8081|java\.net\.connectexception|connection refused.*8081/i; + +export function looksLikeMetroFailure(text: string): boolean { return METRO_FAILURE.test(text); } + +export const PHYSICAL_TV_METRO_HINT = "The app could not reach Metro: a Debug build on a physical Apple TV looks for it at localhost, which is the Apple TV itself. Either start Metro and point the build at this Mac's LAN IP (set RCT_METRO_HOST to it, or use `REACT_NATIVE_PACKAGER_HOSTNAME= npx expo run:ios --device`), or install a Release build that embeds the JavaScript bundle."; + +/** `message` with the Metro explanation appended when it describes a Metro connection failure. */ +export function withMetroHint(message: string): string { + return looksLikeMetroFailure(message) && !message.includes(PHYSICAL_TV_METRO_HINT) ? `${message} ${PHYSICAL_TV_METRO_HINT}` : message; +} diff --git a/packages/core/src/tvos-scene.ts b/packages/core/src/tvos-scene.ts new file mode 100644 index 000000000..e61fa3186 --- /dev/null +++ b/packages/core/src/tvos-scene.ts @@ -0,0 +1,18 @@ +/** + * The tvOS 27 launch crash: a tvOS 27 runtime refuses an app that has no UIScene lifecycle, so the app + * exits right after it is launched and the test fails with an app that "is not running" and no reason. + * The cause is in the app's own Info.plist, which is where this looks, before anything launches. + */ + +/** The major version of a runtime named "tvOS 27.0", or undefined for anything else. */ +export function tvosRuntimeMajor(runtime: string | undefined): number | undefined { + const match = /^tvOS (\d+)/.exec(runtime ?? ""); + return match ? Number(match[1]) : undefined; +} + +/** Why the app would exit at launch on this runtime, or undefined when nothing suggests it. */ +export function tvosSceneLaunchIssue(input: { runtime: string | undefined; hasSceneManifest: boolean; appId: string }): string | undefined { + const major = tvosRuntimeMajor(input.runtime); + if (major === undefined || major < 27 || input.hasSceneManifest) return undefined; + return `${input.appId} has no UIApplicationSceneManifest in its Info.plist, and tvOS 27 apps without the UIScene lifecycle exit right after they launch. Adopt UIScene (a scene delegate and a UIApplicationSceneManifest entry in Info.plist; for React Native, the UIScene setup in your AppDelegate), rebuild for the Apple TV simulator, then run again.`; +} diff --git a/packages/core/test/ios-device-build.test.ts b/packages/core/test/ios-device-build.test.ts new file mode 100644 index 000000000..f512b749d --- /dev/null +++ b/packages/core/test/ios-device-build.test.ts @@ -0,0 +1,16 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { mkdtemp, mkdir, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { deviceProductDirectories } from "../src/ios-device-build.ts"; + +test("device products are per OS: iphoneos for iOS, appletvos for Apple TV, never simulator builds", async () => { + const home = await mkdtemp(join(tmpdir(), "builds-")); + try { + const products = join(home, "proj", "ios", "build", "Build", "Products"); + for (const name of ["Debug-appletvsimulator", "Debug-iphonesimulator", "Debug-appletvos", "Debug-iphoneos"]) await mkdir(join(products, name), { recursive: true }); + assert.deepEqual(await deviceProductDirectories(join(home, "proj"), home, "tvos"), [join(products, "Debug-appletvos")]); + assert.deepEqual(await deviceProductDirectories(join(home, "proj"), home), [join(products, "Debug-iphoneos")]); + } finally { await rm(home, { recursive: true, force: true }); } +}); diff --git a/packages/core/test/ios-devices.test.ts b/packages/core/test/ios-devices.test.ts index 0632b7291..f9f642c96 100644 --- a/packages/core/test/ios-devices.test.ts +++ b/packages/core/test/ios-devices.test.ts @@ -88,7 +88,7 @@ test("transport labels distinguish an unreported transport from USB and Wi-Fi", assert.equal(wireless, "Wi-Fi"); }); -test("discovery uses bounded devicectl JSON output and requests only physical iOS devices", async () => { +test("discovery uses bounded devicectl JSON output and requests only physical iOS devices by default", async () => { const devices = await listIosDevices(undefined, async (file, args, options) => { assert.equal(file, "/usr/bin/xcrun"); assert.deepEqual(args, ["devicectl", "list", "devices", "--quiet", "--timeout", "10", "--omit-deprecated-fields-in-json", @@ -192,3 +192,24 @@ test("physical discovery is a read-only MCP tool and reports failure instead of assert.equal(failed.structuredContent, undefined); assert.deepEqual(failed.content, [{ type: "text", text: "Discovery unavailable" }]); }); + +const appleTvListing = () => JSON.stringify({ info: { jsonVersion: 5, outcome: "success" }, result: { devices: [{ identifier: "33333333-3333-4333-8333-333333333333", properties: { + hardware: { udid: "00008110-000A0B1C2D3E4F00", marketingName: "Apple TV 4K", productType: "AppleTV14,1", reality: "physical", platform: "tvOS" }, + state: { name: "Living Room" }, software: { osVersionNumber: { stringValue: "27.0" } }, connection: { state: "connected", transportType: "localNetwork", pairingState: "paired" } } }] } }); + +test("a physical Apple TV is filtered out of discovery unless the opt-in flag is set", async () => { + const saved = process.env.MOBILE_DEV_PHYSICAL_APPLE_TV; + try { + delete process.env.MOBILE_DEV_PHYSICAL_APPLE_TV; + // devicectl would return it even when asked only for iOS (an old filter, a stand-in): it must still be dropped. + const hidden = await listIosDevices(undefined, async () => ({ stdout: appleTvListing() }), async () => []); + assert.deepEqual(hidden, []); + process.env.MOBILE_DEV_PHYSICAL_APPLE_TV = "1"; + let filter = ""; + const shown = await listIosDevices(undefined, async (_file, args) => { filter = args[args.indexOf("--filter") + 1]!; return { stdout: appleTvListing() }; }, async () => []); + assert.match(filter, /platform = 'tvOS'/); + assert.deepEqual(shown.map(device => device.appleOs), ["tvos"]); + } finally { + if (saved === undefined) delete process.env.MOBILE_DEV_PHYSICAL_APPLE_TV; else process.env.MOBILE_DEV_PHYSICAL_APPLE_TV = saved; + } +}); diff --git a/packages/core/test/ios-mirror-hub.test.ts b/packages/core/test/ios-mirror-hub.test.ts index 6f8c4f5b4..be88de74f 100644 --- a/packages/core/test/ios-mirror-hub.test.ts +++ b/packages/core/test/ios-mirror-hub.test.ts @@ -24,8 +24,8 @@ function fixture() { async close() { closes++; waiting?.({ generation, dropped: 0, frames: [] }); }, }; const hub = new IosMirrorHub(async () => { opens++; return capture; }); - async function frame(key = true, empty = false) { - const frames = empty ? [] : [{ key, timestamp: 0, data: Buffer.from([generation]) }]; + async function frame(key = true, empty = false, bytes = 1) { + const frames = empty ? [] : [{ key, timestamp: 0, data: Buffer.alloc(bytes, generation) }]; const batch: NativeBatch = { generation, dropped: 0, configuration, frames }; if (waiting) { const deliver = waiting; waiting = undefined; deliver(batch); } else queued.push(batch); @@ -34,6 +34,21 @@ function fixture() { return { hub, capture, touches, frame, get opens() { return opens; }, get closes() { return closes; }, get resets() { return resets; } }; } +test("Apple TV subscribers accept UHD keyframes while iPhone subscribers keep the smaller bound", async t => { + process.env.MOBILE_DEV_PHYSICAL_APPLE_TV = "1"; + t.after(() => { delete process.env.MOBILE_DEV_PHYSICAL_APPLE_TV; }); + const tv = fixture(); + const phone = fixture(); + t.after(() => Promise.all([tv.hub.close(), phone.hub.close()])); + const tvReader = await tv.hub.open("tv", "tvos"); + const phoneReader = await phone.hub.open("phone"); + const frameBytes = 4 * 1024 * 1024 + 1; + await tv.frame(true, false, frameBytes); + await phone.frame(true, false, frameBytes); + assert.equal((await tvReader.read()).frames[0]?.data.length, Math.ceil(frameBytes / 3) * 4); + assert.equal((await phoneReader.read()).frames.length, 0); +}); + test("concurrent subscribers share one native capture and closing one keeps the other running", async t => { const f = fixture(); t.after(() => f.hub.close()); @@ -260,3 +275,43 @@ test("new subscribers wait for last native close before opening a replacement ca await b.close(); await f.hub.close(); }); + +test("an Apple TV capture opens as tvOS, reports its stream class and refuses touch", async t => { + process.env.MOBILE_DEV_PHYSICAL_APPLE_TV = "1"; + t.after(() => { delete process.env.MOBILE_DEV_PHYSICAL_APPLE_TV; }); + const opened: string[] = []; + const classes: string[] = []; + let waiting: ((batch: NativeBatch) => void) | undefined; + let served = false; + const capture: NativeCapture = { + read() { + if (!served) { served = true; return Promise.resolve({ generation: 1, dropped: 0, configuration: { revision: 1, width: 3840, height: 2160, codec: "hvc1.2.4.L153.B0", description: Buffer.from([1]), bitDepth: 10, streamClass: "uhd-10bit" }, frames: [{ key: true, timestamp: 0, data: Buffer.from([1]) }] }); } + return new Promise(resolve => { waiting = resolve; }); + }, + async touch() { assert.fail("an Apple TV never receives touch"); }, requestKeyframe() {}, async close() { waiting?.({ generation: 1, dropped: 0, frames: [] }); }, + }; + const hub = new IosMirrorHub(async (udid, appleOs) => { opened.push(`${udid}:${appleOs}`); return capture; }, () => {}, () => {}, (appleOs, streamClass) => classes.push(`${appleOs}:${streamClass}`)); + t.after(() => hub.close()); + const subscription = await hub.open("tv", "tvos"); + const batch = await subscription.read(); + assert.deepEqual(opened, ["tv:tvos"]); + assert.deepEqual(classes, ["tvos:uhd-10bit"]); + assert.equal(batch.configuration?.bitDepth, 10); + assert.equal(batch.configuration?.streamClass, "uhd-10bit"); + assert.equal(hub.snapshot().appleTvCaptures, 1); + await assert.rejects(subscription.touch([{ phase: 0, x: 1, y: 1, width: 2, height: 2 }], 1), /no touchscreen/); +}); + +test("an iPhone capture still opens as iOS by default", async t => { + const f = fixture(); + t.after(() => f.hub.close()); + await f.hub.open("phone"); + assert.equal(f.hub.snapshot().appleTvCaptures, 0); +}); + +test("opening an Apple TV capture is refused while physical Apple TV support is off", async () => { + delete process.env.MOBILE_DEV_PHYSICAL_APPLE_TV; + const hub = new IosMirrorHub(async () => assert.fail("no capture may open")); + await assert.rejects(hub.open("00008110-000A0B1C2D3E4F00", "tvos"), /Physical Apple TV support is disabled/); + await hub.close(); +}); diff --git a/packages/core/test/ios-mirror-tools.test.ts b/packages/core/test/ios-mirror-tools.test.ts index 0fe16dc47..1faa6b466 100644 --- a/packages/core/test/ios-mirror-tools.test.ts +++ b/packages/core/test/ios-mirror-tools.test.ts @@ -189,3 +189,41 @@ test("a disconnected iPhone cannot open a native capture", async t => { assert.equal(result.isError, true); assert.equal(opens, 0); }); + +const tv: PhysicalIosDevice = { ...phone, udid: "00008110-0000AAAABBBBCCCC", name: "Living Room", model: "Apple TV 4K", productType: "AppleTV14,1", runtime: "tvOS 27.0", appleOs: "tvos" }; + +async function connected(t: test.TestContext, devices: PhysicalIosDevice[], opens: string[], readBezel: () => Promise) { + const sessions = new IosMirrorSessions(async (udid, appleOs) => { + opens.push(`${udid}:${appleOs ?? "ios"}`); + return { async read() { return { generation: 1, sequence: 1, dropped: 0, frames: [] }; }, async touch() {}, async reset() {}, async close() {} }; + }); + const server = new McpServer({ name: "mirror-test", version: "1" }); + const close = registerIosMirrorTools(server, "ui://test/app", sessions, async () => devices, readBezel); + const client = new Client({ name: "test", version: "1" }); + const [clientTransport, serverTransport] = InMemoryTransport.createLinkedPair(); + t.after(async () => { await close(); await client.close(); await server.close(); }); + await server.connect(serverTransport); + await client.connect(clientTransport); + return client; +} + +test("an awake Apple TV opens as tvOS without a bezel and its touch input is refused", async t => { + const opens: string[] = []; + const client = await connected(t, [tv], opens, async () => { assert.fail("an Apple TV has no bezel"); }); + const opened = await client.callTool({ name: "mobile_ios_mirror_session", arguments: { udid: tv.udid } }); + assert.equal(opened.isError, undefined); + assert.deepEqual(opens, [`${tv.udid}:tvos`]); + assert.equal(opened._meta?.bezel, undefined); + const touch = await client.callTool({ name: "mobile_ios_mirror_input", arguments: { sessionId: opened._meta?.sessionId, generation: 1, messages: [{ type: "touch1-down", x: 1, y: 1, width: 2, height: 2 }] } }); + assert.equal(touch.isError, true); + assert.match(JSON.stringify(touch.content), /no touchscreen/); +}); + +test("a sleeping Apple TV answers with a wake hint, not a connection error", async t => { + const opens: string[] = []; + const client = await connected(t, [{ ...tv, state: "asleep" }], opens, async () => bezel); + const opened = await client.callTool({ name: "mobile_ios_mirror_session", arguments: { udid: tv.udid } }); + assert.equal(opened.isError, true); + assert.match(JSON.stringify(opened.content), /asleep or off the network.*Wake the Apple TV/); + assert.deepEqual(opens, []); +}); diff --git a/packages/core/test/ios-mirror.test.ts b/packages/core/test/ios-mirror.test.ts index d17216843..25b4a35b7 100644 --- a/packages/core/test/ios-mirror.test.ts +++ b/packages/core/test/ios-mirror.test.ts @@ -94,3 +94,18 @@ test("reads are serialized and a closed session cannot return stale frames", asy await assert.rejects(read, /closed/); await f.sessions.close(); }); + +test("an Apple TV session opens as tvOS and rejects touch input before any native write", async t => { + const f = fixture(); + const opened: (string | undefined)[] = []; + const sessions = new IosMirrorSessions(async (udid, appleOs) => { opened.push(appleOs); return f.capture; }); + t.after(() => sessions.close()); + const id = await sessions.open("tv", "tvos"); + assert.deepEqual(opened, ["tvos"]); + await sessions.batch(id); + await assert.rejects(sessions.input(id, [{ type: "touch1-down", x: 1, y: 1, width: 2, height: 2 }], 1), /no touchscreen/); + assert.deepEqual(f.touches, []); + const phone = await sessions.open("phone"); + assert.deepEqual(opened, ["tvos", undefined]); + assert.ok(phone); +}); diff --git a/packages/core/test/physical-appletv.test.ts b/packages/core/test/physical-appletv.test.ts new file mode 100644 index 000000000..9b350c102 --- /dev/null +++ b/packages/core/test/physical-appletv.test.ts @@ -0,0 +1,211 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { mkdir, mkdtemp, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { listIosDevices } from "../src/ios-devices.ts"; +import { findDeviceBuild } from "../src/ios-device-build.ts"; +import { resetIosSigning, resolveIosTeamId } from "../src/ios-signing.ts"; +import { settlePhysicalIos } from "../src/physical-ios-settle.ts"; +import { createLaneExecutor, physicalIosError, systemDeviceOps } from "../src/testing-prepare.ts"; +import type { DeviceOps } from "../src/testing-prepare.ts"; +import { MatrixRegistry, startMatrix } from "../src/testing-matrix.ts"; +import { looksLikeMetroFailure, withMetroHint } from "../src/tvos-metro.ts"; +import { deviceAppleOs, isRecordableDevice } from "../../shared/src/panel-target.ts"; +import { physicalAvailability, physicalUnavailableHint } from "../../shared/src/ios-devices.ts"; + +process.env.MOBILE_DEV_PHYSICAL_APPLE_TV = "1"; // physical Apple TV support is opt-in + +// Shaped like `devicectl list devices --json-output -` for an Apple TV 4K on Xcode 27. +const tvUdid = "00008110-000A0B1C2D3E4F00"; +const tvId = "33333333-3333-4333-8333-333333333333"; + +function appleTv(connection: { state: string; pairingState?: string; transportType?: string }) { + return { + identifier: tvId, + properties: { + hardware: { udid: tvUdid, marketingName: "Apple TV 4K (3rd generation)", productType: "AppleTV14,1", reality: "physical", platform: "tvOS" }, + state: { name: "Living Room" }, software: { osVersionNumber: { components: [27, 0], originalComponentsCount: 2, stringValue: "27.0" } }, + connection: { pairingState: "paired", ...connection }, + }, + }; +} +const listing = (...devices: unknown[]) => ({ stdout: JSON.stringify({ info: { jsonVersion: 5, outcome: "success" }, result: { devices } }) }); +const nothingNative = async () => []; + +test("discovery asks devicectl for iPhones and Apple TVs and carries the Apple TV's OS", async () => { + let args: string[] = []; + const [tv] = await listIosDevices(undefined, async (_file, a) => { args = a; return listing(appleTv({ state: "connected", transportType: "localNetwork" })); }, nothingNative); + assert.match(args[args.indexOf("--filter") + 1]!, /platform = 'iOS' OR properties\.hardware\.platform = 'tvOS'/); + assert.deepEqual(tv, { udid: tvUdid, coreDeviceId: tvId, name: "Living Room", model: "Apple TV 4K (3rd generation)", productType: "AppleTV14,1", + state: "connected", runtime: "tvOS 27.0", platform: "ios", kind: "physical", transportType: "localNetwork", pairingState: "paired", appleOs: "tvos" }); + assert.equal(deviceAppleOs(tv!), "tvos"); + assert.equal(isRecordableDevice(tv), true); +}); + +test("an Apple TV is never wired, even when usbmuxd lists the same UDID", async () => { + const [tv] = await listIosDevices(undefined, async () => listing(appleTv({ state: "connected", transportType: "localNetwork" })), async () => [{ udid: tvUdid, transportType: "wired" }]); + assert.equal(tv!.transportType, "localNetwork"); +}); + +test("a paired Apple TV with a closed tunnel is asleep, not offline, and says how to wake it", async () => { + for (const connection of [{ state: "disconnected", transportType: "localNetwork" }, { state: "unavailable" }]) { + const [tv] = await listIosDevices(undefined, async () => listing(appleTv(connection)), nothingNative); + assert.equal(tv!.state, "asleep"); + assert.equal(physicalAvailability(tv!), "asleep"); + assert.equal(isRecordableDevice(tv), false); + assert.match(physicalUnavailableHint(tv!) ?? "", /wake the Apple TV with its remote/i); + assert.doesNotMatch(physicalUnavailableHint(tv!) ?? "", /USB|cable/i); + } +}); + +test("an unpaired Apple TV points at Remote App and Devices, never at USB", async () => { + const [tv] = await listIosDevices(undefined, async () => listing(appleTv({ state: "unavailable", pairingState: "unpaired" })), nothingNative); + assert.equal(tv!.state, "unavailable"); + assert.equal(physicalAvailability(tv!), "unpaired"); + const hint = physicalUnavailableHint(tv!)!; + assert.match(hint, /Remotes and Devices → Remote App and Devices/); + assert.doesNotMatch(hint, /USB|cable/i); +}); + +test("a phone in the same state is still offline, with the unchanged message", async () => { + const phone = { state: "disconnected", pairingState: "paired", appleOs: undefined }; + assert.equal(physicalAvailability(phone), "offline"); + assert.equal(physicalUnavailableHint({ name: "Test iPhone", ...phone }), "Test iPhone is not connected and paired. Reconnect and trust this Mac, then refresh Devices."); +}); + +test("signing resolves for an Apple TV exactly as for a phone: one team, the Apple Development identity", async () => { + resetIosSigning(); + assert.equal(await resolveIosTeamId({ env: { MOBILE_DEV_IOS_TEAM_ID: "abcde12345" }, savedTeamFile: "/nonexistent/team.json" }), "ABCDE12345"); +}); + +test("a tvOS device build is found by SDK directory and by DTPlatformName, never the iPhone one", async () => { + const home = await mkdtemp(join(tmpdir(), "tv-builds-")); + try { + const products = join(home, "proj", "ios", "build", "Build", "Products"); + const dirs = { tv: join(products, "Debug-appletvos", "App.app"), phone: join(products, "Debug-iphoneos", "App.app"), mislabelled: join(products, "Release-appletvos", "Other.app") }; + for (const dir of Object.values(dirs)) await mkdir(dir, { recursive: true }); + const platforms = new Map([[dirs.tv, "appletvos"], [dirs.phone, "iphoneos"], [dirs.mislabelled, "iphoneos"]]); + const commands = { run: async (_file: string, args: string[]) => { + const plist = args.at(-1)!; const app = plist.slice(0, -"/Info.plist".length); + return args.includes("CFBundleIdentifier") ? "com.example.tv" : platforms.get(app)!; + } }; + assert.equal(await findDeviceBuild("com.example.tv", commands, join(home, "proj"), home, "tvos"), dirs.tv); + assert.equal(await findDeviceBuild("com.example.tv", commands, join(home, "proj"), home), dirs.phone); + platforms.set(dirs.tv, "iphoneos"); + assert.equal(await findDeviceBuild("com.example.tv", commands, join(home, "proj"), home, "tvos"), undefined, "a bundle built for another SDK is not installed"); + } finally { await rm(home, { recursive: true, force: true }); } +}); + +function tvMachine(overrides: { listing?: unknown[]; apps?: string[]; calls?: string[][]; home?: string } = {}) { + const calls = overrides.calls ?? []; + const commands = { + adb: async () => "adb", aapt2: async () => null, readBinary: async () => Buffer.alloc(0), + run: async (file: string, args: string[], options?: { timeout?: number }) => { + calls.push([file, ...args, `timeout=${options?.timeout}`]); + if (args.includes("apps")) return JSON.stringify({ result: { apps: (overrides.apps ?? []).map(bundleIdentifier => ({ bundleIdentifier })) } }); + if (args.includes("plutil") || file.endsWith("plutil")) return args.includes("CFBundleIdentifier") ? "com.example.tv" : "appletvos"; + if (args.includes("details")) return JSON.stringify({ result: { deviceProperties: { developerModeStatus: "disabled" } } }); + return ""; + }, + }; + const devices = overrides.listing ?? [appleTv({ state: "connected", transportType: "localNetwork" })]; + const wired = devices.flatMap(entry => (entry as { properties: { hardware: { platform: string; udid: string } } }).properties.hardware.platform === "iOS" ? [{ udid: tvUdid, transportType: "wired" as const }] : []); + const listPhysical = () => listIosDevices(undefined, async () => listing(...devices), async () => wired); + return { ops: systemDeviceOps({ simulators: {} as never, android: {} as never, drivers: (() => ({})) as never, commands, listPhysical }), calls }; +} + +test("an Apple TV passes ready without a Developer Mode check; an asleep one fails with the wake hint", async () => { + process.env.MOBILE_DEV_IOS_TEAM_ID = "ABCDE12345"; + const saved = { team: process.env.AGENT_DEVICE_IOS_TEAM_ID, bundle: process.env.AGENT_DEVICE_IOS_BUNDLE_ID }; + try { + const awake = tvMachine(); + await awake.ops.physicalIos!.ready(tvUdid, {}); + assert.equal(awake.calls.some(call => call.includes("details")), false, "tvOS has no Developer Mode to read"); + assert.equal(process.env.AGENT_DEVICE_IOS_TEAM_ID, "ABCDE12345"); + const asleep = tvMachine({ listing: [appleTv({ state: "disconnected", transportType: "localNetwork" })] }); + await assert.rejects(asleep.ops.physicalIos!.ready(tvUdid, {}), /asleep or off the network.*remote/i); + const gone = tvMachine({ listing: [] }); + await assert.rejects(gone.ops.physicalIos!.ready(tvUdid, {}), /Apple TV: wake it with its remote/); + } finally { + delete process.env.MOBILE_DEV_IOS_TEAM_ID; + for (const [key, value] of [["AGENT_DEVICE_IOS_TEAM_ID", saved.team], ["AGENT_DEVICE_IOS_BUNDLE_ID", saved.bundle]] as const) { if (value === undefined) delete process.env[key]; else process.env[key] = value; } + resetIosSigning(); + } +}); + +test("an iPhone still has its Developer Mode checked", async () => { + process.env.MOBILE_DEV_IOS_TEAM_ID = "ABCDE12345"; + try { + const phone = { ...appleTv({ state: "connected", transportType: "wired" }) }; + phone.properties.hardware = { ...phone.properties.hardware, platform: "iOS", productType: "iPhone18,1", marketingName: "iPhone 17 Pro" }; + const { ops, calls } = tvMachine({ listing: [phone] }); + await assert.rejects(ops.physicalIos!.ready(tvUdid, {}), /Developer Mode is off on Living Room/); + assert.ok(calls.some(call => call.includes("details"))); + } finally { delete process.env.MOBILE_DEV_IOS_TEAM_ID; resetIosSigning(); } +}); + +test("an Apple TV lane installs the appletvos build, launches with devicectl and uses the network timeouts", async () => { + const home = await mkdtemp(join(tmpdir(), "tv-run-")); + process.env.MOBILE_DEV_IOS_TEAM_ID = "ABCDE12345"; + try { + await mkdir(join(home, "proj", "ios", "build", "Build", "Products", "Debug-appletvos", "App.app"), { recursive: true }); + const { ops, calls } = tvMachine(); + const log: string[] = []; + const executor = createLaneExecutor({ ops: ops as DeviceOps, apps: { tvos: "com.example.tv" }, projectPath: join(home, "proj"), + runTest: async (lane, deviceId) => { log.push(`run ${lane.appleOs} ${deviceId}`); return { status: "passed", exitCode: 0, steps: [] }; } }); + const { run: matrix, done } = startMatrix(new MatrixRegistry(), { testPath: "t", devices: [{ deviceId: tvUdid, platform: "ios", appleOs: "tvos", kind: "physical" }] }, executor); + await done; + assert.equal(matrix.lanes[0]!.state, "passed", matrix.lanes[0]!.error); + assert.deepEqual(log, [`run tvos ${tvUdid}`]); + const devicectl = calls.filter(call => call[1] === "devicectl"); + const [apps, install, launch] = ["apps", "install", "launch"].map(word => devicectl.find(call => call.includes(word))!); + assert.ok(apps.includes("timeout=45000") && apps.includes("30"), "reading apps waits for the network"); + assert.ok(install.includes("timeout=600000") && install.some(part => part.endsWith("Debug-appletvos/App.app"))); + assert.ok(launch.includes("timeout=90000")); + assert.ok(devicectl.every(call => call.includes(tvUdid))); + } finally { delete process.env.MOBILE_DEV_IOS_TEAM_ID; resetIosSigning(); await rm(home, { recursive: true, force: true }); } +}); + +test("with no Apple TV build the lane says how to build one for tvOS", async () => { + const { ops } = tvMachine(); + const { run: matrix, done } = startMatrix(new MatrixRegistry(), { testPath: "t", devices: [{ deviceId: tvUdid, platform: "ios", appleOs: "tvos", kind: "physical" }] }, + createLaneExecutor({ ops: ops as DeviceOps, apps: { tvos: "com.example.tv" }, projectPath: "/nonexistent", runTest: async () => ({ status: "passed", exitCode: 0, steps: [] }) })); + process.env.MOBILE_DEV_IOS_TEAM_ID = "ABCDE12345"; + try { await done; } finally { delete process.env.MOBILE_DEV_IOS_TEAM_ID; resetIosSigning(); } + assert.match(matrix.lanes[0]!.error ?? "", /Debug-appletvos|Apple TV/); +}); + +test("a run that fails on a Metro connection error gets the LAN IP and Release explanation", async () => { + assert.ok(looksLikeMetroFailure("Unable to load script. Make sure you're either running Metro")); + assert.equal(looksLikeMetroFailure("Expected text 'Welcome' not found"), false); + const { ops } = tvMachine({ apps: ["com.example.tv"] }); + process.env.MOBILE_DEV_IOS_TEAM_ID = "ABCDE12345"; + try { + const { run: matrix, done } = startMatrix(new MatrixRegistry(), { testPath: "t", devices: [{ deviceId: tvUdid, platform: "ios", appleOs: "tvos", kind: "physical" }] }, + createLaneExecutor({ ops: ops as DeviceOps, apps: { tvos: "com.example.tv" }, runTest: async () => ({ status: "failed", exitCode: 1, steps: [], error: "Could not connect to the development server." }) })); + await done; + assert.match(matrix.lanes[0]!.result?.error ?? matrix.lanes[0]!.error ?? "", /RCT_METRO_HOST[\s\S]*Release build/); + } finally { delete process.env.MOBILE_DEV_IOS_TEAM_ID; resetIosSigning(); } + assert.equal(withMetroHint(withMetroHint("Unable to load script.")).split("Release build").length, 2, "the hint is added once"); +}); + +test("devicectl failures on an Apple TV name the Apple TV, not Developer Mode or a phone", () => { + const fail = (stderr: string) => physicalIosError(Object.assign(new Error("Command failed"), { stderr }), "Opening the app", "com.example.tv", "tvos").message; + assert.match(fail("ERROR: The device is not connected (tunnel closed)"), /Apple TV is asleep or off the network/); + assert.match(fail("Developer Mode is disabled"), /^Opening the app failed/); + assert.doesNotMatch(fail("Developer Mode is disabled"), /Settings → Privacy & Security/); + assert.match(fail("0xe800801f provisioning profile doesn't include"), /Register the Apple TV with your team/); + const phone = physicalIosError(Object.assign(new Error("Command failed"), { stderr: "Developer Mode is disabled" }), "Opening the app", "com.app"); + assert.match(phone.message, /Settings → Privacy & Security → Developer Mode/); +}); + +test("settling an Apple TV waits longer and gives devicectl more time", async () => { + let clock = 0; const timeouts: string[] = []; + await settlePhysicalIos(tvUdid, async (_file, args) => { + timeouts.push(args[args.indexOf("--timeout") + 1]!); + return { stdout: JSON.stringify({ result: { runningProcesses: [{ executable: "file:///x/AgentDeviceRunnerUITests-Runner.app/AgentDeviceRunnerUITests-Runner" }] } }) }; + }, async ms => { clock += ms; }, () => clock, "tvos"); + assert.ok(clock >= 25_000 && clock <= 26_000, `waited ${clock}ms`); + assert.ok(timeouts.every(value => value === "20")); +}); diff --git a/packages/core/test/telemetry.test.ts b/packages/core/test/telemetry.test.ts index 3caca824d..56d49f826 100644 --- a/packages/core/test/telemetry.test.ts +++ b/packages/core/test/telemetry.test.ts @@ -11,7 +11,7 @@ import { Client } from "@modelcontextprotocol/sdk/client/index.js"; import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js"; import { z } from "zod"; import { MeasurementWindow, sampleTrace, scrubErrorEvent, scrubMetric, scrubSpan, sampleMetric, createErrorEventFilter, METRIC_SAMPLE_RATE, TELEMETRY_META_KEY } from "../../shared/src/telemetry.ts"; -import { captureServerError, installTracePropagation, instrumentMcpServer, IOSLogProcessingTelemetry, recordAndroidBackendStartup, recordAndroidBootWait, recordIosMirrorSharing, recordIosHitchOperation, recordBrowserPanelContext, recordBrowserPanelSessions, recordPanelRuntime, recordBaguetteDiscoveryTime, recordBaguetteFrameworkRestart, recordResourceSaving, recordSimulatorBoot } from "../src/telemetry.ts"; +import { captureServerError, installTracePropagation, instrumentMcpServer, IOSLogProcessingTelemetry, recordAndroidBackendStartup, recordAndroidBootWait, recordIosMirrorSharing, recordIosMirrorStream, recordIosHitchOperation, recordBrowserPanelContext, recordBrowserPanelSessions, recordPanelRuntime, recordBaguetteDiscoveryTime, recordBaguetteFrameworkRestart, recordResourceSaving, recordSimulatorBoot, recordTestingPressUntilFocused, recordTestingRemotePress } from "../src/telemetry.ts"; import { recordPluginUpdate } from "../../../apps/codex-plugin/server/plugin-updates.ts"; import { deferEpisodeReport, ExpectedOperationError, FailureEpisodes } from "../../shared/src/error-reporting.ts"; import { parseResourceInput } from "../src/resource-input.ts"; @@ -355,6 +355,64 @@ test("shared iOS capture metrics retain surface attribution and honor opt-out", assert.equal(JSON.stringify(envelopes), sent); }); +test("Apple TV mirror metrics carry only the OS family and a bounded stream class", async t => { + const envelopes: Envelope[] = []; + Sentry.init({ + dsn: "https://public@example.com/1", defaultIntegrations: false, beforeSendMetric: scrubMetric, + transport: () => ({ async send(envelope) { envelopes.push(envelope); return { statusCode: 200 }; }, async flush() { return true; } }), + }); + const previous = process.env.MOBILE_DEV_TELEMETRY; + delete process.env.MOBILE_DEV_TELEMETRY; + t.after(async () => { + if (previous === undefined) delete process.env.MOBILE_DEV_TELEMETRY; + else process.env.MOBILE_DEV_TELEMETRY = previous; + await Sentry.close(); + }); + recordIosMirrorSharing(2, 3, 0, 1); + recordIosMirrorStream("tvos", "uhd-10bit"); + await Sentry.flush(); + const sent = JSON.stringify(envelopes); + for (const fragment of ["ios.mirror.shared.apple_tv_captures", "ios.mirror.stream_configured", '"device_os":{"value":"tvos"', '"stream_class":{"value":"uhd-10bit"']) contains(sent, fragment); + for (const fragment of ["udid", "AppleTV", "sessionId"]) contains(sent, fragment, false); + process.env.MOBILE_DEV_TELEMETRY = "off"; + recordIosMirrorStream("ios", "hd-8bit"); + await Sentry.flush(); + assert.equal(JSON.stringify(envelopes), sent); +}); + +test("Testing Studio remote presses carry the OS family and outcome, never the button, device or app", async t => { + const envelopes: Envelope[] = []; + Sentry.init({ + dsn: "https://public@example.com/1", defaultIntegrations: false, beforeSendMetric: scrubMetric, + transport: () => ({ async send(envelope) { envelopes.push(envelope); return { statusCode: 200 }; }, async flush() { return true; } }), + }); + const previous = process.env.MOBILE_DEV_TELEMETRY; + delete process.env.MOBILE_DEV_TELEMETRY; + t.after(async () => { + if (previous === undefined) delete process.env.MOBILE_DEV_TELEMETRY; + else process.env.MOBILE_DEV_TELEMETRY = previous; + await Sentry.close(); + }); + recordTestingRemotePress("success", 40); + recordTestingRemotePress("failed", 90); + recordTestingPressUntilFocused("found", 3); + recordTestingPressUntilFocused("exhausted", 12); + await Sentry.flush(); + const sent = JSON.stringify(envelopes); + for (const fragment of ["testing.remote.press.samples", "testing.remote.press.duration", "testing.press_until_focused.samples", "testing.press_until_focused.presses", '"os":{"value":"tvos"', '"outcome":{"value":"found"', '"outcome":{"value":"exhausted"', '"outcome":{"value":"failed"', '"surface":{"value":"testing"']) contains(sent, fragment); + for (const fragment of ["button", "select", "udid", "bundleId", "accessibilityLabel"]) contains(sent, fragment, false); + process.env.MOBILE_DEV_TELEMETRY = "off"; + recordTestingRemotePress("success", 1); + recordTestingPressUntilFocused("found", 1); + await Sentry.flush(); + assert.equal(JSON.stringify(envelopes), sent); +}); + +test("a remote press is a frequent tool: it gets a bounded metric and no span of its own", async () => { + const { isFrequentTool } = await import("../../shared/src/telemetry.ts"); + assert.equal(isFrequentTool("mobile_testing_press"), true); +}); + test("agent-device tools continue traces and report failures without native tool payloads", async t => { const envelopes: Envelope[] = []; Sentry.init({ diff --git a/packages/core/test/testing-agent.test.ts b/packages/core/test/testing-agent.test.ts index 165e69f1c..d6955d8ee 100644 --- a/packages/core/test/testing-agent.test.ts +++ b/packages/core/test/testing-agent.test.ts @@ -15,7 +15,7 @@ const CONTEXT = { projectPath: "/project", deviceId: "11111111-2222-3333-4444-55 type Node = { nodeId: string; parentId?: string; role?: string; label?: string; text?: string; value?: string; - placeholder?: string; identifier?: string; hidden?: boolean; disabled?: boolean; selected?: boolean; + placeholder?: string; identifier?: string; hidden?: boolean; disabled?: boolean; selected?: boolean; focused?: boolean; bounds?: { x: number; y: number; width: number; height: number }; }; @@ -407,3 +407,62 @@ test("booted virtual devices and connected paired iOS hardware are recordable", assert.equal(isRecordableDevice({ ...base, state: "connected", platform: "ios", kind: "physical", pairingState: "unpaired" } as never), false); assert.equal(isRecordableDevice(undefined), false); }); + +/** An Apple TV home screen with focus on the first item, then on the second after a press down. */ +const tvHome = (focus: "Movies" | "Settings") => tree([ + { nodeId: "title", role: "text", label: "TV Home" }, + { nodeId: "movies", role: "button", label: "Movies", text: "Movies", ...(focus === "Movies" ? { focused: true } : {}) }, + { nodeId: "settings", role: "button", label: "Settings", text: "Settings", ...(focus === "Settings" ? { focused: true } : {}) }, +]); + +async function startedOnTv(screens: TestingDeviceTree[]) { + const device = fakeDevices(screens); + const drafts = new TestDraftStore(await mkdtemp(join(tmpdir(), "mobile-dev-agent-drafts-"))); + const recordings = new TestingAgentRecordings(device.devices, drafts); + recordings.setContext({ ...CONTEXT, appleOs: "tvos" }); + await recordings.begin({ title: "tv navigation", goal: "reach Settings" }); + return { ...device, recordings }; +} + +test("on an Apple TV the agent reads focus and is told there is no touch", async () => { + const { recordings, actions } = await startedOnTv([tvHome("Movies")]); + const screen = await recordings.screen(); + assert.match(String((screen as { context?: string }).context), /focus-based.*no tap or swipe/); + assert.deepEqual((screen as { focused?: string[] }).focused, ["Movies"]); + assert.equal(screen.elements.find(row => row.name === "Movies")?.focused, true); + for (const kind of ["tap", "doubleTap", "longPress", "swipe", "scrollUntilVisible"]) { + await assert.rejects(() => recordings.step({ ref: screen.elements[1]!.ref, kind }), /needs a touch screen and this is an Apple TV/, kind); + } + assert.equal(actions.length, 0); +}); + +test("a remote press is recorded, taken on the device, and answers with the focused item", async () => { + const { recordings, actions } = await startedOnTv([tvHome("Movies"), tvHome("Settings")]); + await recordings.screen(); + const result = await recordings.step({ kind: "press", button: "down" }) as { focused: string[]; acted: boolean }; + assert.deepEqual(actions.map(entry => entry.action), [{ kind: "press", button: "down" }]); + assert.equal(result.acted, true); + assert.deepEqual(result.focused, ["Settings"]); + await assert.rejects(() => recordings.step({ kind: "press" }), /needs a button/); + const screen = await recordings.screen(); + await recordings.step({ ref: screen.elements.find(row => row.name === "Settings")!.ref, kind: "assertFocused" }); + const steps = recordings.state().steps; + assert.deepEqual(steps.map(step => step.kind), ["press", "assertFocused"]); +}); + +test("pressUntilFocused presses until the element holds focus and reports the arrival", async () => { + const { recordings, actions } = await startedOnTv([tvHome("Movies"), tvHome("Settings")]); + const screen = await recordings.screen(); + const ref = screen.elements.find(row => row.name === "Settings")!.ref; + await assert.rejects(() => recordings.step({ ref, kind: "pressUntilFocused" }), /needs a direction/); + const result = await recordings.step({ ref, kind: "pressUntilFocused", direction: "down" }) as { presses: number; arrived: boolean }; + assert.equal(result.arrived, true); + assert.equal(result.presses, 1); + assert.deepEqual(actions.map(entry => entry.action), [{ kind: "press", button: "down" }]); +}); + +test("a phone or emulator refuses the Apple TV steps", async () => { + const { recordings } = await started(); + await assert.rejects(() => recordings.step({ kind: "press", button: "down" }), /not an Apple TV/); + await assert.rejects(() => recordings.step({ ref: "x", kind: "assertFocused" }), /not an Apple TV/); +}); diff --git a/packages/core/test/testing-foreground-target.test.ts b/packages/core/test/testing-foreground-target.test.ts index 8324b7b74..70aa193a0 100644 --- a/packages/core/test/testing-foreground-target.test.ts +++ b/packages/core/test/testing-foreground-target.test.ts @@ -33,3 +33,10 @@ test("an Apple app in front, known only by its pid, becomes the No project targe assert.deepEqual(await targets(client, { projectPath: root, foregroundPlatform: "ios", foregroundBundleId: "com.example.app" }), ["com.example.app"]); assert.deepEqual(looked, [9, 1], "a named bundle id needs no lookup"); }); + +test("an Apple TV app in front becomes a tvOS No project target", async () => { + const root = await mkdtemp(join(tmpdir(), "foreground-target-tv-")); + const { client } = await connect(root, {}); + const read = (await client.callTool({ name: "mobile_testing_project_config", arguments: { projectPath: root, foregroundPlatform: "ios", foregroundAppleOs: "tvos", foregroundBundleId: "org.reactjs.native.example.TVApp" } })).structuredContent as { targets: { platform: string; appleOs?: string; bundleId: string }[] }; + assert.deepEqual(read.targets.map(({ platform, appleOs, bundleId }) => ({ platform, appleOs, bundleId })), [{ platform: "ios", appleOs: "tvos", bundleId: "org.reactjs.native.example.TVApp" }]); +}); diff --git a/packages/core/test/testing-matrix-project.test.ts b/packages/core/test/testing-matrix-project.test.ts index cd65e4431..497d5ab3e 100644 --- a/packages/core/test/testing-matrix-project.test.ts +++ b/packages/core/test/testing-matrix-project.test.ts @@ -128,3 +128,34 @@ test("project mode skips the launch the bundled lane does", async () => { await done; assert.deepEqual(log, []); }); + +const TV_CONFIG = CONFIG.replace(' { name: "android"', ' { name: "tv", engine: mobile({ platform: "ios" }), app: { bundleId: "com.example.tv" } },\n { name: "android"'); + +test("an iPhone lane and an Apple TV lane each run the target of their own OS", async () => { + const root = await projectWithRuntime(); + await writeFile(join(root, "e2e.config.ts"), TV_CONFIG); + const { ops } = machine({ A: ["com.example.ios"], T: ["com.example.tv"] }); + const requests: TestRunRequest[] = []; + const { client, registry } = await connect(root, ops, request => requests.push(request)); + const result = await client.callTool({ name: "mobile_testing_run_matrix", arguments: { + projectPath: root, relativePath: "tests/flow.e2e.ts", untilSource: 'test("x", async () => {});\n', apps: {}, + devices: [{ deviceId: "A", platform: "ios" }, { deviceId: "T", platform: "ios", appleOs: "tvos" }], + } }); + assert.notEqual(result.isError, true, JSON.stringify(result.content)); + await settled(registry); + assert.deepEqual(requests.map(request => [request.projectLane!.device, request.projectLane!.target]).sort(), [["A", "ios"], ["T", "tv"]]); + assert.deepEqual(registry.latest()!.lanes.map(lane => [lane.appleOs, lane.state]), [[undefined, "passed"], ["tvos", "passed"]]); +}); + +test("an Apple TV lane is refused when the config has only an iPhone target, before anything boots", async () => { + const root = await projectWithRuntime(); + const { ops, log } = machine({ T: [] }); + const { client } = await connect(root, ops, () => undefined); + const result = await client.callTool({ name: "mobile_testing_run_matrix", arguments: { + projectPath: root, relativePath: "tests/flow.e2e.ts", untilSource: 'test("x", async () => {});\n', apps: {}, + devices: [{ deviceId: "T", platform: "ios", appleOs: "tvos" }], + } }); + assert.equal(result.isError, true); + assert.match(JSON.stringify(result.content), /no Apple TV \(tvOS\) target/); + assert.deepEqual(log, []); +}); diff --git a/packages/core/test/testing-prepare.test.ts b/packages/core/test/testing-prepare.test.ts index f0d3ac3a3..60f3486bf 100644 --- a/packages/core/test/testing-prepare.test.ts +++ b/packages/core/test/testing-prepare.test.ts @@ -308,3 +308,15 @@ test("a physical Android lane with no source says to build for the phone", async const { matrix } = await run([{ deviceId: "phone", platform: "android", kind: "physical" }], ops); assert.match(matrix.lanes[0]!.error ?? "", /expo run:android --device/); }); + +test("an iOS build on an Apple TV simulator is refused with a clear error", async () => { + const udid = "33333333-3333-4333-8333-333333333333"; + const commands = (platformName: string) => ({ + adb: async () => "adb", aapt2: async () => null, readBinary: async () => Buffer.alloc(0), + run: async (_file: string, args: string[]) => args.includes("get_app_container") ? "/sim/App.app\n" : platformName, + }); + const simulators = { device: async () => ({ udid, name: "Apple TV 4K", state: "Booted", runtime: "tvOS 27.0" }) } as never; + const make = (platformName: string) => systemDeviceOps({ simulators, android: {} as never, drivers: (() => ({})) as never, commands: commands(platformName) }); + await assert.rejects(make("iphonesimulator").hasApp("ios", udid, "com.app"), /iOS build, but the device runs tvOS/); + assert.equal(await make("appletvsimulator").hasApp("ios", udid, "com.app"), true); +}); diff --git a/packages/core/test/testing-projects.test.ts b/packages/core/test/testing-projects.test.ts index 2af859a58..1b7bcd32c 100644 --- a/packages/core/test/testing-projects.test.ts +++ b/packages/core/test/testing-projects.test.ts @@ -402,3 +402,27 @@ test("one of the project's tests can be deleted, and only from inside tests/", a assert.ok(await readFile(join(root, "outside.e2e.ts"), "utf-8")); } finally { await rm(root, { recursive: true, force: true }); } }); + +test("tvOS targets resolve their engine variable and carry appleOs", () => { + const source = `const tv = mobile({ platform: 'ios', device: process.env.TV }); +export default { targets: [ + { name: 'ios', engine: mobile({ platform: 'ios' }), app: { bundleId: 'com.app' } }, + { name: 'tv', engine: tv, app: { bundleId: 'com.app.tv' } }, +] };`; + const targets = parseTargets(source); + assert.deepEqual(targets.map(entry => [entry.name, entry.platform, entry.appleOs]), [["ios", "ios", undefined], ["tv", "ios", "tvos"]]); +}); + +test("detectAppleOs reads Podfile and SDKROOT, including mixed projects", async () => { + const root = await mkdtemp(join(tmpdir(), "tvos-detect-")); + try { + const { detectAppleOs, withProjectAppleOs } = await import("../src/testing-projects.ts"); + await mkdir(join(root, "ios", "App.xcodeproj"), { recursive: true }); + await writeFile(join(root, "ios", "Podfile"), "platform :tvos, '17.0'\n"); + assert.deepEqual(await detectAppleOs(root), ["tvos"]); + assert.deepEqual(withProjectAppleOs([{ name: "x", platform: "ios", bundleId: "a" }], ["tvos"])[0].appleOs, "tvos"); + await writeFile(join(root, "ios", "App.xcodeproj", "project.pbxproj"), "SDKROOT = iphoneos;\n"); + assert.deepEqual((await detectAppleOs(root)).sort(), ["ios", "tvos"]); + assert.equal(withProjectAppleOs([{ name: "x", platform: "ios", bundleId: "a" }], ["ios", "tvos"])[0].appleOs, undefined); + } finally { await rm(root, { recursive: true, force: true }); } +}); diff --git a/packages/core/test/tvos-pinned.test.ts b/packages/core/test/tvos-pinned.test.ts new file mode 100644 index 000000000..2f39aa82e --- /dev/null +++ b/packages/core/test/tvos-pinned.test.ts @@ -0,0 +1,66 @@ +import test, { after } from "node:test"; +import assert from "node:assert/strict"; +import { mkdtemp } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { Client } from "@modelcontextprotocol/sdk/client/index.js"; +import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; +import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js"; +import { registerTestingTools } from "../src/testing-tools.ts"; +import { TestingProjectChoices } from "../src/testing-projects.ts"; +import { TestingDevices } from "../src/testing-device.ts"; +import { MatrixRegistry } from "../src/testing-matrix.ts"; +import { studioWorkspacePath, writeTestFile, writeTestTarget } from "../src/testing-projects.ts"; +import type { DeviceOps } from "../src/testing-prepare.ts"; + +const ops: DeviceOps = { + async isBooted() { return true; }, async boot(_p, id) { return id; }, async hasApp() { return false; }, + async copyApp() {}, async launch() {}, +}; + +async function bundledProject(relativePath: string, target: Parameters[2]) { + const state = await mkdtemp(join(tmpdir(), "tvos-pinned-")); + process.env.MOBILE_DEV_TESTING_DIRECTORY = join(state, "studio"); + const root = studioWorkspacePath(); + await writeTestFile(root, relativePath, 'test("x", async () => {});\n'); + await writeTestTarget(root, relativePath, target); + const server = new McpServer({ name: "t", version: "1" }); + registerTestingTools(server, new TestingProjectChoices(join(state, "choices")), new TestingDevices(), undefined, { + ops, registry: new MatrixRegistry(), run: async () => ({ status: "passed", exitCode: 0, steps: [] }), + }); + const client = new Client({ name: "c", version: "1" }); + const [a, b] = InMemoryTransport.createLinkedPair(); + await Promise.all([server.connect(a), client.connect(b)]); + return { root, client }; +} + +const previousDirectory = process.env.MOBILE_DEV_TESTING_DIRECTORY; +after(() => { + if (previousDirectory === undefined) delete process.env.MOBILE_DEV_TESTING_DIRECTORY; + else process.env.MOBILE_DEV_TESTING_DIRECTORY = previousDirectory; +}); + +async function matrix(client: Client, root: string, relativePath: string, devices: Record[]) { + return client.callTool({ name: "mobile_testing_run_matrix", arguments: { projectPath: root, relativePath, untilSource: 'test("x", async () => {});\n', apps: {}, devices } }); +} + +test("a bundled test pinned to Apple TV refuses an iPhone lane before anything boots", async () => { + const { root, client } = await bundledProject("tests/tv.e2e.ts", { platform: "ios", appleOs: "tvos", bundleId: "org.tv.app" }); + const result = await matrix(client, root, "tests/tv.e2e.ts", [{ deviceId: "PHONE", platform: "ios", name: "iPhone 17" }]); + assert.equal(result.isError, true); + assert.match(JSON.stringify(result.content), /targets Apple TV, so iPhone 17 \(iPhone or iPad\) cannot run it/); +}); + +test("a bundled test pinned to an iPhone app refuses an Apple TV lane", async () => { + const { root, client } = await bundledProject("tests/phone.e2e.ts", { platform: "ios", bundleId: "org.phone.app" }); + const result = await matrix(client, root, "tests/phone.e2e.ts", [{ deviceId: "TV", platform: "ios", appleOs: "tvos", name: "Apple TV 4K" }]); + assert.equal(result.isError, true); + assert.match(JSON.stringify(result.content), /targets iPhone and iPad, so Apple TV 4K \(Apple TV\) cannot run it/); +}); + +test("a test pinned to both OS apps does not refuse either lane for a missing app", async () => { + const { root, client } = await bundledProject("tests/both.e2e.ts", { platform: "ios", bundleId: "org.phone.app" }); + await writeTestTarget(root, "tests/both.e2e.ts", { platform: "ios", appleOs: "tvos", bundleId: "org.tv.app" }, "add"); + const result = await matrix(client, root, "tests/both.e2e.ts", [{ deviceId: "TV", platform: "ios", appleOs: "tvos", name: "Apple TV 4K" }]); + assert.doesNotMatch(JSON.stringify(result.content), /cannot run it|has no Apple TV/); +}); diff --git a/packages/core/test/tvos-run.test.ts b/packages/core/test/tvos-run.test.ts new file mode 100644 index 000000000..acb6f82ee --- /dev/null +++ b/packages/core/test/tvos-run.test.ts @@ -0,0 +1,118 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { bundledConfigSource, bundledTargetName, rewriteLaneConfig } from "../src/testing-run.ts"; +import { blockingSession, explainBlockingSession, rewriteBlockingSession } from "../src/device-session-errors.ts"; +import { tvosRuntimeMajor, tvosSceneLaunchIssue } from "../src/tvos-scene.ts"; +import { createLaneExecutor } from "../src/testing-prepare.ts"; +import type { DeviceOps } from "../src/testing-prepare.ts"; +import { MatrixRegistry, startMatrix } from "../src/testing-matrix.ts"; +import { projectLaneTargets } from "../src/testing-tools.ts"; + +const TV = "5787DB96-A801-46A8-8BFE-0F4F0771D80A"; +const model = { provider: "openrouter" as const, model: "x/y" }; + +test("a tvOS bundled config pins the Apple TV on the iOS engine", () => { + const source = bundledConfigSource({ platform: "ios", appleOs: "tvos", bundleId: "org.tv.app", device: TV }); + assert.match(source, new RegExp(`mobile\\(\\{ platform: "ios", device: .*${TV}`)); + assert.doesNotMatch(source, /tv_remote|defineTool/, "recorded tests carry their own press helpers"); +}); + +test("the agent gets tv_remote only when a tvOS run has agent steps", () => { + const target = { platform: "ios" as const, appleOs: "tvos" as const, bundleId: "org.tv.app", device: TV }; + const withAgent = bundledConfigSource(target, model, { agentSteps: true }); + assert.match(withAgent, /tools: \{ tv_remote: tvRemote \}/); + assert.match(withAgent, /platforms: \['ios'\]/); + assert.match(withAgent, /Focused item\(s\) now/); + assert.match(withAgent, /engine: tv,/); + assert.doesNotMatch(bundledConfigSource(target, model, { agentSteps: false }), /tv_remote/); + assert.doesNotMatch(bundledConfigSource({ ...target, appleOs: undefined }, model, { agentSteps: true }), /tv_remote/, "an iPhone run never gets the remote"); +}); + +test("a pinned tvOS target gets its own session name", () => { + assert.equal(bundledTargetName({ platform: "ios", appleOs: "tvos", bundleId: "a", device: TV }), `ios-${TV}`); +}); + +test("a project lane config pins the Apple TV UDID and leaves the engine platform alone", () => { + const config = `export default { targets: [{ name: "tv", engine: mobile({ platform: 'ios' }), app: { bundleId: "a" } }] };`; + const out = rewriteLaneConfig(config, "tv", TV, "lane-1"); + assert.match(out, /platform: 'ios'/); + assert.match(out, new RegExp(TV)); + assert.match(out, /session: "lane-1"/); +}); + +test("project lanes pick the target of the device's own OS", () => { + const targets = [ + { name: "ios", platform: "ios", bundleId: "phone" }, { name: "tv", platform: "ios", appleOs: "tvos" as const, bundleId: "tv" }, + { name: "android", platform: "android", bundleId: "droid" }, + ]; + const lanes = projectLaneTargets(targets, [{ deviceId: "1", platform: "ios" }, { deviceId: "2", platform: "ios", appleOs: "tvos" }, { deviceId: "3", platform: "android" }]); + assert.deepEqual(lanes, { ios: { name: "ios", bundleId: "phone" }, tvos: { name: "tv", bundleId: "tv" }, android: { name: "android", bundleId: "droid" } }); + assert.throws(() => projectLaneTargets([targets[0]!], [{ deviceId: "2", platform: "ios", appleOs: "tvos" }]), /no Apple TV \(tvOS\) target/); + assert.throws(() => projectLaneTargets([targets[1]!], [{ deviceId: "1", platform: "ios" }]), /no ios target/); + assert.throws(() => projectLaneTargets(targets, [{ deviceId: "1", platform: "ios" }], { ios: "tv" }), /no ios target named "tv"/); +}); + +test("a blocking agent-device session or daemon is named", () => { + assert.deepEqual(blockingSession('ENGINE_FAILURE: Device is already in use by session "mobile-dev-recorder"'), { kind: "session", session: "mobile-dev-recorder" }); + assert.match(rewriteBlockingSession('Device is already in use by session "mobile-dev-recorder"'), /Mobile Dev's own session/); + assert.match(rewriteBlockingSession('Device is already in use by session "my-agent"'), /not Mobile Dev's/); + const daemon = blockingSession("Daemon (pid 4242, v0.21.33) is newer than this client (v0.21.20); refusing to replace it."); + assert.deepEqual(daemon, { kind: "daemon", pid: 4242, daemon: "0.21.33", client: "0.21.20" }); + assert.match(explainBlockingSession(daemon!), /pid 4242/); + assert.equal(rewriteBlockingSession("nothing blocking"), "nothing blocking"); +}); + +test("tvOS 27 without a scene manifest is reported before launch", () => { + assert.equal(tvosRuntimeMajor("tvOS 27.0"), 27); + assert.equal(tvosRuntimeMajor("iOS 27.0"), undefined); + assert.match(tvosSceneLaunchIssue({ runtime: "tvOS 27.0", hasSceneManifest: false, appId: "org.tv" })!, /UIApplicationSceneManifest/); + assert.equal(tvosSceneLaunchIssue({ runtime: "tvOS 27.0", hasSceneManifest: true, appId: "org.tv" }), undefined); + assert.equal(tvosSceneLaunchIssue({ runtime: "tvOS 18.5", hasSceneManifest: false, appId: "org.tv" }), undefined); + assert.equal(tvosSceneLaunchIssue({ runtime: "iOS 27.0", hasSceneManifest: false, appId: "org.tv" }), undefined); +}); + +function machine(state: Record) { + const log: string[] = []; + const ops: DeviceOps = { + async isBooted(_p, id) { return state[id]!.booted; }, + async boot(_p, id) { log.push(`boot ${id}`); state[id]!.booted = true; return id; }, + async hasApp(_p, id, app) { return state[id]!.booted && state[id]!.apps.includes(app); }, + async copyApp(_p, from, to, app) { log.push(`copy ${from}->${to}`); state[to]!.apps.push(app); }, + async launch(_p, id) { log.push(`launch ${id}`); }, + }; + return { ops, log }; +} +const lanes = [{ deviceId: "PHONE", platform: "ios" as const }, { deviceId: "TV", platform: "ios" as const, appleOs: "tvos" as const }]; +const runLanes = async (ops: DeviceOps, apps: Record) => { + const executor = createLaneExecutor({ ops, apps, runTest: async () => ({ status: "passed", exitCode: 0, steps: [] }) }); + const { run, done } = startMatrix(new MatrixRegistry(), { testPath: "t", devices: lanes }, executor); + await done; + return run; +}; + +test("an Apple TV lane takes its own app id and never copies an iPhone build", async () => { + const { ops, log } = machine({ PHONE: { booted: true, apps: ["phone.app"] }, TV: { booted: false, apps: [] } }); + const run = await runLanes(ops, { ios: "phone.app", tvos: "tv.app" }); + assert.equal(run.lanes[0]!.state, "passed"); + assert.equal(run.lanes[1]!.state, "error"); + assert.match(run.lanes[1]!.error!, /Apple TV simulator build/); + assert.ok(log.includes("boot TV")); + assert.equal(log.some(line => line.startsWith("copy")), false); +}); + +test("an Apple TV lane installs a simulator build when none of its OS has the app", async () => { + const { ops, log } = machine({ PHONE: { booted: true, apps: ["phone.app"] }, TV: { booted: true, apps: [] } }); + ops.installBuild = async (id, app, os) => { log.push(`build ${os} ${app} -> ${id}`); return "installed"; }; + const run = await runLanes(ops, { ios: "phone.app", tvos: "tv.app" }); + assert.deepEqual(run.lanes.map(lane => lane.state), ["passed", "passed"]); + assert.ok(log.includes("build tvos tv.app -> TV")); +}); + +test("an Apple TV lane fails with the UIScene explanation before anything launches", async () => { + const { ops, log } = machine({ PHONE: { booted: true, apps: ["phone.app"] }, TV: { booted: true, apps: ["tv.app"] } }); + ops.launchIssue = async () => tvosSceneLaunchIssue({ runtime: "tvOS 27.0", hasSceneManifest: false, appId: "tv.app" }); + const run = await runLanes(ops, { ios: "phone.app", tvos: "tv.app" }); + assert.equal(run.lanes[1]!.state, "error"); + assert.match(run.lanes[1]!.error!, /UIApplicationSceneManifest/); + assert.equal(log.includes("launch TV"), false); +}); diff --git a/packages/native/ios-mirror/Cargo.lock b/packages/native/ios-mirror/Cargo.lock index 8e790ea0c..6f20206b6 100644 --- a/packages/native/ios-mirror/Cargo.lock +++ b/packages/native/ios-mirror/Cargo.lock @@ -8,6 +8,27 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + [[package]] name = "async-stream" version = "0.3.6" @@ -30,6 +51,18 @@ dependencies = [ "syn 2.0.119", ] +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + [[package]] name = "base64" version = "0.22.1" @@ -42,6 +75,12 @@ version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + [[package]] name = "bitflags" version = "2.13.2" @@ -57,6 +96,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-padding" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" +dependencies = [ + "generic-array", +] + [[package]] name = "bumpalo" version = "3.20.3" @@ -69,6 +117,15 @@ version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" +[[package]] +name = "cbc" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" +dependencies = [ + "cipher", +] + [[package]] name = "cc" version = "1.5.1" @@ -85,6 +142,17 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" +[[package]] +name = "chacha20" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + [[package]] name = "chacha20" version = "0.10.2" @@ -92,10 +160,40 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.3.1", "rand_core 0.10.1", ] +[[package]] +name = "chacha20poly1305" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +dependencies = [ + "aead", + "chacha20 0.9.1", + "cipher", + "poly1305", + "zeroize", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", + "zeroize", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + [[package]] name = "convert_case" version = "0.12.0" @@ -105,6 +203,15 @@ dependencies = [ "unicode-segmentation", ] +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + [[package]] name = "cpufeatures" version = "0.3.1" @@ -130,6 +237,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array", + "rand_core 0.6.4", "typenum", ] @@ -139,6 +247,44 @@ version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d" +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "pem-rfc7468", + "zeroize", +] + [[package]] name = "deranged" version = "0.5.8" @@ -152,7 +298,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer", + "const-oid", "crypto-common", + "subtle", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core 0.6.4", + "serde", + "sha2", + "subtle", + "zeroize", ] [[package]] @@ -161,6 +334,18 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + [[package]] name = "find-msvc-tools" version = "0.1.14" @@ -178,6 +363,17 @@ dependencies = [ "zlib-rs", ] +[[package]] +name = "flume" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" +dependencies = [ + "futures-core", + "futures-sink", + "spin", +] + [[package]] name = "futures" version = "0.3.34" @@ -319,15 +515,40 @@ version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + [[package]] name = "idevice" version = "0.1.65" source = "git+https://github.com/jkcoxson/idevice?rev=a64b8867815b3da17b5c927531bdba877e8456ef#a64b8867815b3da17b5c927531bdba877e8456ef" dependencies = [ + "aes", "async-stream", "base64 0.22.1", + "cbc", + "chacha20poly1305", + "ed25519-dalek", "flate2", "futures", + "hkdf", + "hmac", + "idevice-srp", "indexmap", "jktcp", "libc", @@ -335,15 +556,44 @@ dependencies = [ "plist", "plist-macro", "rand 0.10.3", + "rsa", "rustls", "serde", "serde_json", + "sha1", + "sha2", + "siphasher", "thiserror", "tokio", "tokio-rustls", "tracing", "uuid", "web-time", + "x25519-dalek", +] + +[[package]] +name = "idevice-srp" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d84c9637ebbdfa523f352b62c8cf791288b3fbf59f6eac6c57c7c9949f5924b2" +dependencies = [ + "base64 0.21.7", + "digest", + "generic-array", + "lazy_static", + "num-bigint", + "subtle", +] + +[[package]] +name = "if-addrs" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0a05c691e1fae256cf7013d99dad472dc52d5543322761f83ec8d47eab40d2b" +dependencies = [ + "libc", + "windows-sys 0.61.2", ] [[package]] @@ -358,6 +608,16 @@ dependencies = [ "serde_core", ] +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "block-padding", + "generic-array", +] + [[package]] name = "itoa" version = "1.0.18" @@ -390,6 +650,15 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" +dependencies = [ + "spin", +] + [[package]] name = "libc" version = "0.2.189" @@ -406,6 +675,12 @@ dependencies = [ "windows-link", ] +[[package]] +name = "libm" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" + [[package]] name = "lock_api" version = "0.4.14" @@ -415,6 +690,12 @@ dependencies = [ "scopeguard", ] +[[package]] +name = "log" +version = "0.4.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c" + [[package]] name = "md-5" version = "0.10.6" @@ -425,6 +706,20 @@ dependencies = [ "digest", ] +[[package]] +name = "mdns-sd" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18148fee27e99e76dbf6e137f27727113d31f766e578d1b93a93c3615fca7081" +dependencies = [ + "fastrand", + "flume", + "if-addrs", + "mio", + "socket-pktinfo", + "socket2", +] + [[package]] name = "memchr" version = "2.8.3" @@ -448,6 +743,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b18443e9c262bfe8fa82f51666e2642c53393f7e5c27b3e1aeab922cff5b9d8" dependencies = [ "libc", + "log", "wasi", "windows-sys 0.61.2", ] @@ -458,6 +754,7 @@ version = "0.1.0" dependencies = [ "flate2", "idevice", + "mdns-sd", "mobile-dev-telemetry", "napi", "napi-build", @@ -561,18 +858,79 @@ dependencies = [ "thiserror", ] +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-bigint-dig" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7" +dependencies = [ + "lazy_static", + "libm", + "num-integer", + "num-iter", + "num-traits", + "rand 0.8.8", + "smallvec", + "zeroize", +] + [[package]] name = "num-conv" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + [[package]] name = "once_cell" version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + [[package]] name = "parking_lot" version = "0.12.5" @@ -596,6 +954,15 @@ dependencies = [ "windows-link", ] +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + [[package]] name = "pin-project-lite" version = "0.2.17" @@ -608,6 +975,27 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13bee6c73da26345c729282832b60b0363cf3dd9f4bfd81d8551b7a1c889a113" +[[package]] +name = "pkcs1" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" +dependencies = [ + "der", + "pkcs8", + "spki", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + [[package]] name = "plist" version = "1.10.1" @@ -630,6 +1018,17 @@ dependencies = [ "plist", ] +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -684,13 +1083,23 @@ version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + [[package]] name = "rand" version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" dependencies = [ - "rand_chacha", + "rand_chacha 0.9.0", "rand_core 0.9.5", ] @@ -700,11 +1109,21 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" dependencies = [ - "chacha20", + "chacha20 0.10.2", "getrandom 0.4.3", "rand_core 0.10.1", ] +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + [[package]] name = "rand_chacha" version = "0.9.0" @@ -715,6 +1134,15 @@ dependencies = [ "rand_core 0.9.5", ] +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + [[package]] name = "rand_core" version = "0.9.5" @@ -753,12 +1181,42 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "rsa" +version = "0.9.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8573f03f5883dcaebdfcf4725caa1ecb9c15b2ef50c43a07b816e06799bb12d" +dependencies = [ + "const-oid", + "digest", + "num-bigint-dig", + "num-integer", + "num-traits", + "pkcs1", + "pkcs8", + "rand_core 0.6.4", + "sha2", + "signature", + "spki", + "subtle", + "zeroize", +] + [[package]] name = "rustc-hash" version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + [[package]] name = "rustls" version = "0.23.45" @@ -854,18 +1312,56 @@ dependencies = [ "zmij", ] +[[package]] +name = "sha1" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest", +] + [[package]] name = "shlex" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest", + "rand_core 0.6.4", +] + [[package]] name = "simd-adler32" version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" +[[package]] +name = "siphasher" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" + [[package]] name = "slab" version = "0.4.12" @@ -878,6 +1374,17 @@ version = "1.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e" +[[package]] +name = "socket-pktinfo" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "927136cc2ae6a1b0e66ac6b1210902b75c3f726db004a73bc18686dcd0dcd22f" +dependencies = [ + "libc", + "socket2", + "windows-sys 0.60.2", +] + [[package]] name = "socket2" version = "0.6.5" @@ -888,6 +1395,25 @@ dependencies = [ "windows-sys 0.61.2", ] +[[package]] +name = "spin" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" +dependencies = [ + "lock_api", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + [[package]] name = "subtle" version = "2.6.1" @@ -1051,6 +1577,16 @@ version = "1.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common", + "subtle", +] + [[package]] name = "untrusted" version = "0.9.0" @@ -1182,7 +1718,16 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", ] [[package]] @@ -1200,14 +1745,31 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm 0.52.6", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", ] [[package]] @@ -1216,54 +1778,114 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + [[package]] name = "wit-bindgen" version = "0.57.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" +[[package]] +name = "x25519-dalek" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +dependencies = [ + "curve25519-dalek", + "rand_core 0.6.4", + "serde", + "zeroize", +] + [[package]] name = "zerocopy" version = "0.8.59" @@ -1289,6 +1911,20 @@ name = "zeroize" version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] [[package]] name = "zlib-rs" diff --git a/packages/native/ios-mirror/Cargo.toml b/packages/native/ios-mirror/Cargo.toml index 9c30ad0bb..d0fc1935a 100644 --- a/packages/native/ios-mirror/Cargo.toml +++ b/packages/native/ios-mirror/Cargo.toml @@ -9,11 +9,12 @@ crate-type = ["cdylib"] [dependencies] mobile-dev-telemetry = { path = "../telemetry" } -idevice = { git = "https://github.com/jkcoxson/idevice", rev = "a64b8867815b3da17b5c927531bdba877e8456ef", default-features = false, features = ["ring", "usbmuxd", "core_device_proxy", "tunnel_tcp_stack", "display_stream"] } +idevice = { git = "https://github.com/jkcoxson/idevice", rev = "a64b8867815b3da17b5c927531bdba877e8456ef", default-features = false, features = ["ring", "usbmuxd", "core_device_proxy", "tunnel_tcp_stack", "display_stream", "remote_pairing"] } napi = { version = "3", default-features = false, features = ["napi8", "tokio_rt"] } napi-derive = "3" plist = "1.8" -tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros", "time"] } +tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros", "time", "net"] } +mdns-sd = { version = "0.19", default-features = false, features = ["async"] } uuid = { version = "1", features = ["v4"] } flate2 = "1" thiserror = "2" diff --git a/packages/native/ios-mirror/README.md b/packages/native/ios-mirror/README.md index 9fcec901c..84bd7dd9a 100644 --- a/packages/native/ios-mirror/README.md +++ b/packages/native/ios-mirror/README.md @@ -19,3 +19,16 @@ The live development check used an iPhone 17 Pro on iOS 27 over Wi-Fi. The displ Pointer input opens CoreDevice UniversalHID on the same developer tunnel after media negotiation. It discovers the touchscreen surface and serializes normalized down/move/release reports. The panel sends bounded batches through `mobile_ios_mirror_input`, carrying the video generation; stale generations and overlapping writes are rejected. Held contacts are released on stream reset, video discontinuity, overflow, and teardown. Keyboard and hardware-button input are not implemented. Display-service rejections retain CoreDevice's localized error description through native startup and MCP. An active phone or VoIP call prevents mirroring; the panel shows the device's reason in its Screen unavailable state and retries automatically. + +## Apple TV (tvOS) + +**Opt-in and unverified.** Physical Apple TV support is hidden unless `MOBILE_DEV_PHYSICAL_APPLE_TV=1` is set; it has not run on real hardware and nothing creates the pairing record yet. tvOS simulators are unaffected. + +`openDevice(udid, { appleOs: "tvos" })` mirrors a physical Apple TV through the same displayservice HEVC path. **None of this has run against an Apple TV**; the code was built from idevice's source and its `pair_apple_tv` and `rppairing` tools. Each hardware assumption below is a place a first real device may differ. + +- **Tunnel.** An Apple TV is never on usbmuxd. The addon reads a RemotePairing record (`.plist` in `~/Library/Application Support/mobile-dev/tvos-pairing`, or `MOBILE_DEV_TVOS_PAIRING_DIR`), browses Bonjour `_remotepairing._tcp`, pair-verifies, asks for a TLS-PSK tunnel listener and runs the same software TCP stack as the iPhone path. It verifies an existing pairing and never pairs: with no record it fails with a "needs pairing" message. Nothing yet creates that record (idevice's PIN flow needs a prompt this panel does not have). +- **Discovery.** The Apple TV advertises `_remotepairing._tcp` with an `identifier` TXT equal to its UDID, or is the only one advertising. IPv4 is preferred; link-local IPv6 is skipped. No advertisement is reported as asleep. +- **No touch.** The Apple TV registers no touchscreen, so UniversalHID is never opened and `touch` is rejected. Input goes through agent-device remote presses. +- **Display service.** The same `com.apple.coredevice.displayservice` accepts the same offer and `displayId` 1. `clientSupportedFeatures` stays 140. +- **4K and HDR.** The stream can be 3840x2160 Main10 (`hvc1.2.4…`); `hvcC` declares the SPS's bit depth, the frame queue allows 16 MiB for an Apple TV (4 MiB for a phone), and the panel's decoder takes no hardware preference for 10-bit. HDR is drawn to the canvas as SDR; no colour-space or transfer metadata is read. A rejected offer is retried once with a quarter-sized bandwidth ladder, assuming that is what makes the encoder answer with a smaller or SDR stream. +- **Fallback.** A display-service or negotiation rejection is tagged `display-rejected:`. The panel then polls agent-device screenshots every two seconds or more, for at most ten minutes, with a notice. A tunnel, pairing or asleep failure never falls back. diff --git a/packages/native/ios-mirror/src/addon.rs b/packages/native/ios-mirror/src/addon.rs index e1d6fbfc3..3a00e9c67 100644 --- a/packages/native/ios-mirror/src/addon.rs +++ b/packages/native/ios-mirror/src/addon.rs @@ -1,4 +1,4 @@ -use crate::{codec, control, input::{TouchClient, TouchSample}, media, queue::{Queue, Frame}}; +use crate::{codec, control, input::{TouchClient, TouchSample}, media, platform::{self, AppleOs, Offer, Stage, TOUCH_UNSUPPORTED}, queue::{Queue, Frame}, tvos}; use std::{future::Future, sync::{Arc, Mutex}, time::{Duration, Instant}}; @@ -8,7 +8,7 @@ async fn setup(deadline: tokio::time::Instant, operatio } use idevice::{IdeviceError, IdeviceService, core_device::{build_start_audio_parameters, build_start_video_parameters}, core_device_proxy::CoreDeviceProxy, usbmuxd::{Connection, UsbmuxdAddr, UsbmuxdDevice}, rsd::RsdHandshake}; -use media::{hevc::{HevcAccessUnitAssembler, HevcDepacketizerEvent}, negotiation::{CallInfoBlob, build_screen_audio_offer, build_screen_video_offer, parse_screen_video_answer}, rtcp, rtp::RtpPacket}; +use media::{hevc::{HevcAccessUnitAssembler, HevcDepacketizerEvent}, negotiation::{CallInfoBlob, build_reduced_screen_video_offer, build_screen_audio_offer, build_screen_video_offer, parse_screen_video_answer}, rtcp, rtp::RtpPacket}; use napi::{bindgen_prelude::Buffer, Error, Result}; use napi_derive::napi; use tokio::sync::{Notify, mpsc}; @@ -71,6 +71,18 @@ pub struct VideoConfiguration { pub height: u32, pub codec: String, pub description: Buffer, + /// 8 for SDR, 10 for the Main10 stream of a 4K HDR output. + pub bit_depth: u32, + /// A bounded resolution and depth label such as `uhd-10bit`, for telemetry and the panel. + pub stream_class: String, +} + +#[napi(object)] +pub struct OpenOptions { + /// `ios` (default) or `tvos`. An Apple TV is reached through network pairing, never usbmuxd. + pub apple_os: Option, + /// Directory holding the Apple TV's RemotePairing record; defaults to the plugin's own. + pub pairing_directory: Option, } #[napi(object)] @@ -90,6 +102,7 @@ pub struct VideoBatch { #[napi] pub struct Capture { + os: AppleOs, shared: Arc, commands: mpsc::UnboundedSender, } @@ -112,6 +125,7 @@ impl Capture { queue.configuration.as_ref().map(|value| VideoConfiguration { revision: value.revision as f64, width: value.width, height: value.height, codec: value.codec.clone(), description: value.description.clone().into(), + bit_depth: u32::from(value.bit_depth), stream_class: value.stream_class().to_owned(), }) } else { None }; let frames = queue.frames.drain(..).map(|frame| VideoFrame { @@ -126,6 +140,7 @@ impl Capture { #[napi] pub async fn touch(&self, samples: Vec, generation: u32) -> Result<()> { + if self.os.has_touchscreen() == false { return Err(Error::from_reason(TOUCH_UNSUPPORTED)); } let _timing = mobile_dev_telemetry::Timer::start(mobile_dev_telemetry::Timing::Input); if samples.is_empty() || samples.len() > 64 { return Err(Error::from_reason("Send between one and 64 physical iOS touch samples.")); } let (reply, received) = tokio::sync::oneshot::channel(); @@ -152,22 +167,25 @@ impl Drop for Capture { } #[napi] -pub async fn open_device(udid: String) -> Result { +pub async fn open_device(udid: String, options: Option) -> Result { let _timing = mobile_dev_telemetry::Timer::start(mobile_dev_telemetry::Timing::Connect); - let shared = Arc::new(Shared { queue: Mutex::new(Queue::default()), changed: Notify::new(), stopped: Notify::new() }); + let apple_os = options.as_ref().and_then(|options| options.apple_os.as_deref()); + let os = AppleOs::parse(apple_os).map_err(Error::from_reason)?; + let pairing_directory = options.and_then(|options| options.pairing_directory).map(std::path::PathBuf::from); + let shared = Arc::new(Shared { queue: Mutex::new(Queue::with_max_bytes(os.queue_bytes())), changed: Notify::new(), stopped: Notify::new() }); let (sender, receiver) = mpsc::unbounded_channel(); let (started, ready) = tokio::sync::oneshot::channel(); let worker_shared = shared.clone(); tokio::spawn(async move { let mut started = Some(started); - let result = run(&udid, &worker_shared, receiver, &mut started).await; + let result = run(&udid, os, pairing_directory, &worker_shared, receiver, &mut started).await; if let Err(error) = &result { if let Some(started) = started { let message = error.clone(); let response = Err(message); let _ = started.send(response); } - eprintln!("[mobile-dev:ios-mirror] capture_failed error={error}"); + eprintln!("[mobile-dev:ios-mirror] capture_failed os={} error={error}", os.label()); } let mut queue = worker_shared.queue.lock().unwrap(); queue.error = result.err(); @@ -180,7 +198,7 @@ pub async fn open_device(udid: String) -> Result { }); let startup = tokio::time::timeout(Duration::from_secs(30), ready).await; match startup { - Ok(Ok(Ok(()))) => Ok(Capture { shared, commands: sender }), + Ok(Ok(Ok(()))) => Ok(Capture { os, shared, commands: sender }), Ok(Ok(Err(message))) => Err(Error::from_reason(message)), Ok(Err(_)) => { let error = Error::from_reason("The physical device capture worker stopped during setup."); @@ -190,6 +208,8 @@ pub async fn open_device(udid: String) -> Result { } } +fn device_noun(os: AppleOs) -> &'static str { match os { AppleOs::Ios => "iPhone", AppleOs::Tvos => "Apple TV" } } + fn connection_id(response: &plist::Value) -> std::result::Result { response.as_dictionary().and_then(|d| d.get("connection")).and_then(plist::Value::as_dictionary) .and_then(|d| d.get("streamConfig")).and_then(plist::Value::as_dictionary) @@ -198,19 +218,34 @@ fn connection_id(response: &plist::Value) -> std::result::Result { .ok_or_else(|| "The device returned no stream identity.".into()) } -async fn run(udid: &str, shared: &Shared, mut commands: mpsc::UnboundedReceiver, started: &mut Option>>) -> std::result::Result<(), String> { +async fn run(udid: &str, os: AppleOs, pairing_directory: Option, shared: &Shared, mut commands: mpsc::UnboundedReceiver, started: &mut Option>>) -> std::result::Result<(), String> { let deadline = tokio::time::Instant::now() + Duration::from_secs(25); - let path = UsbmuxdAddr::SOCKET_FILE.into(); - let address = UsbmuxdAddr::UnixSocket(path); - let discovery = connected_devices(&address); - let devices = setup(deadline, discovery).await?; - let device = devices.iter().filter(|device| device.udid == udid).min_by_key(|device| if device.connection_type == Connection::Usb { 0 } else { 1 }) - .ok_or("The iPhone is no longer connected. Check USB or Wi-Fi pairing in Xcode.")?; - let provider = device.to_provider(address, "mobile-dev"); - let connect = CoreDeviceProxy::connect(&provider); - let proxy = setup(deadline, connect).await?; - let rsd_port = proxy.tunnel_info().server_rsd_port; - let adapter = proxy.create_software_tunnel().map_err(|e| format!("Could not create the developer tunnel: {e}"))?; + // Holds the Apple TV's pairing connection open for as long as the tunnel runs. + let mut _pairing: Option> = None; + let (adapter, rsd_port) = match os { + AppleOs::Ios => { + let path = UsbmuxdAddr::SOCKET_FILE.into(); + let address = UsbmuxdAddr::UnixSocket(path); + let discovery = connected_devices(&address); + let devices = setup(deadline, discovery).await?; + let device = devices.iter().filter(|device| device.udid == udid).min_by_key(|device| if device.connection_type == Connection::Usb { 0 } else { 1 }) + .ok_or("The iPhone is no longer connected. Check USB or Wi-Fi pairing in Xcode.")?; + let provider = device.to_provider(address, "mobile-dev"); + let connect = CoreDeviceProxy::connect(&provider); + let proxy = setup(deadline, connect).await?; + let rsd_port = proxy.tunnel_info().server_rsd_port; + let adapter = proxy.create_software_tunnel().map_err(|e| format!("Could not create the developer tunnel: {e}"))?; + (adapter, rsd_port) + } + AppleOs::Tvos => { + // An Apple TV is never on usbmuxd: its tunnel comes from network (RemotePairing) pairing. + let tunnel = tvos::connect(udid, pairing_directory, deadline).await.map_err(|(stage, message)| platform::tag_failure(os, stage, message))?; + let tvos::Tunnel { adapter, rsd_port, pairing } = tunnel; + _pairing = Some(Box::new(pairing)); + eprintln!("[mobile-dev:ios-mirror] tunnel_ready os={}", os.label()); + (adapter, rsd_port) + } + }; let mut adapter = adapter.to_async_handle(); let mut ids = Vec::with_capacity(2); let result = async { @@ -218,11 +253,12 @@ async fn run(udid: &str, shared: &Shared, mut commands: mpsc::UnboundedReceiver< let stream = setup(deadline, connect).await?; let discover = RsdHandshake::new(stream); let handshake = setup(deadline, discover).await?; - let port = handshake.services.get("com.apple.coredevice.displayservice").ok_or("The iPhone does not expose its display service. Enable Developer Mode.")?.port; + let display = |message: String| platform::tag_failure(os, Stage::Display, message); + let port = handshake.services.get("com.apple.coredevice.displayservice").ok_or_else(|| display(format!("The {} does not expose its display service. Enable Developer Mode.", device_noun(os))))?.port; let connect = adapter.connect(port); - let stream = setup(deadline, connect).await?; + let stream = setup(deadline, connect).await.map_err(display)?; let connect = control::Control::new(stream); - let mut control = setup(deadline, connect).await?; + let mut control = setup(deadline, connect).await.map_err(display)?; let bind = adapter.bind_udp(0); let audio = setup(deadline, bind).await?; let bind = adapter.bind_udp(0); @@ -238,24 +274,44 @@ async fn run(udid: &str, shared: &Shared, mut commands: mpsc::UnboundedReceiver< let offer = build_screen_audio_offer(&call_id, &call_info).map_err(|e| e.to_string())?; let params = build_start_audio_parameters(&receiver_ip, audio.local_port(), &sender_ip, 50000, offer, 140, session); let start = control.invoke("com.apple.coredevice.feature.startmediastream", params, None); - let answer = setup(deadline, start).await?; + let negotiation = |message: String| platform::tag_failure(os, Stage::Negotiation, message); + let answer = setup(deadline, start).await.map_err(negotiation)?; ids.push(connection_id(&answer)?); - let call_id = Uuid::new_v4().to_string().to_uppercase(); - let offer = build_screen_video_offer(&call_id, &call_info, our_ssrc).map_err(|e| e.to_string())?; - let params = build_start_video_parameters(&receiver_ip, video.local_port(), &sender_ip, 50001, offer, 140, 1, session); - let start = control.invoke("com.apple.coredevice.feature.startmediastream", params, None); - let answer = setup(deadline, start).await?; + // The full offer first. An Apple TV that rejects it (4K or HDR to this receiver) gets one + // reduced-bandwidth retry, so it can answer with an SDR or lower-resolution stream. + let mut accepted = None; + let mut rejection = String::new(); + for kind in platform::offers(os) { + let call_id = Uuid::new_v4().to_string().to_uppercase(); + let built = match kind { + Offer::Full => build_screen_video_offer(&call_id, &call_info, our_ssrc), + Offer::Reduced => build_reduced_screen_video_offer(&call_id, &call_info, our_ssrc), + }; + let offer = built.map_err(|e| e.to_string())?; + let params = build_start_video_parameters(&receiver_ip, video.local_port(), &sender_ip, 50001, offer, 140, 1, session); + let start = control.invoke("com.apple.coredevice.feature.startmediastream", params, None); + match setup(deadline, start).await { + Ok(value) => { eprintln!("[mobile-dev:ios-mirror] video_offer_accepted os={} offer={kind:?}", os.label()); accepted = Some(value); break; } + Err(error) => { eprintln!("[mobile-dev:ios-mirror] video_offer_rejected os={} offer={kind:?} error={error}", os.label()); rejection = error; } + } + } + let answer = accepted.ok_or_else(|| negotiation(rejection))?; ids.push(connection_id(&answer)?); let feedback_port = control::sender_port(&answer)?; let answer = answer.as_dictionary().and_then(|d| d.get("negotiatorAnswer")).and_then(plist::Value::as_data).ok_or("No HEVC negotiation answer.")?; let identity = parse_screen_video_answer(answer).map_err(|e| e.to_string())?; - let hid_port = handshake.services.get("com.apple.coredevice.hid.universalhidservice") - .ok_or("The iPhone does not expose its touch-input service. Prepare it with Xcode 27 and enable Developer Mode.")?.port; - let connect = adapter.connect(hid_port); - let stream = setup(deadline, connect).await?; - let connect = TouchClient::connect(stream); - input = Some(setup(deadline, connect).await?); - eprintln!("[mobile-dev:ios-mirror] capture_started receiver_ssrc={our_ssrc} media_ssrc={} feedback_port={feedback_port}", identity.ssrc); + if os.has_touchscreen() { + let hid_port = handshake.services.get("com.apple.coredevice.hid.universalhidservice") + .ok_or("The iPhone does not expose its touch-input service. Prepare it with Xcode 27 and enable Developer Mode.")?.port; + let connect = adapter.connect(hid_port); + let stream = setup(deadline, connect).await?; + let connect = TouchClient::connect(stream, os); + input = setup(deadline, connect).await?; + } else { + // An Apple TV has no touchscreen: input arrives as remote presses through agent-device. + eprintln!("[mobile-dev:ios-mirror] touch_skipped os={}", os.label()); + } + eprintln!("[mobile-dev:ios-mirror] capture_started os={} receiver_ssrc={our_ssrc} media_ssrc={} feedback_port={feedback_port}", os.label(), identity.ssrc); let mut assembler = HevcAccessUnitAssembler::new(identity.payload_type, identity.ssrc); let mut interval = tokio::time::interval(Duration::from_millis(500)); let mut last_key = Instant::now() - Duration::from_secs(1); @@ -364,7 +420,10 @@ async fn run(udid: &str, shared: &Shared, mut commands: mpsc::UnboundedReceiver< let parameters = assembler.parameter_sets().ok_or("Missing HEVC configuration.")?; Some(codec::configuration(parameters)?) } else { None }; - if let Some(configuration) = &configuration { configuration_revision = configuration.revision; } + if let Some(configuration) = &configuration { + configuration_revision = configuration.revision; + eprintln!("[mobile-dev:ios-mirror] stream_configured os={} class={} width={} height={} bit_depth={}", os.label(), configuration.stream_class(), configuration.width, configuration.height, configuration.bit_depth); + } let first = *first_timestamp.get_or_insert(unit.rtp_timestamp); let timestamp = f64::from(unit.rtp_timestamp.wrapping_sub(first)) * (1_000_000.0 / 90_000.0); let frame = Frame { bytes: unit.bytes, timestamp, key: unit.is_sync }; diff --git a/packages/native/ios-mirror/src/codec.rs b/packages/native/ios-mirror/src/codec.rs index afa7802c3..a6cfcee96 100644 --- a/packages/native/ios-mirror/src/codec.rs +++ b/packages/native/ios-mirror/src/codec.rs @@ -1,4 +1,4 @@ -use crate::media::hevc::HevcParameterSets; +use crate::media::hevc::{HevcParameterSets, sps_format}; pub struct Configuration { pub revision: u64, @@ -6,6 +6,20 @@ pub struct Configuration { pub height: u32, pub codec: String, pub description: Vec, + /// Luma bit depth: 8 for SDR, 10 for the Main10 stream a 4K HDR Apple TV output produces. + pub bit_depth: u8, +} + +impl Configuration { + /// A bounded label for telemetry and the panel: resolution tier and sample depth. + pub fn stream_class(&self) -> &'static str { + let tier = if self.width >= 3000 || self.height >= 2000 { "uhd" } else if self.width >= 1900 || self.height >= 1000 { "hd" } else { "sd" }; + match (tier, self.bit_depth > 8) { + ("uhd", true) => "uhd-10bit", ("uhd", false) => "uhd-8bit", + ("hd", true) => "hd-10bit", ("hd", false) => "hd-8bit", + (_, true) => "sd-10bit", (_, false) => "sd-8bit", + } + } } pub fn configuration(parameters: HevcParameterSets) -> Result { @@ -25,9 +39,13 @@ pub fn configuration(parameters: HevcParameterSets) -> Result(); let codec = format!("hvc1.{space}{}.{compatibility:X}.{tier}{}{constraint_string}", profile & 31, rbsp[12]); + // A truncated SPS reports 8-bit; Main10 and RExt profiles carry their depth in the SPS. + let format = sps_format(¶meters.sequence_parameter_set).map_err(|_| "Invalid HEVC sample format.".to_string())?; + let depth = format.bit_depth_luma.max(format.bit_depth_chroma); + if depth > 10 || format.chroma_format_idc != 1 { return Err(format!("Unsupported HEVC sample format: {depth}-bit, chroma format {}.", format.chroma_format_idc)); } let mut description = vec![1]; description.extend_from_slice(&rbsp[1..13]); - description.extend_from_slice(&[0xf0, 0, 0xfc, 0xfd, 0xf8, 0xf8, 0, 0, 0x0f, 3]); + description.extend_from_slice(&[0xf0, 0, 0xfc, 0xfc | format.chroma_format_idc, 0xf8 | (format.bit_depth_luma - 8), 0xf8 | (format.bit_depth_chroma - 8), 0, 0, 0x0f, 3]); for (nal_type, bytes) in [(32, parameters.video_parameter_set), (33, parameters.sequence_parameter_set), (34, parameters.picture_parameter_set)] { let length = u16::try_from(bytes.len()).map_err(|_| "HEVC parameter set exceeds the supported size.")?; description.push(0x80 | nal_type); @@ -35,5 +53,86 @@ pub fn configuration(parameters: HevcParameterSets) -> Result, used: u8 } + impl Bits { + fn new() -> Self { Self { bytes: Vec::new(), used: 8 } } + fn bit(&mut self, value: bool) { + if self.used == 8 { self.bytes.push(0); self.used = 0; } + if value { *self.bytes.last_mut().unwrap() |= 0x80 >> self.used; } + self.used += 1; + } + fn bits(&mut self, value: u64, count: u32) { for shift in (0..count).rev() { self.bit(value >> shift & 1 == 1); } } + fn ue(&mut self, value: u32) { + let coded = u64::from(value) + 1; + let length = 64 - coded.leading_zeros(); + self.bits(0, length - 1); + self.bits(coded, length); + } + fn finish(mut self) -> Vec { self.bit(true); while self.used != 8 { self.bit(false); } self.bytes } + } + + // A 4:2:0 SPS of the given size and bit depth, with emulation prevention applied. + fn sps(profile: u64, width: u32, height: u32, depth_minus8: u32) -> Vec { + let mut bits = Bits::new(); + bits.bits(0, 4); bits.bits(0, 3); bits.bit(true); + bits.bits(0, 2); bits.bit(false); bits.bits(profile, 5); + bits.bits(1 << (31 - profile), 32); + bits.bits(0b1001, 4); bits.bits(0, 43); bits.bit(false); + bits.bits(153, 8); + bits.ue(0); bits.ue(1); bits.ue(width); bits.ue(height); + bits.bit(false); + bits.ue(depth_minus8); bits.ue(depth_minus8); + let rbsp = bits.finish(); + let mut nal = vec![0x42, 0x01]; + let mut zeroes = 0; + for byte in rbsp { + if zeroes >= 2 && byte <= 3 { nal.push(3); zeroes = 0; } + nal.push(byte); + zeroes = if byte == 0 { zeroes + 1 } else { 0 }; + } + nal + } + + fn parameters(sps: Vec, width: u32, height: u32) -> HevcParameterSets { + HevcParameterSets { revision: 1, pixel_width: width, pixel_height: height, video_parameter_set: vec![0x40, 1, 0xaa], sequence_parameter_set: sps, picture_parameter_set: vec![0x44, 1, 0xbb] } + } + + #[test] + fn a_4k_main10_stream_declares_its_bit_depth_to_the_decoder() { + let configuration = configuration(parameters(sps(2, 3840, 2160, 2), 3840, 2160)).unwrap(); + assert_eq!(configuration.bit_depth, 10); + assert!(configuration.codec.starts_with("hvc1.2.4.L153"), "{}", configuration.codec); + assert_eq!(&configuration.description[13..19], &[0xf0, 0, 0xfc, 0xfd, 0xfa, 0xfa]); + assert_eq!(configuration.stream_class(), "uhd-10bit"); + } + + #[test] + fn an_sdr_stream_keeps_its_eight_bit_description() { + let configuration = configuration(parameters(sps(1, 1920, 1080, 0), 1920, 1080)).unwrap(); + assert_eq!(configuration.bit_depth, 8); + assert!(configuration.codec.starts_with("hvc1.1.2.L153"), "{}", configuration.codec); + assert_eq!(&configuration.description[13..19], &[0xf0, 0, 0xfc, 0xfd, 0xf8, 0xf8]); + assert_eq!(configuration.stream_class(), "hd-8bit"); + } + + #[test] + fn unsupported_sample_formats_fail_explicitly() { + assert!(configuration(parameters(sps(4, 1920, 1080, 4), 1920, 1080)).is_err()); + } + + #[test] + fn labels_resolution_and_depth_with_a_bounded_set() { + let make = |width, height, bit_depth| Configuration { revision: 1, width, height, codec: String::new(), description: vec![], bit_depth }; + assert_eq!(make(3840, 2160, 10).stream_class(), "uhd-10bit"); + assert_eq!(make(3840, 2160, 8).stream_class(), "uhd-8bit"); + assert_eq!(make(1920, 1080, 8).stream_class(), "hd-8bit"); + assert_eq!(make(1280, 720, 10).stream_class(), "sd-10bit"); + } } diff --git a/packages/native/ios-mirror/src/input.rs b/packages/native/ios-mirror/src/input.rs index 9fab2aa2c..536a2b6bb 100644 --- a/packages/native/ios-mirror/src/input.rs +++ b/packages/native/ios-mirror/src/input.rs @@ -2,6 +2,7 @@ use idevice::{ReadWrite, RemoteXpcClient, core_device::hid::{ UniversalHidServiceClient, build_touchscreen_report, TOUCHSCREEN_STATE_CONTACT, TOUCHSCREEN_STATE_RELEASE, }}; +use crate::platform::{AppleOs, Surface, select_touchscreen}; use std::time::{Duration, Instant}; #[cfg_attr(not(test), napi_derive::napi(object))] @@ -53,23 +54,25 @@ pub struct TouchClient { } impl TouchClient { - pub async fn connect(stream: R) -> Result { + /// Opens the touchscreen on an iPhone. An Apple TV has none, so it yields `None` and the mirror runs + /// without touch input instead of failing. + pub async fn connect(stream: R, os: AppleOs) -> Result, String> { let result = RemoteXpcClient::new(stream).await; let mut remote = result.map_err(|error| error.to_string())?; let handshake = remote.do_handshake().await; handshake.map_err(|error| error.to_string())?; let mut hid = UniversalHidServiceClient::new(remote); let result = hid.list_connected_services().await; - let surfaces = result.map_err(|error| error.to_string())?; - let mut touchscreens = surfaces.iter().filter(|surface| { - surface.primary_usage_page == Some(0x0d) && surface.primary_usage == Some(4) && surface.service_id > 0 - }); - let surface = touchscreens.next(); - let touchscreen = surface.ok_or("The iPhone did not register a touchscreen input surface.")?; - let service_id = touchscreen.service_id; - if touchscreens.next().is_some() { return Err("The iPhone registered more than one touchscreen input surface.".into()); } + let listed = result.map_err(|error| error.to_string())?; + let surfaces: Vec = listed.iter().map(|surface| Surface { + usage_page: surface.primary_usage_page, usage: surface.primary_usage, service_id: surface.service_id, + }).collect(); + let Some(service_id) = select_touchscreen(os, &surfaces)? else { + eprintln!("[mobile-dev:ios-mirror] touch_unavailable os={}", os.label()); + return Ok(None); + }; eprintln!("[mobile-dev:ios-mirror] touch_ready service_id={service_id}"); - Ok(Self { hid, service_id, state: TouchState::default(), origin: Instant::now(), timestamp: 0 }) + Ok(Some(Self { hid, service_id, state: TouchState::default(), origin: Instant::now(), timestamp: 0 })) } async fn write(&mut self, point: Point, state: u8) -> Result<(), String> { diff --git a/packages/native/ios-mirror/src/lib.rs b/packages/native/ios-mirror/src/lib.rs index 852bf0045..8183299db 100644 --- a/packages/native/ios-mirror/src/lib.rs +++ b/packages/native/ios-mirror/src/lib.rs @@ -3,7 +3,9 @@ mod control; mod input; #[allow(dead_code)] mod media; +mod platform; mod queue; +mod tvos; pub use idevice::{IdeviceError, core_device::CoreDeviceError}; #[cfg(not(test))] mod addon; diff --git a/packages/native/ios-mirror/src/media/hevc.rs b/packages/native/ios-mirror/src/media/hevc.rs index 6b06db02b..6f8f54514 100644 --- a/packages/native/ios-mirror/src/media/hevc.rs +++ b/packages/native/ios-mirror/src/media/hevc.rs @@ -536,6 +536,36 @@ fn skip_profile_tier_level( /// is range-checked, and malformed EBSP, Exp-Golomb overflow, invalid chroma /// formats, impossible sub-layer counts, or over-cropping are rejected. fn parse_sps_dimensions(sps: &[u8]) -> Result<(u32, u32), HevcDiscontinuity> { + let info = parse_sps(sps)?; + Ok((info.pixel_width, info.pixel_height)) +} + +/// Sample format of a committed SPS: the chroma format and luma/chroma bit depths a decoder +/// must be configured for. A 10-bit (Main10) stream, which an HDR Apple TV output produces, +/// needs a different decoder configuration from an 8-bit one. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct SpsFormat { + pub chroma_format_idc: u8, + pub bit_depth_luma: u8, + pub bit_depth_chroma: u8, +} + +/// Reads the sample format from an SPS. A fixture that ends before the bit-depth fields +/// reports the 8-bit default rather than failing, because the fields are optional context. +pub fn sps_format(sps: &[u8]) -> Result { + let info = parse_sps(sps)?; + Ok(SpsFormat { chroma_format_idc: info.chroma_format_idc, bit_depth_luma: info.bit_depth_luma, bit_depth_chroma: info.bit_depth_chroma }) +} + +struct SpsInfo { + pixel_width: u32, + pixel_height: u32, + chroma_format_idc: u8, + bit_depth_luma: u8, + bit_depth_chroma: u8, +} + +fn parse_sps(sps: &[u8]) -> Result { if sps.len() > MAX_PARAMETER_SET_SIZE { return Err(HevcDiscontinuity::ParameterSetTooLarge); } @@ -621,7 +651,11 @@ fn parse_sps_dimensions(sps: &[u8]) -> Result<(u32, u32), HevcDiscontinuity> { .checked_sub(vertical_crop) .filter(|height| *height > 0) .ok_or(HevcDiscontinuity::MalformedPayload)?; - Ok((pixel_width, pixel_height)) + // Bit depths follow the conformance window. They are 0..=8 extra bits in a valid stream. + let depth = |bits: &mut BitReader| bits.read_ue().ok().filter(|value| *value <= 8).map(|value| 8 + value as u8); + let bit_depth_luma = depth(&mut bits).unwrap_or(8); + let bit_depth_chroma = depth(&mut bits).unwrap_or(bit_depth_luma); + Ok(SpsInfo { pixel_width, pixel_height, chroma_format_idc: chroma_format_idc as u8, bit_depth_luma, bit_depth_chroma }) } #[derive(Debug, Default)] diff --git a/packages/native/ios-mirror/src/media/negotiation.rs b/packages/native/ios-mirror/src/media/negotiation.rs index 65736537e..b7a107107 100644 --- a/packages/native/ios-mirror/src/media/negotiation.rs +++ b/packages/native/ios-mirror/src/media/negotiation.rs @@ -157,10 +157,16 @@ impl CallInfoBlob { /// Build the CoreDevice screen-sharing media blob pub fn build_screen_media_blob(session_id: u32, ntp_time: u64) -> Vec { - build_screen_media_blob_with_fls(session_id, ntp_time, SCREEN_HEVC_FLS) + build_screen_media_blob_with_fls(session_id, ntp_time, SCREEN_HEVC_FLS, false) } -fn build_screen_media_blob_with_fls(session_id: u32, ntp_time: u64, hevc_fls: &str) -> Vec { +/// The screen blob with the bandwidth ladder capped to a quarter. An encoder that rejected the full +/// offer (4K or HDR to this receiver) can then answer with an SDR or lower-resolution stream. +pub fn build_reduced_screen_media_blob(session_id: u32, ntp_time: u64) -> Vec { + build_screen_media_blob_with_fls(session_id, ntp_time, SCREEN_HEVC_FLS, true) +} + +fn build_screen_media_blob_with_fls(session_id: u32, ntp_time: u64, hevc_fls: &str, reduced: bool) -> Vec { fn format_desc(e: &mut Encoder, variant: u64) { e.message_field(2, |m| { m.uint_field(1, 1); @@ -198,7 +204,7 @@ fn build_screen_media_blob_with_fls(session_id: u32, ntp_time: u64, hevc_fls: &s m.uint_field(8, 63); m.uint_field(12, 1); }); - write_blob_tail(&mut e, ntp_time); + write_blob_tail(&mut e, ntp_time, reduced); e.into_bytes() } @@ -215,15 +221,17 @@ pub fn build_audio_media_blob(session_id: u32, ntp_time: u64) -> Vec { m.uint_field(5, 0); m.uint_field(6, 0); }); - write_blob_tail(&mut e, ntp_time); + write_blob_tail(&mut e, ntp_time, false); e.into_bytes() } /// Write the fields shared by the audio and video screen blobs: the UserAgent /// (field 6), field 8, the bandwidth/parameter ladder (field 9, repeated), and /// the trailing scalars (13 = NTP, 14, 16, 18). -fn write_blob_tail(e: &mut Encoder, ntp_time: u64) { - fn param(e: &mut Encoder, id: u64, value: u64, flags: Option) { +fn write_blob_tail(e: &mut Encoder, ntp_time: u64, reduced: bool) { + fn param(e: &mut Encoder, id: u64, value: u64, flags: Option, reduced: bool) { + // Only the bandwidth entries (parameter 0) are capped; the other parameters describe features. + let value = if reduced && id == 0 { value / 4 } else { value }; e.message_field(9, |m| { m.uint_field(1, id); m.uint_field(2, value); @@ -234,16 +242,16 @@ fn write_blob_tail(e: &mut Encoder, ntp_time: u64) { } e.string_field(6, "Viceroy 1.7.0"); e.uint_field(8, 0); - param(e, 0, 20_000_000, Some(0x18000)); - param(e, 4074, 0, Some(0x4000)); - param(e, 0, 60_000_000, Some(0x40000)); - param(e, 0, 40_000_000, Some(0x3000)); - param(e, 16, 4100, None); - param(e, 0, 6_000_000, Some(0x20000)); - param(e, 4, 6500, None); - param(e, 0, 100_000_000, Some(0x100000)); - param(e, 1, 299, None); - param(e, 0, 75_000_000, Some(0x80000)); + param(e, 0, 20_000_000, Some(0x18000), reduced); + param(e, 4074, 0, Some(0x4000), reduced); + param(e, 0, 60_000_000, Some(0x40000), reduced); + param(e, 0, 40_000_000, Some(0x3000), reduced); + param(e, 16, 4100, None, reduced); + param(e, 0, 6_000_000, Some(0x20000), reduced); + param(e, 4, 6500, None, reduced); + param(e, 0, 100_000_000, Some(0x100000), reduced); + param(e, 1, 299, None, reduced); + param(e, 0, 75_000_000, Some(0x80000), reduced); e.uint_field(13, ntp_time); e.uint_field(14, 2); e.uint_field(16, 0); @@ -277,6 +285,16 @@ pub fn build_screen_video_offer( build_offer_plist(call_id, call_info, &blob, NEGOTIATOR_MODE_COREDEVICE_SCREEN) } +/// [`build_screen_video_offer`] with a reduced bandwidth ladder, for the retry after a rejection. +pub fn build_reduced_screen_video_offer( + call_id: &str, + call_info: &CallInfoBlob, + ssrc: u32, +) -> Result, IdeviceError> { + let blob = build_reduced_screen_media_blob(ssrc, ntp_now()); + build_offer_plist(call_id, call_info, &blob, NEGOTIATOR_MODE_COREDEVICE_SCREEN) +} + /// HEVC RTP identity declared by the device's legacy screen-answer blob. #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct ScreenVideoStream { @@ -988,6 +1006,27 @@ impl EncodeDecodeFeatures { } } +#[cfg(test)] +mod reduced_offer_tests { + use super::*; + + #[test] + fn the_reduced_blob_caps_only_the_bandwidth_ladder() { + let full = build_screen_media_blob(7, 1); + let reduced = build_reduced_screen_media_blob(7, 1); + assert_ne!(full, reduced); + assert_eq!(full.len() >= reduced.len(), true); + let decoded = MediaNegotiationBlob::decode(&reduced); + assert_eq!(decoded.stream_groups.len(), MediaNegotiationBlob::decode(&full).stream_groups.len()); + } + + #[test] + fn the_reduced_offer_builds_the_same_plist_envelope() { + let info = CallInfoBlob { call_id: 0, client_version: 1, device_type: "Mac".into(), framework_version: "1".into(), os_version: "1".into(), device_name: None, audio_device_uid: None }; + assert!(build_reduced_screen_video_offer("CALL", &info, 9).is_ok()); + } +} + #[cfg(test)] mod tests { use super::*; diff --git a/packages/native/ios-mirror/src/platform.rs b/packages/native/ios-mirror/src/platform.rs new file mode 100644 index 000000000..e282d7a1f --- /dev/null +++ b/packages/native/ios-mirror/src/platform.rs @@ -0,0 +1,197 @@ +//! Apple TV (tvOS) policy for the mirror. Everything here is pure so it can be tested without hardware. +//! +//! An Apple TV differs from an iPhone in four ways the capture session must respect: it is never +//! reached over usbmuxd (it pairs over the network with RemotePairing), it has no touchscreen so there +//! is no HID surface to claim, its HEVC stream can be 4K and 10-bit, and its display service may refuse +//! a screen stream altogether, in which case the host degrades to screenshots. + +use crate::queue::{MAX_BYTES, UHD_MAX_BYTES}; + +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum AppleOs { + Ios, + Tvos, +} + +impl AppleOs { + pub fn parse(value: Option<&str>) -> Result { + match value { + None | Some("") | Some("ios") => Ok(Self::Ios), + Some("tvos") => Ok(Self::Tvos), + Some(other) => Err(format!("Unsupported Apple OS family: {other}.")), + } + } + + pub fn label(self) -> &'static str { + match self { Self::Ios => "ios", Self::Tvos => "tvos" } + } + + pub fn has_touchscreen(self) -> bool { self == Self::Ios } + + /// Byte bound for the native frame queue. A 4K keyframe can pass the phone bound by itself. + pub fn queue_bytes(self) -> usize { + match self { Self::Ios => MAX_BYTES, Self::Tvos => UHD_MAX_BYTES } + } +} + +/// A HID surface the device registered, reduced to what selection needs. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub struct Surface { + pub usage_page: Option, + pub usage: Option, + pub service_id: u64, +} + +pub const TOUCHSCREEN_USAGE_PAGE: u64 = 0x0d; +pub const TOUCHSCREEN_USAGE: u64 = 4; + +/// Picks the touchscreen surface. An iPhone must have exactly one. An Apple TV has none, and that is +/// not an error: it returns `None` and the mirror runs without touch input. +pub fn select_touchscreen(os: AppleOs, surfaces: &[Surface]) -> Result, String> { + if !os.has_touchscreen() { return Ok(None); } + let mut touchscreens = surfaces.iter().filter(|surface| { + surface.usage_page == Some(TOUCHSCREEN_USAGE_PAGE) && surface.usage == Some(TOUCHSCREEN_USAGE) && surface.service_id > 0 + }); + let first = touchscreens.next().ok_or("The iPhone did not register a touchscreen input surface.")?; + if touchscreens.next().is_some() { return Err("The iPhone registered more than one touchscreen input surface.".into()); } + Ok(Some(first.service_id)) +} + +pub const TOUCH_UNSUPPORTED: &str = "An Apple TV has no touchscreen. Use remote presses instead of touch."; + +/// A Bonjour `_remotepairing._tcp` advertisement an Apple TV publishes while it is awake. +#[derive(Clone, Debug, PartialEq, Eq)] +pub struct Candidate { + pub host: String, + pub port: u16, + pub identifier: Option, +} + +fn compact(value: &str) -> String { value.replace('-', "").to_lowercase() } + +pub const ASLEEP: &str = "The Apple TV is asleep or off the network. Wake it with its remote and keep it on the home screen."; +pub const PAIRING_REQUIRED: &str = "This Mac has no network pairing for the Apple TV. Pair it for remote access first."; + +/// Chooses the advertisement for a device. An identifier equal to the UDID wins; otherwise a single +/// advertisement is accepted; no advertisement means the Apple TV is asleep; several unmatched ones +/// are refused rather than guessed. +pub fn select_endpoint<'a>(candidates: &'a [Candidate], udid: &str) -> Result<&'a Candidate, String> { + let wanted = compact(udid); + let exact = candidates.iter().find(|candidate| candidate.identifier.as_deref().map(compact).as_deref() == Some(wanted.as_str())); + if let Some(candidate) = exact { return Ok(candidate); } + match candidates { + [] => Err(ASLEEP.into()), + [only] => Ok(only), + _ => Err("Several Apple TVs are advertising on the network and none matches this device.".into()), + } +} + +/// The stage of startup that failed, so the host can decide whether a screenshot fallback applies. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Stage { + Discovery, + Pairing, + Tunnel, + Display, + Negotiation, +} + +/// Prefix the host reads to recognise a display-service rejection that is worth degrading for. +pub const DISPLAY_REJECTED: &str = "display-rejected:"; + +/// Only a tvOS display service that refuses or cannot negotiate a stream degrades to screenshots. A +/// sleeping or unpaired Apple TV has nothing to screenshot, and an iPhone keeps its explicit errors. +pub fn falls_back_to_screenshots(os: AppleOs, stage: Stage) -> bool { + os == AppleOs::Tvos && matches!(stage, Stage::Display | Stage::Negotiation) +} + +/// Marks a startup error so the host can tell it is a display-service rejection. +pub fn tag_failure(os: AppleOs, stage: Stage, message: String) -> String { + if falls_back_to_screenshots(os, stage) { format!("{DISPLAY_REJECTED} {message}") } else { message } +} + +/// Bounded schedule for the video offer: the full offer first, then one reduced-bandwidth retry. A +/// device that cannot encode 4K or HDR to the receiver then falls to an SDR or lower-resolution stream. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Offer { + Full, + Reduced, +} + +pub fn offers(os: AppleOs) -> &'static [Offer] { + match os { AppleOs::Ios => &[Offer::Full], AppleOs::Tvos => &[Offer::Full, Offer::Reduced] } +} + +#[cfg(test)] +mod tests { + use super::*; + + fn surface(page: u64, usage: u64, id: u64) -> Surface { Surface { usage_page: Some(page), usage: Some(usage), service_id: id } } + + #[test] + fn an_iphone_needs_exactly_one_touchscreen() { + assert_eq!(select_touchscreen(AppleOs::Ios, &[surface(0x0d, 4, 7)]), Ok(Some(7))); + assert!(select_touchscreen(AppleOs::Ios, &[]).is_err()); + assert!(select_touchscreen(AppleOs::Ios, &[surface(0x0d, 4, 7), surface(0x0d, 4, 8)]).is_err()); + assert!(select_touchscreen(AppleOs::Ios, &[surface(0x01, 6, 3)]).is_err()); + } + + #[test] + fn an_apple_tv_without_a_touchscreen_is_not_an_error() { + assert_eq!(select_touchscreen(AppleOs::Tvos, &[]), Ok(None)); + assert_eq!(select_touchscreen(AppleOs::Tvos, &[surface(0x01, 6, 3)]), Ok(None)); + // Even a stray touchscreen is ignored: the panel sends remote presses, never touch. + assert_eq!(select_touchscreen(AppleOs::Tvos, &[surface(0x0d, 4, 7)]), Ok(None)); + } + + #[test] + fn parses_the_apple_os_family() { + assert_eq!(AppleOs::parse(None), Ok(AppleOs::Ios)); + assert_eq!(AppleOs::parse(Some("ios")), Ok(AppleOs::Ios)); + assert_eq!(AppleOs::parse(Some("tvos")), Ok(AppleOs::Tvos)); + assert!(AppleOs::parse(Some("watchos")).is_err()); + assert!(!AppleOs::Tvos.has_touchscreen()); + assert!(AppleOs::Tvos.queue_bytes() > AppleOs::Ios.queue_bytes()); + } + + fn candidate(host: &str, identifier: Option<&str>) -> Candidate { + Candidate { host: host.into(), port: 49152, identifier: identifier.map(str::to_owned) } + } + + #[test] + fn selects_the_advertisement_for_the_device() { + let list = [candidate("10.0.0.2", Some("AAAA")), candidate("10.0.0.3", Some("00008110-0001"))]; + assert_eq!(select_endpoint(&list, "000081100001").unwrap().host, "10.0.0.3"); + assert_eq!(select_endpoint(&list, "00008110-0001").unwrap().host, "10.0.0.3"); + } + + #[test] + fn a_missing_advertisement_means_asleep_and_ambiguity_is_refused() { + assert_eq!(select_endpoint(&[], "udid"), Err(ASLEEP.to_owned())); + let only = [candidate("10.0.0.2", None)]; + assert_eq!(select_endpoint(&only, "udid").unwrap().host, "10.0.0.2"); + let many = [candidate("10.0.0.2", None), candidate("10.0.0.3", Some("other"))]; + assert!(select_endpoint(&many, "udid").is_err()); + } + + #[test] + fn only_a_tvos_display_rejection_degrades_to_screenshots() { + assert!(falls_back_to_screenshots(AppleOs::Tvos, Stage::Display)); + assert!(falls_back_to_screenshots(AppleOs::Tvos, Stage::Negotiation)); + for stage in [Stage::Discovery, Stage::Pairing, Stage::Tunnel] { + assert!(!falls_back_to_screenshots(AppleOs::Tvos, stage)); + } + for stage in [Stage::Display, Stage::Negotiation, Stage::Tunnel] { + assert!(!falls_back_to_screenshots(AppleOs::Ios, stage)); + } + assert_eq!(tag_failure(AppleOs::Tvos, Stage::Display, "no".into()), "display-rejected: no"); + assert_eq!(tag_failure(AppleOs::Tvos, Stage::Tunnel, "no".into()), "no"); + assert_eq!(tag_failure(AppleOs::Ios, Stage::Display, "no".into()), "no"); + } + + #[test] + fn a_tvos_offer_retries_once_with_a_reduced_stream() { + assert_eq!(offers(AppleOs::Ios), &[Offer::Full]); + assert_eq!(offers(AppleOs::Tvos), &[Offer::Full, Offer::Reduced]); + } +} diff --git a/packages/native/ios-mirror/src/queue.rs b/packages/native/ios-mirror/src/queue.rs index b4464283f..fc1d1678a 100644 --- a/packages/native/ios-mirror/src/queue.rs +++ b/packages/native/ios-mirror/src/queue.rs @@ -3,6 +3,9 @@ use crate::codec::Configuration; pub const MAX_FRAMES: usize = 8; pub const MAX_BYTES: usize = 4 * 1024 * 1024; +/// A 4K HEVC keyframe alone can pass 4 MiB, so an Apple TV stream gets a larger bound. The frame +/// count bound is unchanged: the backlog is still at most eight pictures. +pub const UHD_MAX_BYTES: usize = 16 * 1024 * 1024; pub struct Frame { pub bytes: Vec, @@ -20,9 +23,14 @@ pub struct Queue { pub error: Option, pub closed: bool, pub dropped: u32, + /// Byte bound for this stream; zero means the phone default. + pub max_bytes: usize, } impl Queue { + pub fn with_max_bytes(max_bytes: usize) -> Self { Self { max_bytes, ..Self::default() } } + fn byte_limit(&self) -> usize { if self.max_bytes == 0 { MAX_BYTES } else { self.max_bytes } } + pub fn invalidate(&mut self) { self.dropped = self.dropped.saturating_add(self.frames.len() as u32); self.frames.clear(); @@ -37,7 +45,7 @@ impl Queue { self.configuration = Some(configuration); self.configuration_pending = true; } - if self.frames.len() >= MAX_FRAMES || self.bytes + frame.bytes.len() > MAX_BYTES { + if self.frames.len() >= MAX_FRAMES || self.bytes + frame.bytes.len() > self.byte_limit() { self.invalidate(); self.dropped = self.dropped.saturating_add(1); return false; @@ -53,7 +61,7 @@ mod tests { use super::*; fn frame(length: usize) -> Frame { Frame { bytes: vec![7; length], timestamp: 0.0, key: true } } - fn configuration(revision: u64) -> Configuration { Configuration { revision, width: 1216, height: 2656, codec: "hvc1.1.6.L150.B0".into(), description: vec![1] } } + fn configuration(revision: u64) -> Configuration { Configuration { revision, width: 1216, height: 2656, codec: "hvc1.1.6.L150.B0".into(), description: vec![1], bit_depth: 8 } } #[test] fn moves_the_compressed_allocation_without_copying_it() { @@ -84,6 +92,14 @@ mod tests { assert_eq!(queue.frames.len(), 0); } + #[test] + fn a_uhd_stream_queues_a_keyframe_the_phone_bound_would_reject() { + let mut queue = Queue::with_max_bytes(UHD_MAX_BYTES); + assert!(queue.push(frame(MAX_BYTES + 1), None)); + assert!(!queue.push(frame(UHD_MAX_BYTES), None)); + assert_eq!(queue.generation, 1); + } + #[test] fn a_new_configuration_cannot_be_applied_to_old_frames() { let mut queue = Queue::default(); diff --git a/packages/native/ios-mirror/src/tvos.rs b/packages/native/ios-mirror/src/tvos.rs new file mode 100644 index 000000000..a96a8e9b6 --- /dev/null +++ b/packages/native/ios-mirror/src/tvos.rs @@ -0,0 +1,126 @@ +//! The network tunnel to an Apple TV. An Apple TV is never reached over usbmuxd: the Mac holds a +//! RemotePairing record for it, finds its `_remotepairing._tcp` Bonjour advertisement, pair-verifies, +//! asks the device for a TLS-PSK tunnel listener and then runs the same software TCP stack the iPhone +//! path runs over CoreDeviceProxy. Nothing here has run against hardware; see the README. + +use crate::platform::{Candidate, PAIRING_REQUIRED, Stage, select_endpoint}; +use idevice::{ + remote_pairing::{RemotePairingClient, RpPairingFile, RpPairingSocket, connect_tls_psk_tunnel_native}, + tcp::adapter::Adapter, +}; +use std::{net::IpAddr, path::PathBuf, time::Duration}; +use tokio::net::TcpStream; + +pub const SERVICE_TYPE: &str = "_remotepairing._tcp.local."; +const HOST_NAME: &str = "mobile-dev"; + +/// The pairing record's file name: only the UDID's hex digits and dashes, so a device identifier can +/// never walk out of the pairing directory. +pub fn pairing_file_name(udid: &str) -> Option { + let safe: String = udid.chars().filter(|c| c.is_ascii_alphanumeric() || *c == '-').collect(); + if safe.is_empty() || safe.len() != udid.len() { return None; } + Some(format!("{safe}.plist")) +} + +pub fn pairing_path(udid: &str, directory: Option) -> Option { + let name = pairing_file_name(udid)?; + let directory = directory + .or_else(|| std::env::var_os("MOBILE_DEV_TVOS_PAIRING_DIR").map(PathBuf::from)) + .or_else(|| std::env::var_os("HOME").map(|home| PathBuf::from(home).join("Library/Application Support/mobile-dev/tvos-pairing")))?; + Some(directory.join(name)) +} + +/// Prefers an IPv4 address: a link-local IPv6 address needs a scope id the pairing socket lacks. +fn pick_address(addresses: impl Iterator) -> Option { + let all: Vec = addresses.collect(); + all.iter().copied().find(IpAddr::is_ipv4).or_else(|| all.into_iter().find(|address| match address { + IpAddr::V6(v6) => (v6.segments()[0] & 0xffc0) != 0xfe80, + IpAddr::V4(_) => true, + })) +} + +async fn browse(window: Duration, udid: &str) -> Result, String> { + let daemon = mdns_sd::ServiceDaemon::new().map_err(|error| format!("Could not browse for Apple TVs: {error}"))?; + let receiver = daemon.browse(SERVICE_TYPE).map_err(|error| format!("Could not browse for Apple TVs: {error}"))?; + let deadline = tokio::time::Instant::now() + window; + let mut found: Vec = Vec::new(); + while let Ok(Ok(event)) = tokio::time::timeout_at(deadline, receiver.recv_async()).await { + if let mdns_sd::ServiceEvent::ServiceResolved(info) = event { + let addresses = info.get_addresses().iter().map(|address| address.to_ip_addr()); + let Some(address) = pick_address(addresses) else { continue }; + let identifier = info.get_property_val_str("identifier").map(str::to_owned); + let candidate = Candidate { host: address.to_string(), port: info.get_port(), identifier }; + let matches_requested = candidate.identifier.as_deref().is_some_and(|identifier| identifier.replace('-', "").eq_ignore_ascii_case(&udid.replace('-', ""))); + if !found.contains(&candidate) { found.push(candidate); } + if matches_requested { break; } + } + } + let _ = daemon.shutdown(); + Ok(found) +} + +/// What a connected tunnel owns. The pairing client must stay open for the tunnel's lifetime. +pub struct Tunnel { + pub adapter: Adapter, + pub rsd_port: u16, + pub pairing: RemotePairingClient>, +} + +pub type Failure = (Stage, String); + +async fn timed(stage: Stage, deadline: tokio::time::Instant, operation: impl std::future::Future>) -> Result { + match tokio::time::timeout_at(deadline, operation).await { + Ok(Ok(value)) => Ok(value), + Ok(Err(error)) => Err((stage, error.to_string())), + Err(_) => Err((stage, "Timed out opening the Apple TV developer connection.".into())), + } +} + +pub async fn connect(udid: &str, pairing_directory: Option, deadline: tokio::time::Instant) -> Result { + let path = pairing_path(udid, pairing_directory).ok_or((Stage::Pairing, "The Apple TV identifier is not valid.".to_owned()))?; + let mut pairing = RpPairingFile::read_from_file(&path).await.map_err(|_| (Stage::Pairing, PAIRING_REQUIRED.to_owned()))?; + let candidates = timed(Stage::Discovery, deadline, browse(Duration::from_secs(4), udid)).await?; + let endpoint = select_endpoint(&candidates, udid).map_err(|message| (Stage::Discovery, message))?; + let address: IpAddr = endpoint.host.parse().map_err(|_| (Stage::Discovery, "The Apple TV advertised an invalid address.".to_owned()))?; + let stream = timed(Stage::Pairing, deadline, TcpStream::connect((address, endpoint.port))).await?; + let mut client = RemotePairingClient::new(RpPairingSocket::new(stream), HOST_NAME); + // The PIN callback answers empty: this path only verifies an existing pairing and never pairs. + let verified = client.connect(&mut pairing, async || String::new()); + timed(Stage::Pairing, deadline, verified).await.map_err(|(stage, _)| (stage, PAIRING_REQUIRED.to_owned()))?; + let port = timed(Stage::Tunnel, deadline, client.create_tcp_listener()).await?; + let tunnel_stream = timed(Stage::Tunnel, deadline, TcpStream::connect((address, port))).await?; + let tunnel = timed(Stage::Tunnel, deadline, connect_tls_psk_tunnel_native(tunnel_stream, client.encryption_key())).await?; + let info = tunnel.info.clone(); + let invalid = |_| (Stage::Tunnel, "The Apple TV returned an invalid tunnel address.".to_owned()); + let our_ip: IpAddr = info.client_address.parse().map_err(invalid)?; + let their_ip: IpAddr = info.server_address.parse().map_err(invalid)?; + let inner: Box = Box::new(tunnel.into_inner()); + let mut adapter = Adapter::new(Box::new(inner), our_ip, their_ip); + adapter.set_mss((info.mtu as usize).saturating_sub(60)); + Ok(Tunnel { adapter, rsd_port: info.server_rsd_port, pairing: client }) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn the_pairing_file_name_cannot_leave_its_directory() { + assert_eq!(pairing_file_name("00008110-001A"), Some("00008110-001A.plist".to_owned())); + assert_eq!(pairing_file_name("../etc/passwd"), None); + assert_eq!(pairing_file_name("a/b"), None); + assert_eq!(pairing_file_name(""), None); + let path = pairing_path("00008110-001A", Some(PathBuf::from("/tmp/pairings"))).unwrap(); + assert_eq!(path, PathBuf::from("/tmp/pairings/00008110-001A.plist")); + } + + #[test] + fn prefers_ipv4_and_skips_link_local_ipv6() { + let link_local: IpAddr = "fe80::1".parse().unwrap(); + let global: IpAddr = "fd00::2".parse().unwrap(); + let v4: IpAddr = "192.168.1.9".parse().unwrap(); + assert_eq!(pick_address([link_local, v4, global].into_iter()), Some(v4)); + assert_eq!(pick_address([link_local, global].into_iter()), Some(global)); + assert_eq!(pick_address([link_local].into_iter()), None); + } +} diff --git a/packages/native/vendor/ios-mirror/darwin-arm64.node b/packages/native/vendor/ios-mirror/darwin-arm64.node index 4c48fc087..b2cf5edc0 100755 Binary files a/packages/native/vendor/ios-mirror/darwin-arm64.node and b/packages/native/vendor/ios-mirror/darwin-arm64.node differ diff --git a/packages/native/vendor/ios-mirror/release.json b/packages/native/vendor/ios-mirror/release.json index 6e3a0bcd7..4efb46f32 100644 --- a/packages/native/vendor/ios-mirror/release.json +++ b/packages/native/vendor/ios-mirror/release.json @@ -2,6 +2,6 @@ "name": "mobile-dev-ios-mirror", "napi": 8, "target": "darwin-arm64", - "sourceSHA256": "d67400e1bdf3021b6807b29cce0d8db276fca6589cc51a466dbaa0227a722084", - "binarySHA256": "75dcfd991f1dd8cbc0e6c5c303c275e63261bdbd41a7ab7aad512195a7154a49" + "sourceSHA256": "f1e4ac0eadc55ed67579f2182f329078802ae62ea5b808ba58848bf638fcfed3", + "binarySHA256": "51a73b506309c0d2c5634fdfd3baaad6ece950e3393584cebf44aa97c875d16b" } diff --git a/packages/native/vendor/ios-mirror/third-party-licenses.txt b/packages/native/vendor/ios-mirror/third-party-licenses.txt index 2e6fb91e6..fffd3c048 100644 --- a/packages/native/vendor/ios-mirror/third-party-licenses.txt +++ b/packages/native/vendor/ios-mirror/third-party-licenses.txt @@ -245,124 +245,8 @@ DEALINGS IN THE SOFTWARE. ==================== -async-stream 0.3.6 (MIT) -https://github.com/tokio-rs/async-stream - -Copyright (c) 2019 Carl Lerche - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - -Copyright (c) 2018 David Tolnay - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -async-stream-impl 0.3.6 (MIT) -https://github.com/tokio-rs/async-stream - -Copyright (c) 2019 Carl Lerche - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - -Copyright (c) 2018 David Tolnay - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -base64 0.22.1 (MIT OR Apache-2.0) -https://github.com/marshallpierce/rust-base64 +aead 0.5.2 (MIT OR Apache-2.0) +https://github.com/RustCrypto/traits Apache License Version 2.0, January 2004 @@ -558,7 +442,7 @@ Licensed 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 + 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, @@ -567,33 +451,39 @@ See the License for the specific language governing permissions and limitations under the License. -The MIT License (MIT) -Copyright (c) 2015 Alice Maz +Copyright (c) 2019 The RustCrypto Project Developers +Copyright (c) 2019 MobileCoin, LLC -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -base64 0.23.1 (MIT OR Apache-2.0) -https://github.com/marshallpierce/rust-base64 +aes 0.8.4 (MIT OR Apache-2.0) +https://github.com/RustCrypto/block-ciphers Apache License Version 2.0, January 2004 @@ -789,7 +679,7 @@ Licensed 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 + 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, @@ -798,58 +688,178 @@ See the License for the specific language governing permissions and limitations under the License. -The MIT License (MIT) - -Copyright (c) 2025 Alice Maz, Marshall Pierce +Copyright (c) 2018 Artyom Pavlov -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -bitflags 2.13.2 (MIT OR Apache-2.0) -https://github.com/bitflags/bitflags +async-stream 0.3.6 (MIT) +https://github.com/tokio-rs/async-stream - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +Copyright (c) 2019 Carl Lerche -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -1. Definitions. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +Copyright (c) 2018 David Tolnay - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +async-stream-impl 0.3.6 (MIT) +https://github.com/tokio-rs/async-stream + +Copyright (c) 2019 Carl Lerche + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +Copyright (c) 2018 David Tolnay + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +autocfg 1.5.1 (Apache-2.0 OR MIT) +https://github.com/cuviper/autocfg + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation @@ -1029,7 +1039,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2014 The Rust Project Developers +Copyright (c) 2018 Josh Stone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -1058,8 +1068,8 @@ DEALINGS IN THE SOFTWARE. ==================== -block-buffer 0.10.4 (MIT OR Apache-2.0) -https://github.com/RustCrypto/utils +base64 0.21.7 (MIT OR Apache-2.0) +https://github.com/marshallpierce/rust-base64 Apache License Version 2.0, January 2004 @@ -1255,7 +1265,7 @@ Licensed 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 + 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, @@ -1264,37 +1274,33 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2018-2019 The RustCrypto Project Developers +The MIT License (MIT) -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: +Copyright (c) 2015 Alice Maz -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. ==================== -bumpalo 3.20.3 (MIT OR Apache-2.0) -https://github.com/fitzgen/bumpalo +base64 0.22.1 (MIT OR Apache-2.0) +https://github.com/marshallpierce/rust-base64 Apache License Version 2.0, January 2004 @@ -1499,69 +1505,33 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2019 Nick Fitzgerald - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -bytes 1.12.1 (MIT) -https://github.com/tokio-rs/bytes +The MIT License (MIT) -Copyright (c) 2018 Carl Lerche +Copyright (c) 2015 Alice Maz -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. ==================== -cc 1.5.1 (MIT OR Apache-2.0) -https://github.com/rust-lang/cc-rs +base64 0.23.1 (MIT OR Apache-2.0) +https://github.com/marshallpierce/rust-base64 Apache License Version 2.0, January 2004 @@ -1766,37 +1736,33 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2014 Alex Crichton +The MIT License (MIT) -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: +Copyright (c) 2025 Alice Maz, Marshall Pierce -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. ==================== -cfg-if 1.0.5 (MIT OR Apache-2.0) -https://github.com/rust-lang/cfg-if +base64ct 1.8.3 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/formats Apache License Version 2.0, January 2004 @@ -1992,7 +1958,7 @@ Licensed 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 + 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, @@ -2001,7 +1967,8 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2014 Alex Crichton +Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com) +Copyright (c) 2021-2025 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -2030,8 +1997,8 @@ DEALINGS IN THE SOFTWARE. ==================== -chacha20 0.10.2 (MIT OR Apache-2.0) -https://github.com/RustCrypto/stream-ciphers +bitflags 2.13.2 (MIT OR Apache-2.0) +https://github.com/bitflags/bitflags Apache License Version 2.0, January 2004 @@ -2227,7 +2194,7 @@ Licensed 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 + 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, @@ -2236,7 +2203,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2019-2026 The RustCrypto Project Developers +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -2265,34 +2232,7 @@ DEALINGS IN THE SOFTWARE. ==================== -convert_case 0.12.0 (MIT) -https://github.com/rutrum/convert-case - -MIT License - -Copyright (c) 2025 rutrum - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -==================== - -cpufeatures 0.3.1 (MIT OR Apache-2.0) +block-buffer 0.10.4 (MIT OR Apache-2.0) https://github.com/RustCrypto/utils Apache License @@ -2498,7 +2438,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2020-2026 The RustCrypto Project Developers +Copyright (c) 2018-2019 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -2527,240 +2467,243 @@ DEALINGS IN THE SOFTWARE. ==================== -crc32fast 1.5.2 (MIT OR Apache-2.0) -https://github.com/srijs/rust-crc32fast - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +block-padding 0.3.3 (MIT OR Apache-2.0) +https://github.com/RustCrypto/utils - 1. Definitions. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +1. Definitions. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. - END OF TERMS AND CONDITIONS +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. - APPENDIX: How to apply the Apache License to your work. +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. +END OF TERMS AND CONDITIONS - Copyright {yyyy} {name of copyright owner} +APPENDIX: How to apply the Apache License to your work. - Licensed 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 + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. - http://www.apache.org/licenses/LICENSE-2.0 +Copyright [yyyy] [name of copyright owner] - 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. +Licensed 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. -MIT License -Copyright (c) 2018 Sam Rijs, Alex Crichton and contributors +Copyright (c) 2018-2019 The RustCrypto Project Developers -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -crypto-common 0.1.7 (MIT OR Apache-2.0) -https://github.com/RustCrypto/traits +bumpalo 3.20.3 (MIT OR Apache-2.0) +https://github.com/fitzgen/bumpalo Apache License Version 2.0, January 2004 @@ -2956,7 +2899,7 @@ Licensed 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 + 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, @@ -2965,7 +2908,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2021 RustCrypto Developers +Copyright (c) 2019 Nick Fitzgerald Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -2994,517 +2937,341 @@ DEALINGS IN THE SOFTWARE. ==================== -ctor 1.0.13 (Apache-2.0 OR MIT) -https://github.com/mmastrac/linktime +bytes 1.12.1 (MIT) +https://github.com/tokio-rs/bytes -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +Copyright (c) 2018 Carl Lerche - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: - 1. Definitions. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. +==================== - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. +cbc 0.1.2 (MIT OR Apache-2.0) +https://github.com/RustCrypto/block-modes - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +1. Definitions. - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - END OF TERMS AND CONDITIONS + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - APPENDIX: How to apply the Apache License to your work. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - Copyright {yyyy} {name of copyright owner} + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - Licensed 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 +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - http://www.apache.org/licenses/LICENSE-2.0 +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - 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. +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +END OF TERMS AND CONDITIONS -==================== +APPENDIX: How to apply the Apache License to your work. -deranged 0.5.8 (MIT OR Apache-2.0) -https://github.com/jhpratt/deranged + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. +Copyright [yyyy] [name of copyright owner] - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +Licensed 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 - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + http://www.apache.org/licenses/LICENSE-2.0 - 1. Definitions. +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. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +Copyright (c) 2018-2022 RustCrypto Developers +Copyright (c) 2018 Artyom Pavlov - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +==================== - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. +cc 1.5.1 (MIT OR Apache-2.0) +https://github.com/rust-lang/cc-rs - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. +1. Definitions. - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2024 Jacob Pratt et al. - - Licensed 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. - - -Copyright (c) 2024 Jacob Pratt et al. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -==================== - -digest 0.10.7 (MIT OR Apache-2.0) -https://github.com/RustCrypto/traits - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, @@ -3635,7 +3402,7 @@ Licensed 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 + 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, @@ -3644,7 +3411,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2017 Artyom Pavlov +Copyright (c) 2014 Alex Crichton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -3673,8 +3440,8 @@ DEALINGS IN THE SOFTWARE. ==================== -equivalent 1.0.2 (Apache-2.0 OR MIT) -https://github.com/indexmap-rs/equivalent +cfg-if 1.0.5 (MIT OR Apache-2.0) +https://github.com/rust-lang/cfg-if Apache License Version 2.0, January 2004 @@ -3879,7 +3646,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016--2023 +Copyright (c) 2014 Alex Crichton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -3908,8 +3675,8 @@ DEALINGS IN THE SOFTWARE. ==================== -find-msvc-tools 0.1.14 (MIT OR Apache-2.0) -https://github.com/rust-lang/cc-rs +chacha20 0.9.1 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/stream-ciphers Apache License Version 2.0, January 2004 @@ -4105,7 +3872,7 @@ Licensed 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 + 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, @@ -4114,7 +3881,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2014 Alex Crichton +Copyright (c) 2019-2023 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -4143,8 +3910,8 @@ DEALINGS IN THE SOFTWARE. ==================== -flate2 1.1.10 (MIT OR Apache-2.0) -https://github.com/rust-lang/flate2-rs +chacha20 0.10.2 (MIT OR Apache-2.0) +https://github.com/RustCrypto/stream-ciphers Apache License Version 2.0, January 2004 @@ -4340,7 +4107,7 @@ Licensed 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 + 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, @@ -4349,7 +4116,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2014-2026 Alex Crichton +Copyright (c) 2019-2026 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -4378,8 +4145,8 @@ DEALINGS IN THE SOFTWARE. ==================== -futures 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs +chacha20poly1305 0.10.1 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305 Apache License Version 2.0, January 2004 @@ -4569,14 +4336,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -4585,8 +4351,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright (c) 2019 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -4615,8 +4380,8 @@ DEALINGS IN THE SOFTWARE. ==================== -futures-channel 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs +cipher 0.4.4 (MIT OR Apache-2.0) +https://github.com/RustCrypto/traits Apache License Version 2.0, January 2004 @@ -4806,14 +4571,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -4822,8 +4586,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright (c) 2016-2020 RustCrypto Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -4852,8 +4615,8 @@ DEALINGS IN THE SOFTWARE. ==================== -futures-core 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs +const-oid 0.9.6 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/formats/tree/master/const-oid Apache License Version 2.0, January 2004 @@ -5043,14 +4806,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -5059,8 +4821,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright (c) 2020-2022 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -5089,8 +4850,35 @@ DEALINGS IN THE SOFTWARE. ==================== -futures-executor 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs +convert_case 0.12.0 (MIT) +https://github.com/rutrum/convert-case + +MIT License + +Copyright (c) 2025 rutrum + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +==================== + +cpufeatures 0.2.17 (MIT OR Apache-2.0) +https://github.com/RustCrypto/utils Apache License Version 2.0, January 2004 @@ -5280,14 +5068,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -5296,8 +5083,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright (c) 2020-2025 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -5326,8 +5112,8 @@ DEALINGS IN THE SOFTWARE. ==================== -futures-io 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs +cpufeatures 0.3.1 (MIT OR Apache-2.0) +https://github.com/RustCrypto/utils Apache License Version 2.0, January 2004 @@ -5517,14 +5303,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -5533,8 +5318,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright (c) 2020-2026 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -5563,19 +5347,251 @@ DEALINGS IN THE SOFTWARE. ==================== -futures-macro 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +crc32fast 1.5.2 (MIT OR Apache-2.0) +https://github.com/srijs/rust-crc32fast -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -1. Definitions. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed 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. + + + +MIT License + +Copyright (c) 2018 Sam Rijs, Alex Crichton and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +crypto-common 0.1.7 (MIT OR Apache-2.0) +https://github.com/RustCrypto/traits + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. @@ -5754,14 +5770,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -5770,8 +5785,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright (c) 2021 RustCrypto Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -5800,245 +5814,294 @@ DEALINGS IN THE SOFTWARE. ==================== -futures-sink 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs +ctor 1.0.13 (Apache-2.0 OR MIT) +https://github.com/mmastrac/linktime - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -1. Definitions. + 1. Definitions. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS -APPENDIX: How to apply the Apache License to your work. + APPENDIX: How to apply the Apache License to your work. - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors + Copyright {yyyy} {name of copyright owner} -Licensed 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 + Licensed 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 + 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. + 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. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. +==================== + +curve25519-dalek 4.1.3 (BSD-3-Clause) +https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek + +Copyright (c) 2016-2021 isis agora lovecruft. All rights reserved. +Copyright (c) 2016-2021 Henry de Valence. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +======================================================================== + +Portions of curve25519-dalek were originally derived from Adam Langley's +Go ed25519 implementation, found at , +under the following licence: + +======================================================================== + +Copyright (c) 2012 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ==================== -futures-task 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs +curve25519-dalek-derive 0.1.1 (MIT/Apache-2.0) +https://github.com/dalek-cryptography/curve25519-dalek Apache License Version 2.0, January 2004 @@ -6228,8 +6291,7 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -6244,9 +6306,6 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the @@ -6274,8 +6333,8 @@ DEALINGS IN THE SOFTWARE. ==================== -futures-util 0.3.34 (MIT OR Apache-2.0) -https://github.com/rust-lang/futures-rs +der 0.7.10 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/formats/tree/master/der Apache License Version 2.0, January 2004 @@ -6465,14 +6524,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -6481,8 +6539,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Alex Crichton -Copyright (c) 2017 The Tokio Authors +Copyright (c) 2020-2023 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -6511,64 +6568,267 @@ DEALINGS IN THE SOFTWARE. ==================== -generic-array 0.14.7 (MIT) -https://github.com/fizyk20/generic-array.git - -The MIT License (MIT) - -Copyright (c) 2015 Bartłomiej Kamiński - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +deranged 0.5.8 (MIT OR Apache-2.0) +https://github.com/jhpratt/deranged -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -==================== + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -getrandom 0.2.17 (MIT OR Apache-2.0) -https://github.com/rust-random/getrandom + 1. Definitions. - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -1. Definitions. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2024 Jacob Pratt et al. + + Licensed 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. + + +Copyright (c) 2024 Jacob Pratt et al. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +digest 0.10.7 (MIT OR Apache-2.0) +https://github.com/RustCrypto/traits + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but @@ -6735,7 +6995,7 @@ Licensed 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 - https://www.apache.org/licenses/LICENSE-2.0 + 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, @@ -6744,8 +7004,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2018-2024 The rust-random Project Developers -Copyright (c) 2014 The Rust Project Developers +Copyright (c) 2017 Artyom Pavlov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -6774,12 +7033,12 @@ DEALINGS IN THE SOFTWARE. ==================== -getrandom 0.3.4 (MIT OR Apache-2.0) -https://github.com/rust-random/getrandom +ed25519 2.2.3 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/signatures/tree/master/ed25519 Apache License Version 2.0, January 2004 - https://www.apache.org/licenses/ + http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -6965,13 +7224,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright [yyyy] [name of copyright owner] +Copyright 2018-2022 RustCrypto Developers Licensed 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 - https://www.apache.org/licenses/LICENSE-2.0 + 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, @@ -6980,8 +7239,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2018-2025 The rust-random Project Developers -Copyright (c) 2014 The Rust Project Developers +Copyright (c) 2018-2023 RustCrypto Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -7010,32 +7268,67 @@ DEALINGS IN THE SOFTWARE. ==================== -getrandom 0.4.3 (MIT OR Apache-2.0) -https://github.com/rust-random/getrandom - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ +ed25519-dalek 2.2.0 (BSD-3-Clause) +https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +Copyright (c) 2017-2019 isis agora lovecruft. All rights reserved. -1. Definitions. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. +3. Neither the name of the copyright holder nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. - "You" (or "Your") shall mean an individual or Legal Entity +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +==================== + +equivalent 1.0.2 (Apache-2.0 OR MIT) +https://github.com/indexmap-rs/equivalent + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, @@ -7207,7 +7500,7 @@ Licensed 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 - https://www.apache.org/licenses/LICENSE-2.0 + 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, @@ -7216,8 +7509,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2018-2026 The rust-random Project Developers -Copyright (c) 2014 The Rust Project Developers +Copyright (c) 2016--2023 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -7246,8 +7538,8 @@ DEALINGS IN THE SOFTWARE. ==================== -hashbrown 0.17.1 (MIT OR Apache-2.0) -https://github.com/rust-lang/hashbrown +fastrand 2.5.0 (Apache-2.0 OR MIT) +https://github.com/smol-rs/fastrand Apache License Version 2.0, January 2004 @@ -7452,8 +7744,6 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 Amanieu d'Antras - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the @@ -7481,22 +7771,78 @@ DEALINGS IN THE SOFTWARE. ==================== -idevice 0.1.65 (MIT) -https://github.com/jkcoxson/idevice +fiat-crypto 0.2.9 (MIT OR Apache-2.0 OR BSD-1-Clause) +https://github.com/mit-plv/fiat-crypto -Copyright 2026 Jackson Coxson +The Apache License, Version 2.0 (Apache-2.0) -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +Copyright 2015-2020 the fiat-crypto authors (see the AUTHORS file) -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +Licensed 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 -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + 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. + + +The BSD 1-Clause License (BSD-1-Clause) + +Copyright (c) 2015-2020 the fiat-crypto authors (see the AUTHORS file) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +THIS SOFTWARE IS PROVIDED BY the fiat-crypto authors "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Berkeley Software Design, +Inc. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +The MIT License (MIT) + +Copyright (c) 2015-2020 the fiat-crypto authors (see the AUTHORS file). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. ==================== -indexmap 2.14.2 (Apache-2.0 OR MIT) -https://github.com/indexmap-rs/indexmap +find-msvc-tools 0.1.14 (MIT OR Apache-2.0) +https://github.com/rust-lang/cc-rs Apache License Version 2.0, January 2004 @@ -7701,7 +8047,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016--2017 +Copyright (c) 2014 Alex Crichton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -7730,8 +8076,8 @@ DEALINGS IN THE SOFTWARE. ==================== -itoa 1.0.18 (MIT OR Apache-2.0) -https://github.com/dtolnay/itoa +flate2 1.1.10 (MIT OR Apache-2.0) +https://github.com/rust-lang/flate2-rs Apache License Version 2.0, January 2004 @@ -7910,6 +8256,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014-2026 Alex Crichton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -7938,68 +8311,271 @@ DEALINGS IN THE SOFTWARE. ==================== -jktcp 0.1.7 (MIT) -https://github.com/jkcoxson/jktcp - -MIT License +flume 0.11.1 (Apache-2.0/MIT) +https://github.com/zesterer/flume -Copyright (c) 2026 Jackson Coxson + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. + 1. Definitions. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -==================== + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. -js-sys 0.3.106 (MIT OR Apache-2.0) -https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/js-sys + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. -1. Definitions. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +==================== + +futures 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. @@ -8157,7 +8733,8 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright [yyyy] [name of copyright owner] +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -8172,7 +8749,8 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2014 Alex Crichton +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -8201,8 +8779,8 @@ DEALINGS IN THE SOFTWARE. ==================== -libc 0.2.189 (MIT OR Apache-2.0) -https://github.com/rust-lang/libc +futures-channel 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs Apache License Version 2.0, January 2004 @@ -8381,8 +8959,35 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. -Copyright (c) The Rust Project Developers + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors + +Licensed 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. + + +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -8411,27 +9016,8 @@ DEALINGS IN THE SOFTWARE. ==================== -libloading 0.9.0 (ISC) -https://github.com/nagisa/rust_libloading/ - -Copyright © 2015, Simonas Kazlauskas - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without -fee is hereby granted, provided that the above copyright notice and this permission notice appear -in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS -SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE -AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, -NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF -THIS SOFTWARE. - - -==================== - -lock_api 0.4.14 (MIT OR Apache-2.0) -https://github.com/Amanieu/parking_lot +futures-core 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs Apache License Version 2.0, January 2004 @@ -8621,7 +9207,8 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright [yyyy] [name of copyright owner] +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -8636,7 +9223,8 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 The Rust Project Developers +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -8665,8 +9253,8 @@ DEALINGS IN THE SOFTWARE. ==================== -md-5 0.10.6 (MIT OR Apache-2.0) -https://github.com/RustCrypto/hashes +futures-executor 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs Apache License Version 2.0, January 2004 @@ -8856,13 +9444,14 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright [yyyy] [name of copyright owner] +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors Licensed 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 + 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, @@ -8871,9 +9460,8 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2006-2009 Graydon Hoare -Copyright (c) 2009-2013 Mozilla Foundation -Copyright (c) 2016 Artyom Pavlov +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -8902,598 +9490,719 @@ DEALINGS IN THE SOFTWARE. ==================== -memchr 2.8.3 (Unlicense OR MIT) -https://github.com/BurntSushi/memchr +futures-io 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs -This project is dual-licensed under the Unlicense and MIT licenses. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -You may use this code under the terms of either license. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +1. Definitions. -The MIT License (MIT) + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -Copyright (c) 2015 Andrew Gallant + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. -==================== + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). -miniz_oxide 0.9.1 (MIT OR Zlib OR Apache-2.0) -https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. -MIT License + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -Copyright 2013-2014 RAD Game Tools and Valve Software -Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC -Copyright (c) 2017 Frommi -Copyright (c) 2017-2024 oyvindln + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - 1. Definitions. +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. +END OF TERMS AND CONDITIONS - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. +APPENDIX: How to apply the Apache License to your work. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. +Licensed 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 - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + http://www.apache.org/licenses/LICENSE-2.0 - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +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. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +==================== - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +futures-macro 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - END OF TERMS AND CONDITIONS +1. Definitions. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -MIT License + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -Copyright 2013-2014 RAD Game Tools and Valve Software -Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC -Copyright (c) 2017 Frommi -Copyright (c) 2017-2024 oyvindln + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). -Copyright 2013-2014 RAD Game Tools and Valve Software -Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC -Copyright (c) 2020 Frommi -Copyright (c) 2017-2024 oyvindln + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. -This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -3. This notice may not be removed or altered from any source distribution. +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and -==================== + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and -mio 1.2.3 (MIT) -https://github.com/tokio-rs/mio + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and -Copyright (c) 2014 Carl Lerche and other MIO contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. -==================== +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. -mobile-dev-telemetry 0.1.0 (MIT) +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS -==================== +APPENDIX: How to apply the Apache License to your work. -napi 3.14.0 (MIT) -https://github.com/napi-rs/napi-rs + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors +Licensed 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 -napi-build 2.6.0 (MIT) -https://github.com/napi-rs/napi-rs +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. +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors -==================== +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -napi-derive 3.6.10 (MIT) -https://github.com/napi-rs/napi-rs +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -napi-derive-backend 6.1.4 (MIT) -https://github.com/napi-rs/napi-rs +futures-sink 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -==================== +1. Definitions. -napi-sys 3.4.0 (MIT) -https://github.com/napi-rs/napi-rs + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. -==================== + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. -nohash-hasher 0.2.0 (Apache-2.0 OR MIT) -https://github.com/paritytech/nohash-hasher + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - 1. Definitions. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and +END OF TERMS AND CONDITIONS - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. +APPENDIX: How to apply the Apache License to your work. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +Licensed 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 - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + http://www.apache.org/licenses/LICENSE-2.0 - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +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. - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - END OF TERMS AND CONDITIONS +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors - APPENDIX: How to apply the Apache License to your work. +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. - Copyright [yyyy] [name of copyright owner] +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. - Licensed 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. - - -Copyright 2018 Parity Technologies (UK) Ltd. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS -OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -==================== - -ns-keyed-archive 0.1.5 (MIT OR Apache-2.0) -https://github.com/jkcoxson/ns_keyed_archive - - - -==================== - -nskeyedarchiver_converter 0.1.3 (MIT OR Apache-2.0) -https://github.com/michaelwright235/nskeyedarchiver_converter +futures-task 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs Apache License Version 2.0, January 2004 @@ -9683,7 +10392,8 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2024 Michael Wright +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -9698,212 +10408,279 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2024 Michael Wright +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -num-conv 0.2.2 (MIT OR Apache-2.0) -https://github.com/jhpratt/num-conv - +futures-util 0.3.34 (MIT OR Apache-2.0) +https://github.com/rust-lang/futures-rs - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - 1. Definitions. +1. Definitions. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. - END OF TERMS AND CONDITIONS +END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. -Copyright (c) Jacob Pratt + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors + +Licensed 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. + + +Copyright (c) 2016 Alex Crichton +Copyright (c) 2017 The Tokio Authors + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +generic-array 0.14.7 (MIT) +https://github.com/fizyk20/generic-array.git + +The MIT License (MIT) + +Copyright (c) 2015 Bartłomiej Kamiński Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -9923,15 +10700,14 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ==================== -once_cell 1.21.4 (MIT OR Apache-2.0) -https://github.com/matklad/once_cell +getrandom 0.2.17 (MIT OR Apache-2.0) +https://github.com/rust-random/getrandom Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -10123,7 +10899,7 @@ Licensed 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 + https://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, @@ -10132,6 +10908,9 @@ See the License for the specific language governing permissions and limitations under the License. +Copyright (c) 2018-2024 The rust-random Project Developers +Copyright (c) 2014 The Rust Project Developers + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the @@ -10159,12 +10938,12 @@ DEALINGS IN THE SOFTWARE. ==================== -parking_lot 0.12.5 (MIT OR Apache-2.0) -https://github.com/Amanieu/parking_lot +getrandom 0.3.4 (MIT OR Apache-2.0) +https://github.com/rust-random/getrandom Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -10356,7 +11135,7 @@ Licensed 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 + https://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, @@ -10365,7 +11144,8 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 The Rust Project Developers +Copyright (c) 2018-2025 The rust-random Project Developers +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -10394,12 +11174,12 @@ DEALINGS IN THE SOFTWARE. ==================== -parking_lot_core 0.9.12 (MIT OR Apache-2.0) -https://github.com/Amanieu/parking_lot +getrandom 0.4.3 (MIT OR Apache-2.0) +https://github.com/rust-random/getrandom Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -10591,7 +11371,7 @@ Licensed 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 + https://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, @@ -10600,7 +11380,8 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2016 The Rust Project Developers +Copyright (c) 2018-2026 The rust-random Project Developers +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -10629,239 +11410,30 @@ DEALINGS IN THE SOFTWARE. ==================== -pin-project-lite 0.2.17 (Apache-2.0 OR MIT) -https://github.com/taiki-e/pin-project-lite +hashbrown 0.17.1 (MIT OR Apache-2.0) +https://github.com/rust-lang/hashbrown + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +1. Definitions. - 1. Definitions. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -pin-utils 0.1.1 (MIT OR Apache-2.0) -https://github.com/rust-lang/pin-utils - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. @@ -11029,7 +11601,7 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2018 The pin-utils authors +Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -11044,7 +11616,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2018 The pin-utils authors +Copyright (c) 2016 Amanieu d'Antras Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -11073,270 +11645,243 @@ DEALINGS IN THE SOFTWARE. ==================== -plist 1.10.1 (MIT) -https://github.com/ebarnard/rust-plist/ +hkdf 0.12.4 (MIT OR Apache-2.0) +https://github.com/RustCrypto/KDFs/ -Copyright (c) 2015 Edward Barnard + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +1. Definitions. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -==================== + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -plist-macro 0.1.6 (MIT) -https://github.com/jkcoxson/plist_macro + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. -==================== + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. -powerfmt 0.2.0 (MIT OR Apache-2.0) -https://github.com/jhpratt/powerfmt + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. - 1. Definitions. +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +END OF TERMS AND CONDITIONS - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and +APPENDIX: How to apply the Apache License to your work. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and +Copyright [yyyy] [name of copyright owner] - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. +Licensed 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 - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2023 Jacob Pratt et al. - - Licensed 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. + 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. -Copyright (c) 2023 Jacob Pratt et al. +Copyright (c) 2015-2018 Vlad Filippov +Copyright (c) 2018-2021 RustCrypto Developers -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -ppv-lite86 0.2.21 (MIT OR Apache-2.0) -https://github.com/cryptocorrosion/cryptocorrosion +hmac 0.12.1 (MIT OR Apache-2.0) +https://github.com/RustCrypto/MACs Apache License Version 2.0, January 2004 @@ -11526,7 +12071,7 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2019 The CryptoCorrosion Contributors +Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -11541,7 +12086,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2019 The CryptoCorrosion Contributors +Copyright (c) 2017 Artyom Pavlov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -11570,8 +12115,22 @@ DEALINGS IN THE SOFTWARE. ==================== -proc-macro2 1.0.107 (MIT OR Apache-2.0) -https://github.com/dtolnay/proc-macro2 +idevice 0.1.65 (MIT) +https://github.com/jkcoxson/idevice + +Copyright 2026 Jackson Coxson + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +==================== + +idevice-srp 0.6.0 (MIT OR Apache-2.0) +https://github.com/RustCrypto/PAKEs Apache License Version 2.0, January 2004 @@ -11750,6 +12309,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2017 Artyom Pavlov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -11778,38 +12364,37 @@ DEALINGS IN THE SOFTWARE. ==================== -quick-xml 0.42.0 (MIT) -https://github.com/tafia/quick-xml +if-addrs 0.15.0 (MIT OR BSD-3-Clause) +https://github.com/messense/if-addrs -The MIT License (MIT) +Copyright 2018 MaidSafe.net limited. +Copyright 2020 messense -Copyright (c) 2016 Johann Tuffe +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + +Copyright 2018 MaidSafe.net limited. +Copyright 2020 messense + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ==================== -quote 1.0.47 (MIT OR Apache-2.0) -https://github.com/dtolnay/quote +indexmap 2.14.2 (Apache-2.0 OR MIT) +https://github.com/indexmap-rs/indexmap Apache License Version 2.0, January 2004 @@ -11988,6 +12573,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2016--2017 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -12016,26 +12628,12 @@ DEALINGS IN THE SOFTWARE. ==================== -r-efi 5.3.0 (MIT OR Apache-2.0 OR LGPL-2.1-or-later) -https://github.com/r-efi/r-efi - - - -==================== - -r-efi 6.0.0 (MIT OR Apache-2.0 OR LGPL-2.1-or-later) -https://github.com/r-efi/r-efi - - - -==================== - -rand 0.9.5 (MIT OR Apache-2.0) -https://github.com/rust-random/rand +inout 0.1.4 (MIT OR Apache-2.0) +https://github.com/RustCrypto/utils Apache License Version 2.0, January 2004 - https://www.apache.org/licenses/ + http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -12210,17 +12808,42 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. -Copyright 2018 Developers of the Rand project -Copyright (c) 2014 The Rust Project Developers + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2022 The RustCrypto Project Developers +Copyright (c) 2022 Artyom Pavlov + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: @@ -12241,12 +12864,12 @@ DEALINGS IN THE SOFTWARE. ==================== -rand 0.10.3 (MIT OR Apache-2.0) -https://github.com/rust-random/rand +itoa 1.0.18 (MIT OR Apache-2.0) +https://github.com/dtolnay/itoa Apache License Version 2.0, January 2004 - https://www.apache.org/licenses/ + http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -12422,9 +13045,6 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS -Copyright 2018 Developers of the Rand project -Copyright (c) 2014 The Rust Project Developers - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the @@ -12452,12 +13072,40 @@ DEALINGS IN THE SOFTWARE. ==================== -rand_chacha 0.9.0 (MIT OR Apache-2.0) -https://github.com/rust-random/rand +jktcp 0.1.7 (MIT) +https://github.com/jkcoxson/jktcp + +MIT License + +Copyright (c) 2026 Jackson Coxson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +js-sys 0.3.106 (MIT OR Apache-2.0) +https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/js-sys Apache License Version 2.0, January 2004 - https://www.apache.org/licenses/ + http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -12632,9 +13280,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. -Copyright 2018 Developers of the Rand project -Copyright (c) 2014 The Rust Project Developers + +Copyright (c) 2014 Alex Crichton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -12663,12 +13335,12 @@ DEALINGS IN THE SOFTWARE. ==================== -rand_core 0.9.5 (MIT OR Apache-2.0) -https://github.com/rust-random/rand +lazy_static 1.5.1 (MIT OR Apache-2.0) +https://github.com/rust-lang-nursery/lazy-static.rs Apache License Version 2.0, January 2004 - https://www.apache.org/licenses/ + http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -12854,9 +13526,20 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. +Copyright [yyyy] [name of copyright owner] + +Licensed 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. -Copyright 2018 Developers of the Rand project -Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -12885,12 +13568,12 @@ DEALINGS IN THE SOFTWARE. ==================== -rand_core 0.10.1 (MIT OR Apache-2.0) -https://github.com/rust-random/rand_core +libc 0.2.189 (MIT OR Apache-2.0) +https://github.com/rust-lang/libc Apache License Version 2.0, January 2004 - https://www.apache.org/licenses/ + http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -13065,19 +13748,8 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS -APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - -Copyright (c) 2018-2026 The Rand Project Developers +Copyright (c) The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -13106,50 +13778,54 @@ DEALINGS IN THE SOFTWARE. ==================== -redox_syscall 0.5.18 (MIT) -https://gitlab.redox-os.org/redox-os/syscall - -Copyright (c) 2017 Redox OS Developers - -MIT License +libloading 0.9.0 (ISC) +https://github.com/nagisa/rust_libloading/ -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: +Copyright © 2015, Simonas Kazlauskas -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. +Permission to use, copy, modify, and/or distribute this software for any purpose with or without +fee is hereby granted, provided that the above copyright notice and this permission notice appear +in all copies. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE +AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. ==================== -ring 0.17.14 (Apache-2.0 AND ISC) -https://github.com/briansmith/ring +libm 0.2.16 (MIT) +https://github.com/rust-lang/compiler-builtins -*ring* uses an "ISC" license, like BoringSSL used to use, for new code -files. See LICENSE-other-bits for the text of that license. +rust-lang/libm as a whole is available for use under the MIT license: -See LICENSE-BoringSSL for code that was sourced from BoringSSL under the -Apache 2.0 license. Some code that was sourced from BoringSSL under the ISC -license. In each case, the license info is at the top of the file. +------------------------------------------------------------------------------ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -See src/polyfill/once_cell/LICENSE-APACHE and src/polyfill/once_cell/LICENSE-MIT -for the license to code that was sourced from the once_cell project. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +------------------------------------------------------------------------------ +As a contributor, you agree that your code can be used under either the MIT +license or the Apache-2.0 license: +------------------------------------------------------------------------------ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -13338,8 +14014,6 @@ for the license to code that was sourced from the once_cell project. same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] - Licensed 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 @@ -13351,103 +14025,51 @@ for the license to code that was sourced from the once_cell project. 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. +------------------------------------------------------------------------------ +This Rust library contains the following copyrights: -Licenses for support code -------------------------- + Copyright (c) 2018 Jorge Aparicio -Parts of the TLS test suite are under the Go license. This code is not included -in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so -distributing code linked against BoringSSL does not trigger this license: +Portions of this software are derived from third-party works licensed under +terms compatible with the above MIT license: -Copyright (c) 2009 The Go Authors. All rights reserved. +* musl libc https://www.musl-libc.org/. This library contains the following + copyright: -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: + Copyright © 2005-2020 Rich Felker, et al. - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. +* The CORE-MATH project https://core-math.gitlabpages.inria.fr/. CORE-MATH + routines are available under the MIT license on a per-file basis. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +The musl libc COPYRIGHT file also includes the following notice relevant to +math portions of the library: +------------------------------------------------------------------------------ +Much of the math library code (src/math/* and src/complex/*) is +Copyright © 1993,2004 Sun Microsystems or +Copyright © 2003-2011 David Schultz or +Copyright © 2003-2009 Steven G. Kargl or +Copyright © 2003-2009 Bruce D. Evans or +Copyright © 2008 Stephen L. Moshier or +Copyright © 2017-2018 Arm Limited +and labelled as such in comments in the individual source files. All +have been licensed under extremely permissive terms. +------------------------------------------------------------------------------ -BoringSSL uses the Chromium test infrastructure to run a continuous build, -trybots etc. The scripts which manage this, and the script for generating build -metadata, are under the Chromium license. Distributing code linked against -BoringSSL does not trigger this license. +Copyright notices are retained in src/* files where relevant. -Copyright 2015 The Chromium Authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: +==================== - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. +lock_api 0.4.14 (MIT OR Apache-2.0) +https://github.com/Amanieu/parking_lot -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - -Copyright 2015-2025 Brian Smith. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION -OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN -CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - -==================== - -rustc-hash 2.1.3 (Apache-2.0 OR MIT) -https://github.com/rust-lang/rustc-hash - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. @@ -13620,6 +14242,34 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2016 The Rust Project Developers + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the @@ -13644,10 +14294,11 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + ==================== -rustls 0.23.45 (Apache-2.0 OR ISC OR MIT) -https://github.com/rustls/rustls +log 0.4.35 (MIT OR Apache-2.0) +https://github.com/rust-lang/log Apache License Version 2.0, January 2004 @@ -13852,24 +14503,7 @@ See the License for the specific language governing permissions and limitations under the License. -ISC License (ISC) -Copyright (c) 2016, Joseph Birr-Pixton - -Permission to use, copy, modify, and/or distribute this software for -any purpose with or without fee is hereby granted, provided that the -above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL -WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE -AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL -DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR -PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS -ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF -THIS SOFTWARE. - - -Copyright (c) 2016 Joseph Birr-Pixton +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -13898,8 +14532,8 @@ DEALINGS IN THE SOFTWARE. ==================== -rustls-pki-types 1.15.1 (MIT OR Apache-2.0) -https://github.com/rustls/pki-types +md-5 0.10.6 (MIT OR Apache-2.0) +https://github.com/RustCrypto/hashes Apache License Version 2.0, January 2004 @@ -14089,13 +14723,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2023 Dirkjan Ochtman +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -14104,7 +14738,9 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2023 Dirkjan Ochtman +Copyright (c) 2006-2009 Graydon Hoare +Copyright (c) 2009-2013 Mozilla Foundation +Copyright (c) 2016 Artyom Pavlov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -14133,34 +14769,8 @@ DEALINGS IN THE SOFTWARE. ==================== -rustls-webpki 0.103.15 (ISC) -https://github.com/rustls/webpki - -Except as otherwise noted, this project is licensed under the following -(ISC-style) terms: - -Copyright 2015 Brian Smith. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -The files under third-party/chromium are licensed as described in -third-party/chromium/LICENSE. - - -==================== - -rustversion 1.0.23 (MIT OR Apache-2.0) -https://github.com/dtolnay/rustversion +mdns-sd 0.19.2 (Apache-2.0 OR MIT) +https://github.com/keepsimple1/mdns-sd Apache License Version 2.0, January 2004 @@ -14339,708 +14949,670 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. +Copyright [2021-2022] [Han Xu, keepsimple@gmail.com] -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. +Licensed 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. -scopeguard 1.2.0 (MIT OR Apache-2.0) -https://github.com/bluss/scopeguard - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +MIT License -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +Copyright (c) 2021-2022, Han Xu, keepsimple@gmail.com -1. Definitions. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. +==================== - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. +memchr 2.8.3 (Unlicense OR MIT) +https://github.com/BurntSushi/memchr - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. +This project is dual-licensed under the Unlicense and MIT licenses. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +You may use this code under the terms of either license. - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." +The MIT License (MIT) - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. +Copyright (c) 2015 Andrew Gallant -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and +==================== - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and +miniz_oxide 0.9.1 (MIT OR Zlib OR Apache-2.0) +https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. +MIT License - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. +Copyright 2013-2014 RAD Game Tools and Valve Software +Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC +Copyright (c) 2017 Frommi +Copyright (c) 2017-2024 oyvindln -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. -END OF TERMS AND CONDITIONS -APPENDIX: How to apply the Apache License to your work. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -Copyright [yyyy] [name of copyright owner] + 1. Definitions. -Licensed 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 + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - http://www.apache.org/licenses/LICENSE-2.0 + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -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. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. -Copyright (c) 2016-2019 Ulrik Sverdrup "bluss" and scopeguard developers + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -==================== + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -semver 1.0.28 (MIT OR Apache-2.0) -https://github.com/dtolnay/semver + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: -1. Definitions. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + END OF TERMS AND CONDITIONS -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +MIT License - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and +Copyright 2013-2014 RAD Game Tools and Valve Software +Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC +Copyright (c) 2017 Frommi +Copyright (c) 2017-2024 oyvindln - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. +Copyright 2013-2014 RAD Game Tools and Valve Software +Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC +Copyright (c) 2020 Frommi +Copyright (c) 2017-2024 oyvindln -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. -END OF TERMS AND CONDITIONS +3. This notice may not be removed or altered from any source distribution. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: +==================== -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. +mio 1.2.3 (MIT) +https://github.com/tokio-rs/mio -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. +Copyright (c) 2014 Carl Lerche and other MIO contributors +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -==================== +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -serde 1.0.229 (MIT OR Apache-2.0) -https://github.com/serde-rs/serde +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +==================== -1. Definitions. +mobile-dev-telemetry 0.1.0 (MIT) - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. +==================== - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. +napi 3.14.0 (MIT) +https://github.com/napi-rs/napi-rs - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. +==================== - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." +napi-build 2.6.0 (MIT) +https://github.com/napi-rs/napi-rs - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. +==================== -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +napi-derive 3.6.10 (MIT) +https://github.com/napi-rs/napi-rs - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and +==================== - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. +napi-derive-backend 6.1.4 (MIT) +https://github.com/napi-rs/napi-rs - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +==================== -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +napi-sys 3.4.0 (MIT) +https://github.com/napi-rs/napi-rs -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. -END OF TERMS AND CONDITIONS +==================== +nohash-hasher 0.2.0 (Apache-2.0 OR MIT) +https://github.com/paritytech/nohash-hasher -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. -==================== + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -serde_core 1.0.229 (MIT OR Apache-2.0) -https://github.com/serde-rs/serde + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. -1. Definitions. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + + +Copyright 2018 Parity Technologies (UK) Ltd. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +==================== + +ns-keyed-archive 0.1.5 (MIT OR Apache-2.0) +https://github.com/jkcoxson/ns_keyed_archive + + + +==================== + +nskeyedarchiver_converter 0.1.3 (MIT OR Apache-2.0) +https://github.com/michaelwright235/nskeyedarchiver_converter + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity @@ -15198,36 +15770,57 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. +Copyright 2024 Michael Wright -==================== +Licensed 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 -serde_derive 1.0.229 (MIT OR Apache-2.0) -https://github.com/serde-rs/serde + 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. + + +Copyright (c) 2024 Michael Wright + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +==================== + +num-bigint 0.4.8 (MIT OR Apache-2.0) +https://github.com/rust-num/num-bigint Apache License Version 2.0, January 2004 @@ -15406,6 +15999,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -15434,8 +16054,8 @@ DEALINGS IN THE SOFTWARE. ==================== -serde_json 1.0.151 (MIT OR Apache-2.0) -https://github.com/serde-rs/json +num-bigint-dig 0.8.6 (MIT/Apache-2.0) +https://github.com/dignifiedquire/num-bigint Apache License Version 2.0, January 2004 @@ -15614,44 +16234,24 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -shlex 2.0.1 (MIT OR Apache-2.0) -https://github.com/comex/rust-shlex + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -Copyright 2015 Nicholas Allegra (comex). +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -15660,63 +16260,7 @@ See the License for the specific language governing permissions and limitations under the License. -The MIT License (MIT) - -Copyright (c) 2015 Nicholas Allegra (comex). - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -==================== - -simd-adler32 0.3.10 (MIT) -https://github.com/mcountryman/simd-adler32 - -MIT License - -Copyright (c) [2021] [Marvin Countryman] - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -==================== - -slab 0.4.12 (MIT) -https://github.com/tokio-rs/slab - -Copyright (c) 2019 Carl Lerche +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -15745,77 +16289,282 @@ DEALINGS IN THE SOFTWARE. ==================== -smallvec 1.16.2 (MIT OR Apache-2.0) -https://github.com/servo/rust-smallvec - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +num-conv 0.2.2 (MIT OR Apache-2.0) +https://github.com/jhpratt/num-conv -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -1. Definitions. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + 1. Definitions. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + +Copyright (c) Jacob Pratt + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +num-integer 0.1.47 (MIT OR Apache-2.0) +https://github.com/rust-num/num-integer + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. @@ -15951,7 +16700,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2018 The Servo Project Developers +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -15980,8 +16729,8 @@ DEALINGS IN THE SOFTWARE. ==================== -socket2 0.6.5 (MIT OR Apache-2.0) -https://github.com/rust-lang/socket2 +num-iter 0.1.46 (MIT OR Apache-2.0) +https://github.com/rust-num/num-iter Apache License Version 2.0, January 2004 @@ -16186,7 +16935,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2014 Alex Crichton +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -16215,58 +16964,22 @@ DEALINGS IN THE SOFTWARE. ==================== -subtle 2.6.1 (BSD-3-Clause) -https://github.com/dalek-cryptography/subtle +num-traits 0.2.19 (MIT OR Apache-2.0) +https://github.com/rust-num/num-traits -Copyright (c) 2016-2017 Isis Agora Lovecruft, Henry de Valence. All rights reserved. -Copyright (c) 2016-2024 Isis Agora Lovecruft. All rights reserved. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -1. Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. +1. Definitions. -2. Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -3. Neither the name of the copyright holder nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -==================== - -syn 2.0.119 (MIT OR Apache-2.0) -https://github.com/dtolnay/syn - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common @@ -16431,6 +17144,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -16459,8 +17199,8 @@ DEALINGS IN THE SOFTWARE. ==================== -syn 3.0.6 (MIT OR Apache-2.0) -https://github.com/dtolnay/syn +once_cell 1.21.4 (MIT OR Apache-2.0) +https://github.com/matklad/once_cell Apache License Version 2.0, January 2004 @@ -16639,6 +17379,31 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -16667,8 +17432,8 @@ DEALINGS IN THE SOFTWARE. ==================== -thiserror 2.0.21 (MIT OR Apache-2.0) -https://github.com/dtolnay/thiserror +opaque-debug 0.3.1 (MIT OR Apache-2.0) +https://github.com/RustCrypto/utils Apache License Version 2.0, January 2004 @@ -16847,6 +17612,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2018-2024 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -16875,8 +17667,8 @@ DEALINGS IN THE SOFTWARE. ==================== -thiserror-impl 2.0.21 (MIT OR Apache-2.0) -https://github.com/dtolnay/thiserror +parking_lot 0.12.5 (MIT OR Apache-2.0) +https://github.com/Amanieu/parking_lot Apache License Version 2.0, January 2004 @@ -17055,6 +17847,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2016 The Rust Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -17083,418 +17902,478 @@ DEALINGS IN THE SOFTWARE. ==================== -time 0.3.55 (MIT OR Apache-2.0) -https://github.com/time-rs/time - +parking_lot_core 0.9.12 (MIT OR Apache-2.0) +https://github.com/Amanieu/parking_lot - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - 1. Definitions. +1. Definitions. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - END OF TERMS AND CONDITIONS +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. -Copyright (c) Jacob Pratt et al. +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +END OF TERMS AND CONDITIONS -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +APPENDIX: How to apply the Apache License to your work. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. +Copyright [yyyy] [name of copyright owner] -==================== +Licensed 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 -time-core 0.1.9 (MIT OR Apache-2.0) -https://github.com/time-rs/time + 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. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +Copyright (c) 2016 The Rust Project Developers - 1. Definitions. +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. +==================== - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. +pem-rfc7468 0.7.0 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/formats/tree/master/pem-rfc7468 - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." +1. Definitions. - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - END OF TERMS AND CONDITIONS + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and -Copyright (c) Jacob Pratt et al. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2021 The RustCrypto Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -time-macros 0.2.32 (MIT OR Apache-2.0) -https://github.com/time-rs/time +pin-project-lite 0.2.17 (Apache-2.0 OR MIT) +https://github.com/taiki-e/pin-project-lite Apache License @@ -17675,88 +18554,35 @@ https://github.com/time-rs/time END OF TERMS AND CONDITIONS -Copyright (c) Jacob Pratt et al. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -==================== - -tokio 1.53.1 (MIT) -https://github.com/tokio-rs/tokio - -MIT License - -Copyright (c) Tokio Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -==================== - -tokio-macros 2.7.2 (MIT) -https://github.com/tokio-rs/tokio - -MIT License - -Copyright (c) 2019 Yoshua Wuyts -Copyright (c) Tokio Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -tokio-rustls 0.26.6 (MIT OR Apache-2.0) -https://github.com/rustls/tokio-rustls +pin-utils 0.1.1 (MIT OR Apache-2.0) +https://github.com/rust-lang/pin-utils Apache License Version 2.0, January 2004 @@ -17946,7 +18772,7 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2017 quininer kel +Copyright 2018 The pin-utils authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17961,7 +18787,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2017 quininer kel +Copyright (c) 2018 The pin-utils authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -17990,117 +18816,19 @@ DEALINGS IN THE SOFTWARE. ==================== -tracing 0.1.44 (MIT) -https://github.com/tokio-rs/tracing +pkcs1 0.7.5 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/formats/tree/master/pkcs1 -Copyright (c) 2019 Tokio Contributors + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. +1. Definitions. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -tracing-attributes 0.1.31 (MIT) -https://github.com/tokio-rs/tracing - -Copyright (c) 2019 Tokio Contributors - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -tracing-core 0.1.36 (MIT) -https://github.com/tokio-rs/tracing - -Copyright (c) 2019 Tokio Contributors - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -typenum 1.20.1 (MIT OR Apache-2.0) -https://github.com/paholg/typenum - -MIT OR Apache-2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. @@ -18279,13 +19007,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2014 Paho Lurie-Gregg +Copyright [yyyy] [name of copyright owner] Licensed 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 + 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, @@ -18293,33 +19021,38 @@ 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. -The MIT License (MIT) -Copyright (c) 2014 Paho Lurie-Gregg +Copyright (c) 2021-2023 The RustCrypto Project Developers -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. ==================== -unicode-ident 1.0.26 ((MIT OR Apache-2.0) AND Unicode-3.0) -https://github.com/dtolnay/unicode-ident +pkcs8 0.10.2 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/formats/tree/master/pkcs8 Apache License Version 2.0, January 2004 @@ -18498,6 +19231,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2020-2023 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -18524,51 +19284,42 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -UNICODE LICENSE V3 +==================== -COPYRIGHT AND PERMISSION NOTICE +plist 1.10.1 (MIT) +https://github.com/ebarnard/rust-plist/ -Copyright © 1991-2023 Unicode, Inc. +Copyright (c) 2015 Edward Barnard -NOTICE TO USER: Carefully read the following legal agreement. BY -DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR -SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE -TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT -DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -Permission is hereby granted, free of charge, to any person obtaining a -copy of data files and any associated documentation (the "Data Files") or -software and any associated documentation (the "Software") to deal in the -Data Files or Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, and/or sell -copies of the Data Files or Software, and to permit persons to whom the -Data Files or Software are furnished to do so, provided that either (a) -this copyright and permission notice appear with all copies of the Data -Files or Software, or (b) this copyright and permission notice appear in -associated Documentation. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY -KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF -THIRD PARTY RIGHTS. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE -BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, -OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA -FILES OR SOFTWARE. +==================== + +plist-macro 0.1.6 (MIT) +https://github.com/jkcoxson/plist_macro -Except as contained in this notice, the name of a copyright holder shall -not be used in advertising or otherwise to promote the sale, use or other -dealings in these Data Files or Software without prior written -authorization of the copyright holder. ==================== -unicode-segmentation 1.13.3 (MIT OR Apache-2.0) -https://github.com/unicode-rs/unicode-segmentation +poly1305 0.8.0 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/universal-hashes Apache License Version 2.0, January 2004 @@ -18764,7 +19515,7 @@ Licensed 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 + 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, @@ -18773,7 +19524,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2015 The Rust Project Developers +Copyright (c) 2015-2019 RustCrypto Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -18802,39 +19553,249 @@ DEALINGS IN THE SOFTWARE. ==================== -untrusted 0.9.0 (ISC) -https://github.com/briansmith/untrusted +powerfmt 0.2.0 (MIT OR Apache-2.0) +https://github.com/jhpratt/powerfmt -// Copyright 2015-2016 Brian Smith. -// -// Permission to use, copy, modify, and/or distribute this software for any -// purpose with or without fee is hereby granted, provided that the above -// copyright notice and this permission notice appear in all copies. -// -// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES -// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR -// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -==================== + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -uuid 1.26.1 (Apache-2.0 OR MIT) -https://github.com/uuid-rs/uuid + 1. Definitions. - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -1. Definitions. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2023 Jacob Pratt et al. + + Licensed 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. + + +Copyright (c) 2023 Jacob Pratt et al. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +ppv-lite86 0.2.21 (MIT OR Apache-2.0) +https://github.com/cryptocorrosion/cryptocorrosion + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. @@ -19013,13 +19974,13 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright [yyyy] [name of copyright owner] +Copyright 2019 The CryptoCorrosion Contributors Licensed 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 + 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, @@ -19028,8 +19989,7 @@ See the License for the specific language governing permissions and limitations under the License. -Copyright (c) 2014 The Rust Project Developers -Copyright (c) 2018 Ashley Mannix, Christopher Armstrong, Dylan DPC, Hunar Roop Kahlon +Copyright (c) 2019 The CryptoCorrosion Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -19058,8 +20018,8 @@ DEALINGS IN THE SOFTWARE. ==================== -version_check 0.9.5 (MIT/Apache-2.0) -https://github.com/SergioBenitez/version_check +proc-macro2 1.0.107 (MIT OR Apache-2.0) +https://github.com/dtolnay/proc-macro2 Apache License Version 2.0, January 2004 @@ -19238,57 +20198,66 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS -APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - -Copyright [yyyy] [name of copyright owner] -Licensed 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 +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: - http://www.apache.org/licenses/LICENSE-2.0 +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -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. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== +quick-xml 0.42.0 (MIT) +https://github.com/tafia/quick-xml The MIT License (MIT) -Copyright (c) 2017-2018 Sergio Benitez -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: +Copyright (c) 2016 Johann Tuffe + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. ==================== -wasi 0.11.1+wasi-snapshot-preview1 (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) -https://github.com/bytecodealliance/wasi +quote 1.0.47 (MIT OR Apache-2.0) +https://github.com/dtolnay/quote Apache License Version 2.0, January 2004 @@ -19465,34 +20434,12951 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. -END OF TERMS AND CONDITIONS +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +r-efi 5.3.0 (MIT OR Apache-2.0 OR LGPL-2.1-or-later) +https://github.com/r-efi/r-efi + + + +==================== + +r-efi 6.0.0 (MIT OR Apache-2.0 OR LGPL-2.1-or-later) +https://github.com/r-efi/r-efi + + + +==================== + +rand 0.8.8 (MIT OR Apache-2.0) +https://github.com/rust-random/rand + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Copyright 2018 Developers of the Rand project +Copyright (c) 2014 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rand 0.9.5 (MIT OR Apache-2.0) +https://github.com/rust-random/rand + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Copyright 2018 Developers of the Rand project +Copyright (c) 2014 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rand 0.10.3 (MIT OR Apache-2.0) +https://github.com/rust-random/rand + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Copyright 2018 Developers of the Rand project +Copyright (c) 2014 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rand_chacha 0.3.1 (MIT OR Apache-2.0) +https://github.com/rust-random/rand + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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 + + https://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. + + +Copyright 2018 Developers of the Rand project +Copyright (c) 2014 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rand_chacha 0.9.0 (MIT OR Apache-2.0) +https://github.com/rust-random/rand + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Copyright 2018 Developers of the Rand project +Copyright (c) 2014 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rand_core 0.6.4 (MIT OR Apache-2.0) +https://github.com/rust-random/rand + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + +Copyright 2018 Developers of the Rand project +Copyright (c) 2014 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rand_core 0.9.5 (MIT OR Apache-2.0) +https://github.com/rust-random/rand + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + +Copyright 2018 Developers of the Rand project +Copyright (c) 2014 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rand_core 0.10.1 (MIT OR Apache-2.0) +https://github.com/rust-random/rand_core + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + +Copyright (c) 2018-2026 The Rand Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +redox_syscall 0.5.18 (MIT) +https://gitlab.redox-os.org/redox-os/syscall + +Copyright (c) 2017 Redox OS Developers + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +==================== + +ring 0.17.14 (Apache-2.0 AND ISC) +https://github.com/briansmith/ring + +*ring* uses an "ISC" license, like BoringSSL used to use, for new code +files. See LICENSE-other-bits for the text of that license. + +See LICENSE-BoringSSL for code that was sourced from BoringSSL under the +Apache 2.0 license. Some code that was sourced from BoringSSL under the ISC +license. In each case, the license info is at the top of the file. + +See src/polyfill/once_cell/LICENSE-APACHE and src/polyfill/once_cell/LICENSE-MIT +for the license to code that was sourced from the once_cell project. + + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + + +Licenses for support code +------------------------- + +Parts of the TLS test suite are under the Go license. This code is not included +in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so +distributing code linked against BoringSSL does not trigger this license: + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +BoringSSL uses the Chromium test infrastructure to run a continuous build, +trybots etc. The scripts which manage this, and the script for generating build +metadata, are under the Chromium license. Distributing code linked against +BoringSSL does not trigger this license. + +Copyright 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +Copyright 2015-2025 Brian Smith. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION +OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +==================== + +rsa 0.9.10 (MIT OR Apache-2.0) +https://github.com/RustCrypto/RSA + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +==================== + +rustc-hash 2.1.3 (Apache-2.0 OR MIT) +https://github.com/rust-lang/rustc-hash + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +==================== + +rustc_version 0.4.1 (MIT OR Apache-2.0) +https://github.com/djc/rustc-version-rs + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2016 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rustls 0.23.45 (Apache-2.0 OR ISC OR MIT) +https://github.com/rustls/rustls + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +ISC License (ISC) +Copyright (c) 2016, Joseph Birr-Pixton + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted, provided that the +above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE +AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL +DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR +PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS +ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + + +Copyright (c) 2016 Joseph Birr-Pixton + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rustls-pki-types 1.15.1 (MIT OR Apache-2.0) +https://github.com/rustls/pki-types + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright 2023 Dirkjan Ochtman + +Licensed 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. + + +Copyright (c) 2023 Dirkjan Ochtman + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +rustls-webpki 0.103.15 (ISC) +https://github.com/rustls/webpki + +Except as otherwise noted, this project is licensed under the following +(ISC-style) terms: + +Copyright 2015 Brian Smith. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +The files under third-party/chromium are licensed as described in +third-party/chromium/LICENSE. + + +==================== + +rustversion 1.0.23 (MIT OR Apache-2.0) +https://github.com/dtolnay/rustversion + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +scopeguard 1.2.0 (MIT OR Apache-2.0) +https://github.com/bluss/scopeguard + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2016-2019 Ulrik Sverdrup "bluss" and scopeguard developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +semver 1.0.28 (MIT OR Apache-2.0) +https://github.com/dtolnay/semver + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +serde 1.0.229 (MIT OR Apache-2.0) +https://github.com/serde-rs/serde + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +serde_core 1.0.229 (MIT OR Apache-2.0) +https://github.com/serde-rs/serde + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +serde_derive 1.0.229 (MIT OR Apache-2.0) +https://github.com/serde-rs/serde + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +serde_json 1.0.151 (MIT OR Apache-2.0) +https://github.com/serde-rs/json + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +sha1 0.10.7 (MIT OR Apache-2.0) +https://github.com/RustCrypto/hashes + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2006-2009 Graydon Hoare +Copyright (c) 2009-2013 Mozilla Foundation +Copyright (c) 2016 Artyom Pavlov + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +sha2 0.10.9 (MIT OR Apache-2.0) +https://github.com/RustCrypto/hashes + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2006-2009 Graydon Hoare +Copyright (c) 2009-2013 Mozilla Foundation +Copyright (c) 2016 Artyom Pavlov + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +shlex 2.0.1 (MIT OR Apache-2.0) +https://github.com/comex/rust-shlex + +Copyright 2015 Nicholas Allegra (comex). + +Licensed 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. + + +The MIT License (MIT) + +Copyright (c) 2015 Nicholas Allegra (comex). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +==================== + +signature 2.2.0 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/traits/tree/master/signature + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2018-2023 RustCrypto Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +simd-adler32 0.3.10 (MIT) +https://github.com/mcountryman/simd-adler32 + +MIT License + +Copyright (c) [2021] [Marvin Countryman] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +siphasher 1.0.4 (MIT OR Apache-2.0) +https://github.com/jedisct1/rust-siphash + +Copyright 2012-2016 The Rust Project Developers. +Copyright 2016-2026 Frank Denis. + +Licensed under the Apache License, Version 2.0 or the MIT license +, at your +option. + + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +slab 0.4.12 (MIT) +https://github.com/tokio-rs/slab + +Copyright (c) 2019 Carl Lerche + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +smallvec 1.16.2 (MIT OR Apache-2.0) +https://github.com/servo/rust-smallvec + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2018 The Servo Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +socket-pktinfo 0.3.2 (MIT) +https://github.com/pixsper/socket-pktinfo + +MIT License + +Copyright (c) 2025 Pixsper + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +socket2 0.6.5 (MIT OR Apache-2.0) +https://github.com/rust-lang/socket2 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 Alex Crichton + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +spin 0.9.9 (MIT) +https://github.com/mvdnes/spin-rs.git + +The MIT License (MIT) + +Copyright (c) 2014 Mathijs van de Nes + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +==================== + +spki 0.7.3 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/formats/tree/master/spki + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2021-2023 The RustCrypto Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +subtle 2.6.1 (BSD-3-Clause) +https://github.com/dalek-cryptography/subtle + +Copyright (c) 2016-2017 Isis Agora Lovecruft, Henry de Valence. All rights reserved. +Copyright (c) 2016-2024 Isis Agora Lovecruft. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +==================== + +syn 2.0.119 (MIT OR Apache-2.0) +https://github.com/dtolnay/syn + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +syn 3.0.6 (MIT OR Apache-2.0) +https://github.com/dtolnay/syn + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +thiserror 2.0.21 (MIT OR Apache-2.0) +https://github.com/dtolnay/thiserror + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +thiserror-impl 2.0.21 (MIT OR Apache-2.0) +https://github.com/dtolnay/thiserror + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +time 0.3.55 (MIT OR Apache-2.0) +https://github.com/time-rs/time + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + +Copyright (c) Jacob Pratt et al. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +time-core 0.1.9 (MIT OR Apache-2.0) +https://github.com/time-rs/time + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + +Copyright (c) Jacob Pratt et al. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +time-macros 0.2.32 (MIT OR Apache-2.0) +https://github.com/time-rs/time + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + +Copyright (c) Jacob Pratt et al. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +tokio 1.53.1 (MIT) +https://github.com/tokio-rs/tokio + +MIT License + +Copyright (c) Tokio Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +tokio-macros 2.7.2 (MIT) +https://github.com/tokio-rs/tokio + +MIT License + +Copyright (c) 2019 Yoshua Wuyts +Copyright (c) Tokio Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +tokio-rustls 0.26.6 (MIT OR Apache-2.0) +https://github.com/rustls/tokio-rustls + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright 2017 quininer kel + +Licensed 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. + + +Copyright (c) 2017 quininer kel + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +tracing 0.1.44 (MIT) +https://github.com/tokio-rs/tracing + +Copyright (c) 2019 Tokio Contributors + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +tracing-attributes 0.1.31 (MIT) +https://github.com/tokio-rs/tracing + +Copyright (c) 2019 Tokio Contributors + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +tracing-core 0.1.36 (MIT) +https://github.com/tokio-rs/tracing + +Copyright (c) 2019 Tokio Contributors + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +typenum 1.20.1 (MIT OR Apache-2.0) +https://github.com/paholg/typenum + +MIT OR Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright 2014 Paho Lurie-Gregg + +Licensed 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. + +The MIT License (MIT) + +Copyright (c) 2014 Paho Lurie-Gregg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +unicode-ident 1.0.26 ((MIT OR Apache-2.0) AND Unicode-3.0) +https://github.com/dtolnay/unicode-ident + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +UNICODE LICENSE V3 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 1991-2023 Unicode, Inc. + +NOTICE TO USER: Carefully read the following legal agreement. BY +DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR +SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE +TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT +DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of data files and any associated documentation (the "Data Files") or +software and any associated documentation (the "Software") to deal in the +Data Files or Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, and/or sell +copies of the Data Files or Software, and to permit persons to whom the +Data Files or Software are furnished to do so, provided that either (a) +this copyright and permission notice appear with all copies of the Data +Files or Software, or (b) this copyright and permission notice appear in +associated Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF +THIRD PARTY RIGHTS. + +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE +BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA +FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in these Data Files or Software without prior written +authorization of the copyright holder. + + +==================== + +unicode-segmentation 1.13.3 (MIT OR Apache-2.0) +https://github.com/unicode-rs/unicode-segmentation + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2015 The Rust Project Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +universal-hash 0.5.1 (MIT OR Apache-2.0) +https://github.com/RustCrypto/traits + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2019-2020 RustCrypto Developers + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +untrusted 0.9.0 (ISC) +https://github.com/briansmith/untrusted + +// Copyright 2015-2016 Brian Smith. +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES +// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR +// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +==================== + +uuid 1.26.1 (Apache-2.0 OR MIT) +https://github.com/uuid-rs/uuid + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 The Rust Project Developers +Copyright (c) 2018 Ashley Mannix, Christopher Armstrong, Dylan DPC, Hunar Roop Kahlon + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +version_check 0.9.5 (MIT/Apache-2.0) +https://github.com/SergioBenitez/version_check + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +The MIT License (MIT) +Copyright (c) 2017-2018 Sergio Benitez + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +==================== + +wasi 0.11.1+wasi-snapshot-preview1 (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) +https://github.com/bytecodealliance/wasi + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + + +--- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +wasip2 1.0.4+wasi-0.2.12 (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) +https://github.com/bytecodealliance/wasi-rs + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + + +--- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + + + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +wasm-bindgen 0.2.129 (MIT OR Apache-2.0) +https://github.com/wasm-bindgen/wasm-bindgen + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 Alex Crichton + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +wasm-bindgen-futures 0.4.79 (MIT OR Apache-2.0) +https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/futures + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 Alex Crichton + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +wasm-bindgen-macro 0.2.129 (MIT OR Apache-2.0) +https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/macro + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 Alex Crichton + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +wasm-bindgen-macro-support 0.2.129 (MIT OR Apache-2.0) +https://github.com/wasm-bindgen/wasm-bindgen/tree/main/crates/macro-support + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 Alex Crichton + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +wasm-bindgen-shared 0.2.129 (MIT OR Apache-2.0) +https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/shared + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed 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. + + +Copyright (c) 2014 Alex Crichton + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +==================== + +wasmtimer 0.4.3 (MIT) +https://github.com/whizsid/wasmtimer-rs + +Copyright 2019 Pierre Krieger +Copyright (c) 2019 Tokio Contributors +Copyright 2023 Ramesh Kithsiri + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +==================== + +web-time 1.1.0 (MIT OR Apache-2.0) +https://github.com/daxpedda/web-time + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2023 dAxpeDDa + + Licensed 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. + + +MIT License + +Copyright (c) 2023 dAxpeDDa + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +==================== + +windows-link 0.2.1 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) Microsoft Corporation. + + Licensed 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. + + + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +==================== + +windows-sys 0.52.0 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) Microsoft Corporation. + + Licensed 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. + + + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +==================== + +windows-sys 0.60.2 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) Microsoft Corporation. + + Licensed 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 -APPENDIX: How to apply the Apache License to your work. + 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. - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. -Copyright [yyyy] [name of copyright owner] + MIT License -Licensed 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 + Copyright (c) Microsoft Corporation. - http://www.apache.org/licenses/LICENSE-2.0 + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -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. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE +==================== + +windows-sys 0.61.2 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs Apache License Version 2.0, January 2004 @@ -19675,279 +33561,55 @@ limitations under the License. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed 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. - - ---- LLVM Exceptions to the Apache 2.0 License ---- - -As an exception, if, as a result of your compiling your source code, portions -of this Software are embedded into an Object form of such source code, you -may redistribute such embedded portions in such Object form without complying -with the conditions of Sections 4(a), 4(b) and 4(d) of the License. - -In addition, if you combine or link compiled forms of this Software with -software that is licensed under the GPLv2 ("Combined Software") and if a -court of competent jurisdiction determines that the patent provision (Section -3), the indemnity provision (Section 9) or other Section of the License -conflicts with the conditions of the GPLv2, you may retroactively and -prospectively choose to deem waived or otherwise exclude such Section(s) of -the License, but only in their entirety and only with respect to the Combined -Software. - - - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. - - -==================== - -wasip2 1.0.4+wasi-0.2.12 (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) -https://github.com/bytecodealliance/wasi-rs - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + Copyright (c) Microsoft Corporation. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + Licensed 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 -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. + http://www.apache.org/licenses/LICENSE-2.0 -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + 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. -END OF TERMS AND CONDITIONS -APPENDIX: How to apply the Apache License to your work. + MIT License - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + Copyright (c) Microsoft Corporation. -Copyright [yyyy] [name of copyright owner] + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -Licensed 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 + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. - http://www.apache.org/licenses/LICENSE-2.0 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE -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. +==================== +windows-targets 0.52.6 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs Apache License Version 2.0, January 2004 @@ -20137,7 +33799,7 @@ limitations under the License. same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright (c) Microsoft Corporation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -20152,1255 +33814,1188 @@ limitations under the License. limitations under the License. ---- LLVM Exceptions to the Apache 2.0 License ---- - -As an exception, if, as a result of your compiling your source code, portions -of this Software are embedded into an Object form of such source code, you -may redistribute such embedded portions in such Object form without complying -with the conditions of Sections 4(a), 4(b) and 4(d) of the License. - -In addition, if you combine or link compiled forms of this Software with -software that is licensed under the GPLv2 ("Combined Software") and if a -court of competent jurisdiction determines that the patent provision (Section -3), the indemnity provision (Section 9) or other Section of the License -conflicts with the conditions of the GPLv2, you may retroactively and -prospectively choose to deem waived or otherwise exclude such Section(s) of -the License, but only in their entirety and only with respect to the Combined -Software. - + MIT License + Copyright (c) Microsoft Corporation. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE ==================== -wasm-bindgen 0.2.129 (MIT OR Apache-2.0) -https://github.com/wasm-bindgen/wasm-bindgen - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +windows-targets 0.53.5 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + 1. Definitions. -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: -END OF TERMS AND CONDITIONS + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and -APPENDIX: How to apply the Apache License to your work. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and -Copyright [yyyy] [name of copyright owner] + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. -Licensed 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 + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - http://www.apache.org/licenses/LICENSE-2.0 + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. -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. + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. -Copyright (c) 2014 Alex Crichton + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: + END OF TERMS AND CONDITIONS -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. + APPENDIX: How to apply the Apache License to your work. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + Copyright (c) Microsoft Corporation. -==================== + Licensed 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 -wasm-bindgen-futures 0.4.79 (MIT OR Apache-2.0) -https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/futures + http://www.apache.org/licenses/LICENSE-2.0 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + 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. -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -1. Definitions. + MIT License - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + Copyright (c) Microsoft Corporation. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. +==================== - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +windows_aarch64_gnullvm 0.52.6 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + 1. Definitions. -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: -END OF TERMS AND CONDITIONS + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and -APPENDIX: How to apply the Apache License to your work. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and -Copyright [yyyy] [name of copyright owner] + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. -Licensed 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 + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - http://www.apache.org/licenses/LICENSE-2.0 + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. -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. + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. -Copyright (c) 2014 Alex Crichton + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. + END OF TERMS AND CONDITIONS -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + APPENDIX: How to apply the Apache License to your work. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -==================== + Copyright (c) Microsoft Corporation. -wasm-bindgen-macro 0.2.129 (MIT OR Apache-2.0) -https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/macro + Licensed 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 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + http://www.apache.org/licenses/LICENSE-2.0 -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 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. -1. Definitions. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + MIT License - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + Copyright (c) Microsoft Corporation. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +==================== - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. +windows_aarch64_gnullvm 0.53.1 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + 1. Definitions. -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and -END OF TERMS AND CONDITIONS + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and -APPENDIX: How to apply the Apache License to your work. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. -Copyright [yyyy] [name of copyright owner] + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. -Licensed 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 + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - http://www.apache.org/licenses/LICENSE-2.0 + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. -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. + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. -Copyright (c) 2014 Alex Crichton + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: + END OF TERMS AND CONDITIONS -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. + APPENDIX: How to apply the Apache License to your work. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + Copyright (c) Microsoft Corporation. -==================== + Licensed 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 -wasm-bindgen-macro-support 0.2.129 (MIT OR Apache-2.0) -https://github.com/wasm-bindgen/wasm-bindgen/tree/main/crates/macro-support + http://www.apache.org/licenses/LICENSE-2.0 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + 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. -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -1. Definitions. + MIT License - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + Copyright (c) Microsoft Corporation. - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. +==================== - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +windows_aarch64_msvc 0.52.6 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + 1. Definitions. -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: -END OF TERMS AND CONDITIONS + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and -APPENDIX: How to apply the Apache License to your work. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and -Copyright [yyyy] [name of copyright owner] + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. -Licensed 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 + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - http://www.apache.org/licenses/LICENSE-2.0 + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. -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. + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. -Copyright (c) 2014 Alex Crichton + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. + END OF TERMS AND CONDITIONS -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + APPENDIX: How to apply the Apache License to your work. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -==================== + Copyright (c) Microsoft Corporation. -wasm-bindgen-shared 0.2.129 (MIT OR Apache-2.0) -https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/shared + Licensed 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 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + http://www.apache.org/licenses/LICENSE-2.0 -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 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. -1. Definitions. - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. + MIT License - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. + Copyright (c) Microsoft Corporation. - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +==================== - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. +windows_aarch64_msvc 0.53.1 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + 1. Definitions. -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and -END OF TERMS AND CONDITIONS + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and -APPENDIX: How to apply the Apache License to your work. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. -Copyright [yyyy] [name of copyright owner] + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. -Licensed 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 + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. - http://www.apache.org/licenses/LICENSE-2.0 + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. -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. + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -Copyright (c) 2014 Alex Crichton + END OF TERMS AND CONDITIONS -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: + APPENDIX: How to apply the Apache License to your work. -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. + Copyright (c) Microsoft Corporation. + + Licensed 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. -wasmtimer 0.4.3 (MIT) -https://github.com/whizsid/wasmtimer-rs -Copyright 2019 Pierre Krieger -Copyright (c) 2019 Tokio Contributors -Copyright 2023 Ramesh Kithsiri + MIT License -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: + Copyright (c) Microsoft Corporation. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS -OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE ==================== -web-time 1.1.0 (MIT OR Apache-2.0) -https://github.com/daxpedda/web-time +windows_i686_gnu 0.52.6 (MIT OR Apache-2.0) +https://github.com/microsoft/windows-rs Apache License Version 2.0, January 2004 @@ -21590,7 +35185,7 @@ https://github.com/daxpedda/web-time same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2023 dAxpeDDa + Copyright (c) Microsoft Corporation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21605,32 +35200,32 @@ https://github.com/daxpedda/web-time limitations under the License. -MIT License + MIT License -Copyright (c) 2023 dAxpeDDa + Copyright (c) Microsoft Corporation. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE ==================== -windows-link 0.2.1 (MIT OR Apache-2.0) +windows_i686_gnu 0.53.1 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -21861,7 +35456,7 @@ https://github.com/microsoft/windows-rs ==================== -windows-sys 0.52.0 (MIT OR Apache-2.0) +windows_i686_gnullvm 0.52.6 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -22092,7 +35687,7 @@ https://github.com/microsoft/windows-rs ==================== -windows-sys 0.61.2 (MIT OR Apache-2.0) +windows_i686_gnullvm 0.53.1 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -22323,7 +35918,7 @@ https://github.com/microsoft/windows-rs ==================== -windows-targets 0.52.6 (MIT OR Apache-2.0) +windows_i686_msvc 0.52.6 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -22554,7 +36149,7 @@ https://github.com/microsoft/windows-rs ==================== -windows_aarch64_gnullvm 0.52.6 (MIT OR Apache-2.0) +windows_i686_msvc 0.53.1 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -22785,7 +36380,7 @@ https://github.com/microsoft/windows-rs ==================== -windows_aarch64_msvc 0.52.6 (MIT OR Apache-2.0) +windows_x86_64_gnu 0.52.6 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -23016,7 +36611,7 @@ https://github.com/microsoft/windows-rs ==================== -windows_i686_gnu 0.52.6 (MIT OR Apache-2.0) +windows_x86_64_gnu 0.53.1 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -23247,7 +36842,7 @@ https://github.com/microsoft/windows-rs ==================== -windows_i686_gnullvm 0.52.6 (MIT OR Apache-2.0) +windows_x86_64_gnullvm 0.52.6 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -23478,7 +37073,7 @@ https://github.com/microsoft/windows-rs ==================== -windows_i686_msvc 0.52.6 (MIT OR Apache-2.0) +windows_x86_64_gnullvm 0.53.1 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -23709,7 +37304,7 @@ https://github.com/microsoft/windows-rs ==================== -windows_x86_64_gnu 0.52.6 (MIT OR Apache-2.0) +windows_x86_64_msvc 0.52.6 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -23940,7 +37535,7 @@ https://github.com/microsoft/windows-rs ==================== -windows_x86_64_gnullvm 0.52.6 (MIT OR Apache-2.0) +windows_x86_64_msvc 0.53.1 (MIT OR Apache-2.0) https://github.com/microsoft/windows-rs Apache License @@ -24107,72 +37702,276 @@ https://github.com/microsoft/windows-rs other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) Microsoft Corporation. + + Licensed 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. + + + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +==================== + +wit-bindgen 0.57.1 (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) +https://github.com/bytecodealliance/wit-bindgen + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: - END OF TERMS AND CONDITIONS + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and - APPENDIX: How to apply the Apache License to your work. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and - Copyright (c) Microsoft Corporation. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. - Licensed 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 + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. - http://www.apache.org/licenses/LICENSE-2.0 +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. - 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. +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. - MIT License +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. - Copyright (c) Microsoft Corporation. +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +END OF TERMS AND CONDITIONS - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +APPENDIX: How to apply the Apache License to your work. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. +Copyright [yyyy] [name of copyright owner] + +Licensed 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. -==================== -windows_x86_64_msvc 0.52.6 (MIT OR Apache-2.0) -https://github.com/microsoft/windows-rs Apache License Version 2.0, January 2004 @@ -24362,7 +38161,7 @@ https://github.com/microsoft/windows-rs same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright (c) Microsoft Corporation. + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -24372,242 +38171,94 @@ https://github.com/microsoft/windows-rs 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. - - - MIT License - - Copyright (c) Microsoft Corporation. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE - - -==================== - -wit-bindgen 0.57.1 (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) -https://github.com/bytecodealliance/wit-bindgen - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. + 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. -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +--- LLVM Exceptions to the Apache 2.0 License ---- - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +==================== -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +x25519-dalek 2.0.1 (BSD-3-Clause) +https://github.com/dalek-cryptography/curve25519-dalek/tree/main/x25519-dalek -END OF TERMS AND CONDITIONS +Copyright (c) 2017-2021 isis agora lovecruft. All rights reserved. +Copyright (c) 2019-2021 DebugSteven. All rights reserved. -APPENDIX: How to apply the Apache License to your work. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. -Copyright [yyyy] [name of copyright owner] +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. -Licensed 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 +3. Neither the name of the copyright holder nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. - http://www.apache.org/licenses/LICENSE-2.0 +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -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. +==================== +zerocopy 0.8.59 (BSD-2-Clause OR Apache-2.0 OR MIT) +https://github.com/google/zerocopy Apache License Version 2.0, January 2004 @@ -24797,7 +38448,7 @@ limitations under the License. same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2023 The Fuchsia Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -24812,23 +38463,34 @@ limitations under the License. limitations under the License. ---- LLVM Exceptions to the Apache 2.0 License ---- -As an exception, if, as a result of your compiling your source code, portions -of this Software are embedded into an Object form of such source code, you -may redistribute such embedded portions in such Object form without complying -with the conditions of Sections 4(a), 4(b) and 4(d) of the License. +Copyright 2019 The Fuchsia Authors. -In addition, if you combine or link compiled forms of this Software with -software that is licensed under the GPLv2 ("Combined Software") and if a -court of competent jurisdiction determines that the patent provision (Section -3), the indemnity provision (Section 9) or other Section of the License -conflicts with the conditions of the GPLv2, you may retroactively and -prospectively choose to deem waived or otherwise exclude such Section(s) of -the License, but only in their entirety and only with respect to the Combined -Software. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Copyright 2023 The Fuchsia Authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -24855,9 +38517,10 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + ==================== -zerocopy 0.8.59 (BSD-2-Clause OR Apache-2.0 OR MIT) +zerocopy-derive 0.8.59 (BSD-2-Clause OR Apache-2.0 OR MIT) https://github.com/google/zerocopy Apache License @@ -25120,8 +38783,9 @@ DEALINGS IN THE SOFTWARE. ==================== -zerocopy-derive 0.8.59 (BSD-2-Clause OR Apache-2.0 OR MIT) -https://github.com/google/zerocopy +zeroize 1.9.0 (Apache-2.0 OR MIT) +https://github.com/RustCrypto/utils + Apache License Version 2.0, January 2004 @@ -25311,7 +38975,7 @@ https://github.com/google/zerocopy same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2023 The Fuchsia Authors + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -25326,34 +38990,7 @@ https://github.com/google/zerocopy limitations under the License. - -Copyright 2019 The Fuchsia Authors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -Copyright 2023 The Fuchsia Authors +Copyright (c) 2018-2026 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated @@ -25380,10 +39017,9 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ==================== -zeroize 1.9.0 (Apache-2.0 OR MIT) +zeroize_derive 1.5.0 (Apache-2.0 OR MIT) https://github.com/RustCrypto/utils @@ -25590,7 +39226,7 @@ https://github.com/RustCrypto/utils limitations under the License. -Copyright (c) 2018-2026 The RustCrypto Project Developers +Copyright (c) 2019-2026 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated diff --git a/packages/shared/src/apple-os.ts b/packages/shared/src/apple-os.ts new file mode 100644 index 000000000..7d4fcb763 --- /dev/null +++ b/packages/shared/src/apple-os.ts @@ -0,0 +1,52 @@ +/** The Apple OS family a device or app runs. The e2e runner has no TV platform, so tvOS stays `platform: "ios"`. */ +export type AppleOs = "ios" | "tvos"; + +/** The simulator runtime names a tvOS simulator, as a Baguette or simctl listing spells it ("tvOS 18.0"). */ +export function isTvOSRuntime(runtime: string | undefined): boolean { + return runtime?.startsWith("tvOS ") === true; +} + +/** The OS family of a simulator runtime; anything that is not tvOS is treated as iOS. */ +export function appleOsOfRuntime(runtime: string | undefined): AppleOs { + return isTvOSRuntime(runtime) ? "tvos" : "ios"; +} + +/** The OS family an installed app's `DTPlatformName` names, or undefined when it names neither. */ +export function appleOsOfPlatformName(name: string | undefined): AppleOs | undefined { + if (name === "appletvsimulator" || name === "appletvos") return "tvos"; + if (name === "iphonesimulator" || name === "iphoneos") return "ios"; + return undefined; +} + +/** The device product-directory suffix Xcode builds an OS family into: Debug-iphoneos, Debug-appletvos. */ +export function xcodeSdkSuffixes(os: AppleOs): string[] { + return [os === "tvos" ? "-appletvos" : "-iphoneos"]; +} + +/** Whether a project's native files target tvOS: a Podfile `platform :tvos` or a project `SDKROOT = appletvos`. */ +export function nativeSourceTargetsTvOS(source: string, file: "podfile" | "pbxproj"): boolean { + return file === "podfile" + ? /^\s*platform\s+:tvos\b/m.test(source) + : /\bSDKROOT\s*=\s*"?appletvos"?\s*;/.test(source); +} + +/** + * The target that fits a device: its platform and, on Apple platforms, its OS family. A target that + * names no `appleOs` is an iPhone/iPad target, so a project with both an iOS and a tvOS target + * resolves to the right one for each device. + */ +export function targetForDevice(targets: readonly T[], platform: "ios" | "android", os: AppleOs = "ios"): T | undefined { + const onPlatform = targets.filter(target => target.platform === platform); + if (platform === "android") return onPlatform[0]; + return onPlatform.find(target => (target.appleOs ?? "ios") === os); +} + +/** Which app a device runs: an iPhone/iPad app, an Apple TV app or an Android app. A test pins one app id per key. */ +export type AppKey = "ios" | "tvos" | "android"; + +export function appKeyOf(target: { platform: "ios" | "android"; appleOs?: AppleOs | undefined }): AppKey { + return target.platform === "ios" && target.appleOs === "tvos" ? "tvos" : target.platform; +} + +/** The engine platform an app key runs on: tvOS is driven through the iOS engine. */ +export function platformOfAppKey(key: AppKey): "ios" | "android" { return key === "android" ? "android" : "ios"; } diff --git a/packages/shared/src/ios-devices.ts b/packages/shared/src/ios-devices.ts index d2e966bb1..d563d614a 100644 --- a/packages/shared/src/ios-devices.ts +++ b/packages/shared/src/ios-devices.ts @@ -5,6 +5,7 @@ const identifier = z.uuid(); const platform = z.literal("ios"); const kind = z.literal("physical"); const transportType = text.optional(); +const appleOs = z.literal("tvos").optional(); export const physicalIosDeviceSchema = z.object({ udid: text, @@ -18,13 +19,48 @@ export const physicalIosDeviceSchema = z.object({ kind, transportType, pairingState: text, + /** `tvos` for an Apple TV; absent for an iPhone or iPad. */ + appleOs, }); export type PhysicalIosDevice = z.infer; -export function physicalConnectionLabel(transportType: string | undefined): string { +/** How a physical device can be reached: Apple TVs only ever pair and connect over the network. */ +export function physicalConnectionLabel(transportType: string | undefined, os: "ios" | "tvos" = "ios"): string { if (transportType === undefined) return "Transport not reported"; if (transportType === "wired") return "USB"; - if (transportType === "localNetwork") return "Wi-Fi"; + if (transportType === "localNetwork") return os === "tvos" ? "Network" : "Wi-Fi"; return transportType; } + +export type PhysicalAvailability = "ready" | "asleep" | "unpaired" | "offline"; + +/** + * Whether a device can be driven now, and if not why. An Apple TV that is paired but not connected is + * asleep or off the network (it drops its tunnel when idle), which a remote press fixes; a phone in + * the same state is simply offline. Only Apple TVs report "asleep". + */ +export function physicalAvailability(device: Pick): PhysicalAvailability { + if (device.pairingState !== "paired") return "unpaired"; + if (device.state === "connected") return "ready"; + return device.appleOs === "tvos" ? "asleep" : "offline"; +} + +/** Shown wherever a physical Apple TV is offered, until the path has been tested on hardware. */ +export const PHYSICAL_APPLE_TV_UNVERIFIED = "Physical Apple TV support is unverified: it was built against devicectl output and has not been tested on an Apple TV yet."; + +/** The steps that pair an Apple TV; it has no USB pairing, so none of them involve a cable. */ +export const APPLE_TV_PAIRING_STEPS = "On the Apple TV open Settings → Remotes and Devices → Remote App and Devices, then in Xcode choose Window → Devices and Simulators and select it under Discovered to pair and trust this Mac. The Apple TV and this Mac must be on the same network."; + +export const APPLE_TV_WAKE_HINT = "Wake the Apple TV with its remote, keep it on the home screen, and make sure it is on the same network as this Mac, then refresh Devices."; + +/** Why a physical device cannot be used now, as something to do; undefined when it is ready. */ +export function physicalUnavailableHint(device: Pick): string | undefined { + const availability = physicalAvailability(device); + if (availability === "ready") return undefined; + if (device.appleOs === "tvos") { + if (availability === "unpaired") return `${device.name} is not paired with this Mac. ${APPLE_TV_PAIRING_STEPS}`; + return `${device.name} is asleep or off the network. ${APPLE_TV_WAKE_HINT}`; + } + return `${device.name} is not connected and paired. Reconnect and trust this Mac, then refresh Devices.`; +} diff --git a/packages/shared/src/ios-mirror-errors.ts b/packages/shared/src/ios-mirror-errors.ts index 85fa58573..63fd17699 100644 --- a/packages/shared/src/ios-mirror-errors.ts +++ b/packages/shared/src/ios-mirror-errors.ts @@ -1,5 +1,16 @@ import { ExpectedOperationError } from "./error-reporting.ts"; +/** Marks a native startup error as an Apple TV display service that refused the screen stream. */ +export const DISPLAY_REJECTED_PREFIX = "display-rejected:"; + +/** Whether a mirror startup error means the display service rejected the stream, so the panel may degrade to screenshots. */ +export function isDisplayRejection(message: string): boolean { return message.startsWith(DISPLAY_REJECTED_PREFIX); } + +/** The device's own reason for a display rejection, without the marker. */ +export function displayRejectionDetail(message: string): string { return message.startsWith(DISPLAY_REJECTED_PREFIX) ? message.slice(DISPLAY_REJECTED_PREFIX.length).trim() : message; } + +export const APPLE_TV_NO_TOUCH = "An Apple TV has no touchscreen. Use remote presses instead of touch."; + export class IosMirrorInputBusyError extends ExpectedOperationError { constructor() { super("invalid_input", "Another panel is currently touching this iPhone."); } } diff --git a/packages/shared/src/ios-video.ts b/packages/shared/src/ios-video.ts index baa9fdb25..925e23d33 100644 --- a/packages/shared/src/ios-video.ts +++ b/packages/shared/src/ios-video.ts @@ -1,6 +1,8 @@ import { z } from "zod"; const encoded = z.string().max(8 * 1024 * 1024); +export const streamClassSchema = z.enum(["uhd-10bit", "uhd-8bit", "hd-10bit", "hd-8bit", "sd-10bit", "sd-8bit"]); +export type StreamClass = z.infer; export const iosVideoBatchSchema = z.object({ generation: z.number().int().nonnegative(), sequence: z.number().int().nonnegative(), @@ -8,6 +10,10 @@ export const iosVideoBatchSchema = z.object({ configuration: z.object({ revision: z.number().int().positive(), width: z.number().int().min(1).max(8192), height: z.number().int().min(1).max(8192), codec: z.string().regex(/^hvc1\.[ABC]?\d+\.[A-F0-9]+\.[LH]\d+(?:\.[A-F0-9]+)*$/), description: encoded, + // 8 for SDR, 10 for the Main10 stream of a 4K HDR Apple TV; absent from older plugin servers. + bitDepth: z.number().int().min(8).max(16).optional(), + // A bounded resolution and depth label, for example `uhd-10bit`. + streamClass: streamClassSchema.optional(), }).optional(), frames: z.array(z.object({ sequence: z.number().int().positive(), data: encoded, timestamp: z.number().finite().nonnegative(), key: z.boolean() })).max(8), }); diff --git a/packages/shared/src/panel-target.ts b/packages/shared/src/panel-target.ts index f03cf9f3b..288209b12 100644 --- a/packages/shared/src/panel-target.ts +++ b/packages/shared/src/panel-target.ts @@ -1,4 +1,5 @@ import { z } from "zod"; +import { appleOsOfRuntime, type AppleOs } from "./apple-os.ts"; import type { SimulatorDevice } from "./protocol.ts"; const platform = z.enum(["ios", "android"]).optional().describe("The task's established platform. Omit when undecided."); @@ -20,6 +21,13 @@ export function recordablePlatform(device: SimulatorDevice): "ios" | "android" { return device.platform === "android" ? "android" : "ios"; } +/** The Apple OS of an iOS-platform device: tvOS for an Apple TV simulator, otherwise iOS. */ +export function deviceAppleOs(device: SimulatorDevice): AppleOs { + if (device.kind === "physical") return "appleOs" in device && device.appleOs === "tvos" ? "tvos" : "ios"; + return appleOsOfRuntime(device.runtime); +} + +/** Whether the Testing Studio recorder can drive the device: with taps and swipes, or on an Apple TV with a remote. */ export function isRecordableDevice(device?: SimulatorDevice): boolean { if (!device) return false; if (device.kind === "physical") { diff --git a/packages/shared/src/screen-annotations.ts b/packages/shared/src/screen-annotations.ts index 6ed5fc8cc..ee3295d1d 100644 --- a/packages/shared/src/screen-annotations.ts +++ b/packages/shared/src/screen-annotations.ts @@ -13,7 +13,7 @@ export type ReactElementContext = { component: string; owners: string[]; key?: s * is the node a role query skips, and `disabled`/`selected` are the states `toBeDisabled` and * `toBeSelected` read. An inspection that does not report one simply leaves it unset. */ -export type ScreenComponent = { name: string; bounds: ScreenBounds; role?: string; identifier?: string; label?: string; text?: string; value?: string; placeholder?: string; hidden?: boolean; disabled?: boolean; selected?: boolean; depth: number; source?: "accessibility" | "screen" | "react-native"; nodeId?: string; parentId?: string; react?: ReactElementContext }; +export type ScreenComponent = { name: string; bounds: ScreenBounds; role?: string; identifier?: string; label?: string; text?: string; value?: string; placeholder?: string; hidden?: boolean; disabled?: boolean; selected?: boolean; /** The node holds focus, which is what an Apple TV remote moves and `toBeFocused` reads. */ focused?: boolean; depth: number; source?: "accessibility" | "screen" | "react-native"; nodeId?: string; parentId?: string; react?: ReactElementContext }; export type ScreenSelectionContext = { ancestors: ScreenComponent[]; siblings: ScreenComponent[]; siblingCount: number; children: ScreenComponent[]; childCount: number; instance?: { index: number; total: number } }; export type ScreenAnnotation = { id: string; diff --git a/packages/shared/src/stored-test-steps.ts b/packages/shared/src/stored-test-steps.ts index cd7ca4ba4..69fafad69 100644 --- a/packages/shared/src/stored-test-steps.ts +++ b/packages/shared/src/stored-test-steps.ts @@ -1,9 +1,106 @@ /** A saved test has source but no recorder step data; edit its awaited call lines in a working copy. */ export type StoredTestStep = { line: number; label: string }; +/** + * The lines the runner reports a step for, in order, and which of them are focus loops. + * + * A remote `press` goes straight to the device session, so the runner reports no step for it, and + * the helpers a remote recording defines are not calls of the test at all. `pressUntilFocused` is the + * opposite: one line, but a loop of `toBeFocused` assertions, so it is one or more runner steps. + */ +export type CallPlan = { calls: readonly number[]; loops: ReadonlySet }; + +export function storedTestCallPlan(source: string): CallPlan { + const calls: number[] = []; + const loops = new Set(); + let inHelper = false; + source.split("\n").forEach((line, index) => { + if (/^const\s+pressUntilFocused\b/.test(line)) inHelper = true; + else if (inHelper) { if (/^\};?\s*$/.test(line)) inHelper = false; return; } + if (!/^\s*await\b/.test(line)) return; + if (/^\s*await\s+press\s*\(/.test(line)) return; + calls.push(index + 1); + if (/^\s*await\s+pressUntilFocused\s*\(/.test(line)) loops.add(index + 1); + }); + return { calls, loops }; +} + /** Every awaited call line, including app.open, in the order the runner indexes them. */ -export function storedTestCallLines(source: string): number[] { - return source.split("\n").flatMap((line, index) => /^\s*await\b/.test(line) ? [index + 1] : []); +export function storedTestCallLines(source: string): number[] { return [...storedTestCallPlan(source).calls]; } + +export type RunLineMark = "running" | "passed" | "failed"; +type ProgressEntry = { stepIndex: number; phase: "start" | "end"; status?: string; error?: string }; +const failedStatus = (status: string | undefined) => status === "failed" || status === "timedOut"; + +/** + * Live progress as marks on lines, and how many calls have finished. + * + * Without a focus loop the runner's step index is the call's position. A loop reports a step per + * attempt, so the index drifts: entries are followed in order instead, a failed attempt of a loop + * stays running (the next press may land), and the first pass ends the call. A loop that gives up + * is only known from the report, which reconciles it. + */ +export function planProgress(entries: readonly ProgressEntry[], plan: CallPlan): { marks: Record; done: number; error?: string } { + const marks: Record = {}; + let error: string | undefined; + if (plan.loops.size === 0) { + const ended = new Set(); + for (const entry of entries) { + const line = plan.calls[entry.stepIndex]; + if (line === undefined) continue; + if (entry.phase === "start") { marks[line] = "running"; continue; } + ended.add(entry.stepIndex); + marks[line] = failedStatus(entry.status) ? "failed" : "passed"; + if (marks[line] === "failed" && !error) error = entry.error ?? `${entry.status} at line ${line}`; + } + return { marks, done: ended.size, ...(error ? { error } : {}) }; + } + let position = 0; + for (const entry of entries) { + const line = plan.calls[position]; + if (line === undefined) break; + if (entry.phase === "start") { marks[line] = "running"; continue; } + if (plan.loops.has(line) && failedStatus(entry.status)) { marks[line] = "running"; continue; } + marks[line] = failedStatus(entry.status) ? "failed" : "passed"; + if (marks[line] === "failed" && !error) error = entry.error ?? `${entry.status} at line ${line}`; + position += 1; + } + return { marks, done: position, ...(error ? { error } : {}) }; +} + +/** + * The finished report as marks on lines. Steps the report places on a helper's own line (the + * `toBeFocused` attempts inside `pressUntilFocused`) belong to the loop call before the next + * step: the call passed if an attempt did, and failed if none did. + */ +export function planReport(steps: readonly { line: number; status: string; error?: string }[], plan: CallPlan): { marks: Record; error?: string } { + const marks: Record = {}; + const calls = new Set(plan.calls); + const groups = new Map(); + let error: string | undefined; + let last = 0; + for (const step of steps) { + if (plan.loops.size > 0 && !calls.has(step.line)) { + const loop = [...plan.loops].filter(line => line > last).sort((a, b) => a - b)[0]; + if (loop === undefined) continue; + const group = groups.get(loop) ?? { passed: false }; + if (step.status === "passed") group.passed = true; else group.error = step.error ?? `${step.status} at line ${loop}`; + groups.set(loop, group); + continue; + } + last = step.line; + const mark: RunLineMark = failedStatus(step.status) ? "failed" : "passed"; + // A retried line reports more than once; a failure is the one worth keeping. + if (marks[step.line] === "failed") continue; + marks[step.line] = mark; + if (mark === "failed" && !error) error = step.error ?? `${step.status} at line ${step.line}`; + } + for (const [line, group] of groups) { + if (marks[line] === "failed") continue; + marks[line] = group.passed ? "passed" : "failed"; + if (!group.passed && !error) error = group.error; + } + return { marks, ...(error ? { error } : {}) }; } export function storedTestSteps(source: string): StoredTestStep[] { diff --git a/packages/shared/src/telemetry.ts b/packages/shared/src/telemetry.ts index bd98af28a..d829d90cb 100644 --- a/packages/shared/src/telemetry.ts +++ b/packages/shared/src/telemetry.ts @@ -52,7 +52,7 @@ type Metric = Parameters>[0]; const frequentTools = new Set([ "mobile_stream_input", "mobile_android_stream_input", "mobile_ios_mirror_input", "mobile_read_logs", "mobile_read_cpu", "mobile_read_display_fps", "mobile_logs_keep_alive", "mobile_log_sources", "mobile_performance_sources", - "mobile_read_performance_recording", "mobile_testing_runtime_progress", + "mobile_read_performance_recording", "mobile_testing_runtime_progress", "mobile_testing_press", "mobile_appflow_status", "mobile_appflow_next_decision", "mobile_appflow_result", "mobile_list_simulators", "mobile_list_ios_devices", "mobile_list_android_devices", // agent-device's discovery and state lookups, as the plugin servers serve them. diff --git a/packages/shared/src/test-drafts.ts b/packages/shared/src/test-drafts.ts index 3bb42693c..5e49479d7 100644 --- a/packages/shared/src/test-drafts.ts +++ b/packages/shared/src/test-drafts.ts @@ -49,6 +49,8 @@ const pinnedStepKindSchema = z.enum([ "tap", "doubleTap", "longPress", "fill", "scrollUntilVisible", "assertVisible", "assertNotVisible", "assertText", "assertContainsText", "assertValue", "assertEnabled", "assertDisabled", "assertSelected", "swipe", + // Apple TV: focus is asserted and walked to with the remote, not tapped. + "assertFocused", "pressUntilFocused", ]); const visionSchema = z.union([z.boolean(), z.literal("only")]); @@ -64,10 +66,18 @@ export const recordedStepSchema = z.union([ selector: recordedSelectorSchema, value: z.string().max(4096).optional(), direction: z.enum(["up", "down", "left", "right"]).optional(), + /** A `pressUntilFocused` gives up after this many presses. */ + maxPresses: z.number().int().min(1).max(1000).optional(), ambiguous: z.boolean().optional(), anchor: recordedSelectorSchema.optional(), target: stepTargetSchema.optional(), }).strict(), + // One Apple TV remote press; `durationMs` makes it a long press. + z.object({ + id: stepId, label: stepLabel, kind: z.literal("press"), + button: z.enum(["up", "down", "left", "right", "select", "menu", "home"]), + durationMs: z.number().int().min(1).max(10_000).optional(), + }).strict(), z.object({ id: stepId, label: stepLabel, kind: z.literal("agentAct"), instruction, params: z.record(z.string().max(256), z.string().max(4096)).optional(), diff --git a/packages/shared/src/test-recording.ts b/packages/shared/src/test-recording.ts index 65ecece4f..432e058e8 100644 --- a/packages/shared/src/test-recording.ts +++ b/packages/shared/src/test-recording.ts @@ -1,5 +1,6 @@ import { componentsAt } from "./screen-annotations.ts"; import type { ScreenBounds, ScreenComponent, ScreenPoint, ScreenSize } from "./screen-annotations.ts"; +import type { AppleOs } from "./apple-os.ts"; /** * How a recorded step names the element it acted on. The ranks are tried in order and the first @@ -58,7 +59,34 @@ export type PinnedStepKind = | "assertEnabled" | "assertDisabled" | "assertSelected" - | "swipe"; + | "swipe" + // Apple TV only: focus is the tvOS equivalent of visibility, and moving it is the equivalent of scrolling. + | "assertFocused" + | "pressUntilFocused"; + +/** + * The Apple TV remote buttons agent-device's runner can press (`XCUIRemote.shared.press`). There is + * no play/pause: the runner does not implement it, so a row for it would emit a step that fails. + */ +export type RemoteButton = "up" | "down" | "left" | "right" | "select" | "menu" | "home"; +export const REMOTE_BUTTONS: readonly RemoteButton[] = ["up", "down", "left", "right", "select", "menu", "home"]; + +/** How many presses a `pressUntilFocused` step makes before it fails, unless the step says otherwise. */ +export const DEFAULT_MAX_FOCUS_PRESSES = 10; + +/** Which remote key the mirror's keyboard and on-screen buttons stand for; undefined for a key the remote lacks. */ +export function remoteButtonForKey(code: string): RemoteButton | undefined { + switch (code) { + case "ArrowUp": return "up"; + case "ArrowDown": return "down"; + case "ArrowLeft": return "left"; + case "ArrowRight": return "right"; + case "Enter": return "select"; + case "Escape": return "menu"; + case "Home": return "home"; + default: return undefined; + } +} /** * The four directions `screen.swipe` and `locator.swipe` take, as `e2e`'s own `ScrollDirection` @@ -108,7 +136,10 @@ export function swipePath(box: ScreenBounds, direction: SwipeDirection): { from: */ export type AgentStepKind = "agentAct" | "agentAssert" | "agentWaitFor"; -export type RecordedStepKind = PinnedStepKind | AgentStepKind; +/** A remote press names no element, so like an agent step it is its own shape. */ +export type RemoteStepKind = "press"; + +export type RecordedStepKind = PinnedStepKind | AgentStepKind | RemoteStepKind; /** * What `agent.assert`'s judge is shown, as `e2e`'s own `VisionMode` declares it: the tree, the tree @@ -138,6 +169,8 @@ export type PinnedStep = RecordedStepCommon & { * form, and nothing compares it with what is on screen. */ direction?: SwipeDirection; + /** A `pressUntilFocused` gives up after this many presses; absent means `DEFAULT_MAX_FOCUS_PRESSES`. */ + maxPresses?: number; /** Set when every rank matched more than one element, so the panel can flag the step. */ ambiguous?: boolean; /** @@ -188,7 +221,13 @@ export type AgentStep = RecordedStepCommon & ( */ export type AgentParams = Record; -export type RecordedStep = PinnedStep | AgentStep; +/** + * One press of an Apple TV remote button. It names no element — the remote acts on whatever holds + * focus — so there is no selector for it to be ambiguous about, and `durationMs` makes it a long press. + */ +export type RemoteStep = RecordedStepCommon & { kind: "press"; button: RemoteButton; durationMs?: number }; + +export type RecordedStep = PinnedStep | AgentStep | RemoteStep; /** e2e's default assertionTimeout when the project does not override it. */ export const DEFAULT_ASSERTION_TIMEOUT_MS = 5_000; @@ -201,6 +240,15 @@ export function isAgentStep(step: RecordedStep): step is AgentStep { return isAgentStepKind(step.kind); } +export function isRemoteStep(step: RecordedStep): step is RemoteStep { + return step.kind === "press"; +} + +/** A step pinned to an element: neither a sentence for the agent nor a remote press. */ +export function isPinnedStep(step: RecordedStep): step is PinnedStep { + return !isAgentStep(step) && !isRemoteStep(step); +} + /** * The part of an element a command row is gated on: only a text field can be filled or have a * value, and only an element with text of its own can be compared against text. It is a subset of @@ -560,6 +608,18 @@ export function anchorSelector(components: ScreenComponent[], point: ScreenPoint return undefined; } +/** + * Whether the element a selector names holds focus, which is what `toBeFocused` waits for. + * + * `pressUntilFocused` is taken in the panel by pressing and re-reading, and this is how it knows + * it has arrived. A selector that matches several elements is focused when any of them is: the + * runner would have refused the step as ambiguous, and a recorded one is already `nth`-narrowed. + */ +export function selectorIsFocused(components: ScreenComponent[], selector: RecordedSelector): boolean { + if (selector.kind === "point") return false; + return selectorMatches(components, selector).some(item => item.focused === true); +} + const quote = (value: string) => JSON.stringify(value); /** A key that can be written bare in an object literal, as opposed to one that has to be quoted. */ @@ -626,7 +686,8 @@ export function selectorSource(selector: RecordedSelector): string { * plain-language label. The emitter wraps it; nothing else formats steps. */ export function stepExpression(step: - | { kind: PinnedStepKind; selector: RecordedSelector; value?: string; direction?: SwipeDirection; timeoutMs?: number } + | { kind: PinnedStepKind; selector: RecordedSelector; value?: string; direction?: SwipeDirection; timeoutMs?: number; maxPresses?: number } + | { kind: "press"; button: RemoteButton; durationMs?: number } | { kind: "agentAct"; instruction: string; params?: AgentParams } | { kind: "agentAssert"; instruction: string; vision?: VisionMode } | { kind: "agentWaitFor"; instruction: string; vision?: VisionMode } @@ -645,6 +706,7 @@ export function stepExpression(step: ? `agent.${call}(${quote(step.instruction)}, { vision: ${vision} })` : `agent.${call}(${quote(step.instruction)})`; } + if (step.kind === "press") return `press(device, ${quote(step.button)}${step.durationMs === undefined ? "" : `, ${step.durationMs}`})`; const locator = selectorSource(step.selector); const timeout = step.timeoutMs === undefined ? "" : `{ timeout: ${step.timeoutMs} }`; switch (step.kind) { @@ -665,6 +727,8 @@ export function stepExpression(step: case "assertEnabled": return `expect(${locator}).toBeEnabled(${timeout})`; case "assertDisabled": return `expect(${locator}).toBeDisabled(${timeout})`; case "assertSelected": return `expect(${locator}).toBeSelected(${timeout})`; + case "assertFocused": return `expect(${locator}).toBeFocused(${timeout})`; + case "pressUntilFocused": return `pressUntilFocused(device, ${locator}, ${quote(step.direction ?? "down")}${step.maxPresses === undefined ? "" : `, ${step.maxPresses}`})`; // The one command with two forms. A point names no element, so there is nothing to scope the // gesture to and the viewport is swiped; a selector scopes it to the element it names, which // is the difference between flicking the screen and flicking one carousel on it. `momentum` @@ -689,6 +753,9 @@ const STEP_VERB: Record = { assertDisabled: "Expect disabled", assertSelected: "Expect selected", swipe: "Swipe", + assertFocused: "Expect focused", + pressUntilFocused: "Press until focused", + press: "Press", // An agent step reads as what the agent was told, so the verb says who is acting and the // instruction says the rest. agentAct: "Agent", @@ -701,6 +768,11 @@ export function stepNeedsValue(kind: RecordedStepKind): boolean { return kind === "fill" || kind === "assertText" || kind === "assertContainsText" || kind === "assertValue"; } +/** How a remote press reads in the panel's step list: `Press down`, or `Long press select (1000 ms)`. */ +export function pressLabel(button: RemoteButton, durationMs?: number): string { + return durationMs === undefined ? `Press ${button}` : `Long press ${button} (${durationMs} ms)`; +} + /** How an agent step reads in the panel's step list: the verb, then the sentence it was given. */ export function agentStepLabel(kind: AgentStepKind, instruction: string): string { return `${STEP_VERB[kind]} ${JSON.stringify(instruction)}`; @@ -708,6 +780,7 @@ export function agentStepLabel(kind: AgentStepKind, instruction: string): string /** How a step reads in the panel's step list. */ export function stepLabel(kind: PinnedStepKind, selector: RecordedSelector, value?: string): string { + if (kind === "pressUntilFocused") return `Press ${value ?? "down"} until ${stepLabel("tap", selector).replace(/^Tap /, "")} is focused`; // Which way it went is the step, so it belongs in the verb rather than trailing the element. if (kind === "swipe") { const way = `Swipe ${value ?? "up"}`; @@ -747,6 +820,14 @@ export type StepOffer = { suggestedValue?: string; }; +/** + * Whether `fill` is offered on an Apple TV. It is: agent-device's runner types into a focused + * tvOS text field (checked on the tvOS Settings "Apple TV Name" field with the e2e runner: + * `getByRole("textbox").fill()` then `toHaveValue`). The field has to be focused first, which on a + * TV means a `press select`, so a recorded flow presses before it fills. + */ +export const TVOS_SUPPORTS_FILL = true; + /** The roles whose elements take typed text, as `e2e`'s `Role` union names them. */ const TEXT_INPUT_ROLES = new Set(["textbox", "searchbox", "combobox", "spinbutton"]); @@ -759,7 +840,7 @@ const TEXT_INPUT_ROLES = new Set(["textbox", "searchbox", "combobox", "spinbutto * reads the screen, and `scrollUntilVisible` is only ever offered for an element the user just * pointed at, which is on screen already, so its search loop has nothing to do here. */ -export type StepEffect = "tap" | "doubleTap" | "type" | "swipe" | "none"; +export type StepEffect = "tap" | "doubleTap" | "type" | "swipe" | "focus" | "none"; export function stepEffect(kind: RecordedStepKind): StepEffect { switch (kind) { @@ -771,6 +852,8 @@ export function stepEffect(kind: RecordedStepKind): StepEffect { case "fill": return "type"; // A swipe moves the screen under the rest of the flow, so it is taken as well as recorded. case "swipe": return "swipe"; + // Moving focus changes what is on screen, so it is taken as well as recorded: by pressing and re-reading. + case "pressUntilFocused": return "focus"; // `longPress` has no equivalent in the panel's input path, so the step is recorded and the app // stays where it is — the same as every assertion, which reads the screen and changes nothing. default: return "none"; @@ -788,7 +871,7 @@ export function stepEffect(kind: RecordedStepKind): StepEffect { * A coordinate gets the tap alone. There is no element behind it to be visible, to hold text or to * be scrolled to, which is the same refusal the recorder makes for a point assertion. */ -export function stepOffers(selector: RecordedSelector, component?: StepTarget): StepOffer[] { +export function stepOffers(selector: RecordedSelector, component?: StepTarget, appleOs: AppleOs = "ios"): StepOffer[] { // A narrowed selector supports whatever its inner one does: the narrowing is on the locator, and // every action and matcher chains after it. const offer = (kind: PinnedStepKind, value?: string, needsValue?: boolean): StepOffer => ({ @@ -797,6 +880,8 @@ export function stepOffers(selector: RecordedSelector, component?: StepTarget): ...(needsValue ? { needsValue: true } : {}), ...(value === undefined ? {} : { suggestedValue: value }), }); + // An Apple TV has no touch surface: nothing there is tapped, scrolled to or named by a coordinate. + if (appleOs === "tvos") return selector.kind === "point" ? [] : [offer("assertFocused"), offer("assertVisible")]; if (selector.kind === "point") return [offer("tap")]; const role = component?.role ?? ""; const placeholder = normalize(component?.placeholder); @@ -824,7 +909,7 @@ export function stepOffers(selector: RecordedSelector, component?: StepTarget): * A coordinate still gets the tap alone: there is no element behind it to be visible, to hold * text, to be enabled or to be scrolled to. */ -export function allStepOffers(selector: RecordedSelector, component?: StepTarget): StepOffer[] { +export function allStepOffers(selector: RecordedSelector, component?: StepTarget, appleOs: AppleOs = "ios"): StepOffer[] { const offer = (kind: PinnedStepKind, value?: string): StepOffer => ({ kind, source: stepExpression({ kind, selector, ...(value === undefined ? {} : { value }) }), @@ -841,11 +926,32 @@ export function allStepOffers(selector: RecordedSelector, component?: StepTarget })); // A coordinate still has no element to assert about, fill or scroll to — but it does have a // viewport, and `screen.swipe` is about the viewport rather than about anything on it. - if (selector.kind === "point") return [offer("tap"), ...swipes]; + if (selector.kind === "point" && appleOs !== "tvos") return [offer("tap"), ...swipes]; const role = component?.role ?? ""; const placeholder = normalize(component?.placeholder); const typeable = TEXT_INPUT_ROLES.has(role) || placeholder !== ""; const text = normalize(component?.label) || normalize(component?.text); + if (appleOs === "tvos") { + if (selector.kind === "point") return []; + // Focus moves by pressing a direction until the element holds it, one row per direction as a swipe has. + const presses = SWIPE_DIRECTIONS.map(direction => ({ + kind: "pressUntilFocused" as const, + source: stepExpression({ kind: "pressUntilFocused", selector, direction }), + suggestedValue: direction, + })); + return [ + ...presses, + ...(typeable && TVOS_SUPPORTS_FILL ? [offer("fill", normalize(component?.value))] : []), + offer("assertFocused"), + offer("assertVisible"), + offer("assertNotVisible"), + ...(text ? [offer("assertText", text), offer("assertContainsText", text)] : []), + ...(typeable ? [offer("assertValue", normalize(component?.value))] : []), + offer("assertEnabled"), + offer("assertDisabled"), + offer("assertSelected"), + ]; + } return [ offer("tap"), offer("doubleTap"), @@ -876,13 +982,39 @@ export function testFileSlug(title: string): string { return slug || "recorded"; } +/** Whether a recording drives an Apple TV remote, which is when the file needs the remote helpers. */ +export function usesRemote(steps: readonly RecordedStep[]): boolean { + return steps.some(step => step.kind === "press" || step.kind === "pressUntilFocused"); +} + +/** + * The helpers a remote recording emits. `press` is the only place the file names e2e's unstable + * `tvRemote` call (the runner has no TV platform, so tvOS is `platform: "ios"` plus this), so an API + * change touches one function. `pressUntilFocused` is built on it and bounded. + */ +const REMOTE_HELPER_LINES: EmittedLine[] = [ + `// e2e has no TV platform: the remote is the unstable tvRemote call, wrapped once here.`, + `const press = (device: any, button: string, durationMs?: number) =>`, + ` device.unstable_raw.client.command.tvRemote({ ...device.unstable_raw.selection, button, ...(durationMs === undefined ? {} : { durationMs }) });`, + `const pressUntilFocused = async (device: any, target: any, button: string, maxPresses = ${DEFAULT_MAX_FOCUS_PRESSES}) => {`, + ` for (let presses = 0; ; presses += 1) {`, + ` try { return await expect(target).toBeFocused({ timeout: 500 }); }`, + ` catch (error) { if (presses >= maxPresses) throw error; }`, + ` await press(device, button);`, + ` }`, + `};`, + ``, +].map(text => ({ text })); + /** One emitted line, and whether the runner will report a step for it. */ -type EmittedLine = { text: string; call?: true }; +type EmittedLine = { text: string; call?: true; loop?: true }; function stepSource(step: RecordedStep): EmittedLine[] { // An agent step names no element: there is no selector to be ambiguous, no `nth` to explain and // no coordinate to gate behind an anchor, so the instruction is the whole of it. if (isAgentStep(step)) return [{ text: ` await ${stepExpression(step)};`, call: true }]; + // A remote press goes straight to the device session, which the runner does not report as a step. + if (isRemoteStep(step)) return [{ text: ` await ${stepExpression(step)};` }]; const lines: EmittedLine[] = []; // A positional step runs, which a bare ambiguous one does not, so this is a note and not a TODO: // nothing has to be edited for the test to work, and the durable fix is still named. @@ -912,7 +1044,7 @@ function stepSource(step: RecordedStep): EmittedLine[] { lines.push({ text: ` // Skipped a step on a point with no element.` }); return lines; } - lines.push({ text: ` await ${stepExpression(step)};`, call: true }); + lines.push({ text: ` await ${stepExpression(step)};`, call: true, ...(step.kind === "pressUntilFocused" ? { loop: true as const } : {}) }); return lines; } @@ -935,6 +1067,8 @@ export type EmittedTest = { * The report reconciles it at the end, so a mismatch corrects itself rather than persisting. */ calls: number[]; + /** The calls that are focus loops: one line, but a runner step per attempt. */ + loops: number[]; }; /** @@ -954,16 +1088,18 @@ export type EmittedTest = { * says what the file is, only once a recording actually contains an agentic step. A recording * without one emits exactly what it always did. */ -export function emitE2eTestLines(steps: readonly RecordedStep[], options: { title: string }): EmittedTest { +export function emitE2eTestLines(steps: readonly RecordedStep[], options: { title: string; remote?: boolean }): EmittedTest { const agentic = steps.some(isAgentStep); + const remote = options.remote ?? usesRemote(steps); const lines: EmittedLine[] = [ { text: `import { test } from "@e2e-dev/mobile";` }, { text: `import { expect } from "e2e";` }, { text: `` }, + ...(remote ? REMOTE_HELPER_LINES : []), { text: agentic ? `// Recorded from the Testing Studio panel. Pinned locators where an element was named, and agent steps where it was described.` : `// Recorded from the Testing Studio panel. Every step is a pinned locator, driven by no agent.` }, - { text: `test(${quote(options.title)}, async ({ ${agentic ? "agent, app, screen" : "app, screen"} }) => {` }, + { text: `test(${quote(options.title)}, async ({ ${[agentic ? "agent" : "", "app", "screen", remote ? "device" : ""].filter(Boolean).join(", ")} }) => {` }, // The runner reports `app.open` as a step like any other, so it counts as a call. { text: ` await app.open();`, call: true }, { text: `` }, @@ -984,10 +1120,11 @@ export function emitE2eTestLines(steps: readonly RecordedStep[], options: { titl source: lines.map(line => line.text).join("\n"), spans, calls: lines.flatMap((line, index) => line.call ? [index + 1] : []), + loops: lines.flatMap((line, index) => line.loop ? [index + 1] : []), }; } -export function emitE2eTest(steps: readonly RecordedStep[], options: { title: string }): string { +export function emitE2eTest(steps: readonly RecordedStep[], options: { title: string; remote?: boolean }): string { return emitE2eTestLines(steps, options).source; } diff --git a/packages/shared/test/apple-os.test.ts b/packages/shared/test/apple-os.test.ts new file mode 100644 index 000000000..50178d734 --- /dev/null +++ b/packages/shared/test/apple-os.test.ts @@ -0,0 +1,42 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { appleOsOfPlatformName, appleOsOfRuntime, isTvOSRuntime, nativeSourceTargetsTvOS, targetForDevice, xcodeSdkSuffixes } from "../src/apple-os.ts"; +import { deviceAppleOs, isRecordableDevice, recordablePlatform } from "../src/panel-target.ts"; + +const phone = { udid: "A", name: "iPhone", state: "Booted", runtime: "iOS 26.0" }; +const tv = { udid: "B", name: "Apple TV 4K", state: "Booted", runtime: "tvOS 27.0" }; + +test("classifies runtimes and DTPlatformName", () => { + assert.equal(isTvOSRuntime("tvOS 27.0"), true); + assert.equal(appleOsOfRuntime("iOS 26.0"), "ios"); + assert.equal(appleOsOfRuntime(undefined), "ios"); + assert.equal(appleOsOfPlatformName("appletvsimulator"), "tvos"); + assert.equal(appleOsOfPlatformName("appletvos"), "tvos"); + assert.equal(appleOsOfPlatformName("iphonesimulator"), "ios"); + assert.equal(appleOsOfPlatformName("watchos"), undefined); + assert.deepEqual(xcodeSdkSuffixes("tvos"), ["-appletvos"]); +}); + +test("detects tvOS in Podfile and pbxproj sources", () => { + assert.equal(nativeSourceTargetsTvOS("platform :tvos, '17.0'", "podfile"), true); + assert.equal(nativeSourceTargetsTvOS("platform :ios, '15.1'", "podfile"), false); + assert.equal(nativeSourceTargetsTvOS("SDKROOT = appletvos;", "pbxproj"), true); + assert.equal(nativeSourceTargetsTvOS("SDKROOT = iphoneos;", "pbxproj"), false); +}); + +test("a tvOS simulator stays platform ios and is recordable once booted", () => { + assert.equal(recordablePlatform(tv), "ios"); + assert.equal(deviceAppleOs(tv), "tvos"); + assert.equal(deviceAppleOs(phone), "ios"); + assert.equal(isRecordableDevice(tv), true); + assert.equal(isRecordableDevice({ ...tv, state: "Shutdown" }), false); + assert.equal(isRecordableDevice(phone), true); +}); + +test("picks the target that matches the device OS", () => { + const targets = [{ platform: "ios", name: "ios" }, { platform: "ios", appleOs: "tvos" as const, name: "tv" }, { platform: "android", name: "android" }]; + assert.equal(targetForDevice(targets, "ios", "tvos")?.name, "tv"); + assert.equal(targetForDevice(targets, "ios", "ios")?.name, "ios"); + assert.equal(targetForDevice(targets, "android")?.name, "android"); + assert.equal(targetForDevice([{ platform: "ios", appleOs: "tvos" as const, name: "tv" }], "ios", "ios"), undefined); +}); diff --git a/packages/shared/test/stored-test-steps.test.ts b/packages/shared/test/stored-test-steps.test.ts index 02e01f098..7ca3a2b51 100644 --- a/packages/shared/test/stored-test-steps.test.ts +++ b/packages/shared/test/stored-test-steps.test.ts @@ -78,3 +78,51 @@ test("sign in, then search", async ({ app, screen }) => { const unrecognized = source.replace('test("sign in, then search",', "test(flowName,"); assert.equal(branchStoredStepLocator(unrecognized, 4, "android", 'screen.getByTestId("search")'), unrecognized); }); + +import { planProgress, planReport, storedTestCallPlan } from "../src/stored-test-steps.ts"; + +const REMOTE_SOURCE = `import { test } from "@e2e-dev/mobile"; +const press = (device: any, button: string) => + device.unstable_raw.client.command.tvRemote({ button }); +const pressUntilFocused = async (device: any, target: any, button: string) => { + for (let presses = 0; ; presses += 1) { + try { return await expect(target).toBeFocused({ timeout: 500 }); } + catch (error) { if (presses >= 8) throw error; } + await press(device, button); + } +}; + +test("flow", async ({ app, screen, device }) => { + await app.open(); + await press(device, "down"); + await pressUntilFocused(device, screen.getByText("Settings"), "down"); + await screen.getByText("Settings").tap(); +});`; + +test("the call plan skips remote presses and the helpers, and marks the focus loop", () => { + const plan = storedTestCallPlan(REMOTE_SOURCE); + assert.deepEqual(plan.calls, [13, 15, 16]); + assert.deepEqual([...plan.loops], [15]); +}); + +test("a focus loop's failed attempts stay running until one passes", () => { + const plan = storedTestCallPlan(REMOTE_SOURCE); + const step = (stepIndex: number, phase: "start" | "end", status?: string) => ({ stepIndex, phase, ...(status ? { status } : {}) }); + const live = planProgress([step(0, "start"), step(0, "end", "passed"), step(1, "start"), step(1, "end", "failed"), step(2, "start"), step(2, "end", "failed"), step(3, "start")], plan); + assert.deepEqual(live.marks, { 13: "passed", 15: "running" }); + assert.equal(live.error, undefined); + const done = planProgress([step(0, "end", "passed"), step(1, "end", "failed"), step(2, "end", "passed"), step(3, "start"), step(3, "end", "passed")], plan); + assert.deepEqual(done.marks, { 13: "passed", 15: "passed", 16: "passed" }); + assert.equal(done.done, 3); +}); + +test("the report gives a focus loop the outcome its attempts had, as the live view did", () => { + const plan = storedTestCallPlan(REMOTE_SOURCE); + const steps = [ + { line: 13, status: "passed" }, { line: 6, status: "failed", error: "not focused" }, { line: 6, status: "passed" }, { line: 16, status: "passed" }, + ]; + assert.deepEqual(planReport(steps, plan), { marks: { 13: "passed", 15: "passed", 16: "passed" } }); + const gaveUp = planReport([{ line: 13, status: "passed" }, { line: 6, status: "failed", error: "not focused" }], plan); + assert.deepEqual(gaveUp.marks, { 13: "passed", 15: "failed" }); + assert.equal(gaveUp.error, "not focused"); +}); diff --git a/packages/shared/test/test-drafts.test.ts b/packages/shared/test/test-drafts.test.ts new file mode 100644 index 000000000..958fccb10 --- /dev/null +++ b/packages/shared/test/test-drafts.test.ts @@ -0,0 +1,23 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { recordedStepSchema } from "../src/test-drafts.ts"; +import type { RecordedStep } from "../src/test-recording.ts"; + +// A draft is how a recording survives the panel being rebuilt, so every step an Apple TV recording +// produces has to round-trip through it, or a tvOS recording is lost on the first reload. +test("a kept recording accepts the Apple TV steps", () => { + const selector = { kind: "testId", testId: "play" } as const; + const steps: RecordedStep[] = [ + { id: "a", kind: "press", button: "select", label: "Press select" }, + { id: "b", kind: "press", button: "select", durationMs: 800, label: "Hold select" }, + { id: "c", kind: "pressUntilFocused", selector, direction: "down", maxPresses: 20, label: "Press down until focused" }, + { id: "d", kind: "assertFocused", selector, label: "Expect focused" }, + ]; + for (const step of steps) assert.deepEqual(recordedStepSchema.parse(step), step); +}); + +test("a kept recording still refuses a remote button or press bound that does not exist", () => { + assert.equal(recordedStepSchema.safeParse({ id: "a", kind: "press", button: "playPause", label: "x" }).success, false); + assert.equal(recordedStepSchema.safeParse({ id: "a", kind: "press", button: "up", durationMs: 99_999, label: "x" }).success, false); + assert.equal(recordedStepSchema.safeParse({ id: "a", kind: "pressUntilFocused", selector: { kind: "testId", testId: "p" }, maxPresses: 0, label: "x" }).success, false); +}); diff --git a/packages/shared/test/test-recording.test.ts b/packages/shared/test/test-recording.test.ts index a3f60e8fa..98db1240a 100644 --- a/packages/shared/test/test-recording.test.ts +++ b/packages/shared/test/test-recording.test.ts @@ -2,7 +2,7 @@ import test from "node:test"; import assert from "node:assert/strict"; import type { ScreenComponent } from "../src/screen-annotations.ts"; import { scaledComponents } from "../src/screen-annotations.ts"; -import { agentActSuggestion, agentStepLabel, allStepOffers, ancestorChain, anchorSelector, emitE2eTest, emitE2eTestLines, treeHealth, resolveComponentSelector, resolveSelector, selectorSource, stepLabel, stepOffers, swipeDirection, swipePath, testFileSlug } from "../src/test-recording.ts"; +import { DEFAULT_MAX_FOCUS_PRESSES, REMOTE_BUTTONS, agentActSuggestion, pressLabel, remoteButtonForKey, selectorIsFocused, stepEffect, usesRemote, agentStepLabel, allStepOffers, ancestorChain, anchorSelector, emitE2eTest, emitE2eTestLines, treeHealth, resolveComponentSelector, resolveSelector, selectorSource, stepLabel, stepOffers, swipeDirection, swipePath, testFileSlug } from "../src/test-recording.ts"; import type { RecordedSelector, RecordedStep, VisionMode } from "../src/test-recording.ts"; /** @@ -799,3 +799,96 @@ test("components are left alone when the mirror already measures what the runner // A screen the runner could not name must not silently collapse every rectangle to zero. assert.deepEqual(scaledComponents(tree, { width: 0, height: 0 }, screen), tree); }); + +const MOVIES = component({ bounds: { x: 100, y: 200, width: 300, height: 80 }, label: "Movies", text: "Movies", role: "button", focused: true }); +const SETTINGS = component({ bounds: { x: 100, y: 300, width: 300, height: 80 }, label: "Settings", text: "Settings", role: "button" }); + +test("a remote recording emits one tvRemote helper and the steps call it", () => { + const steps: RecordedStep[] = [ + { id: "1", kind: "assertFocused", label: "Expect focused", selector: { kind: "text", text: "Movies" } }, + { id: "2", kind: "press", label: pressLabel("down"), button: "down" }, + { id: "3", kind: "assertFocused", label: "Expect focused", selector: { kind: "text", text: "Settings" } }, + { id: "4", kind: "press", label: pressLabel("select"), button: "select" }, + { id: "5", kind: "press", label: pressLabel("select", 1200), button: "select", durationMs: 1200 }, + { id: "6", kind: "pressUntilFocused", label: "x", selector: { kind: "text", text: "About" }, direction: "down", maxPresses: 4 }, + ]; + const source = emitE2eTest(steps, { title: "tv" }); + assert.match(source, /async \({ app, screen, device }\) =>/); + assert.equal(source.match(/tvRemote\(/g)?.length, 1, "the unstable call is named once"); + assert.match(source, /await expect\(screen\.getByText\("Movies"\)\)\.toBeFocused\(\);/); + assert.match(source, /await press\(device, "down"\);/); + assert.match(source, /await press\(device, "select", 1200\);/); + assert.match(source, /await pressUntilFocused\(device, screen\.getByText\("About"\), "down", 4\);/); + assert.equal(usesRemote(steps), true); +}); + +test("a recording without remote steps emits no helper and no device fixture", () => { + const source = emitE2eTest([{ id: "1", kind: "assertVisible", label: "x", selector: { kind: "text", text: "Home" } }], { title: "t" }); + assert.ok(!source.includes("tvRemote") && !source.includes("device")); +}); + +test("a remote file's lines stay put when it is cut off after a step", () => { + const steps: RecordedStep[] = [ + { id: "1", kind: "assertVisible", label: "x", selector: { kind: "text", text: "Home" } }, + { id: "2", kind: "press", label: "p", button: "down" }, + ]; + const full = emitE2eTestLines(steps, { title: "t" }); + const cut = emitE2eTestLines(steps.slice(0, 1), { title: "t", remote: true }); + assert.deepEqual(cut.spans[0], full.spans[0]); +}); + +test("tvOS offers focus and no touch commands; iOS offers none of the tvOS ones", () => { + const selector: RecordedSelector = { kind: "text", text: "Settings" }; + const tvShort = stepOffers(selector, SETTINGS, "tvos").map(offer => offer.kind); + assert.deepEqual(tvShort, ["assertFocused", "assertVisible"]); + const tvAll = allStepOffers(selector, SETTINGS, "tvos").map(offer => offer.kind); + for (const hidden of ["tap", "doubleTap", "longPress", "swipe", "scrollUntilVisible"]) assert.ok(!tvAll.includes(hidden as never), hidden); + assert.equal(tvAll.filter(kind => kind === "pressUntilFocused").length, 4); + assert.ok(tvAll.includes("assertFocused")); + assert.deepEqual(allStepOffers({ kind: "point", point: { x: 1, y: 1 } }, undefined, "tvos"), []); + assert.deepEqual(stepOffers({ kind: "point", point: { x: 1, y: 1 } }, undefined, "tvos"), []); + for (const os of [undefined, "ios" as const]) { + for (const list of [stepOffers(selector, SETTINGS, os), allStepOffers(selector, SETTINGS, os)]) { + assert.ok(list.every(offer => offer.kind !== "assertFocused" && offer.kind !== "pressUntilFocused")); + } + } + assert.deepEqual(stepOffers(selector, SETTINGS).map(offer => offer.kind), ["tap", "assertVisible", "scrollUntilVisible"]); +}); + +test("focus is read from the component and moves by pressing", () => { + const selector: RecordedSelector = { kind: "text", text: "Settings" }; + assert.equal(selectorIsFocused([MOVIES, SETTINGS], selector), false); + assert.equal(selectorIsFocused([MOVIES, { ...SETTINGS, focused: true }], selector), true); + assert.equal(selectorIsFocused([SETTINGS], { kind: "point", point: { x: 0, y: 0 } }), false); + assert.equal(stepEffect("pressUntilFocused"), "focus"); + assert.equal(stepEffect("assertFocused"), "none"); + assert.equal(stepEffect("press"), "none"); + assert.equal(stepLabel("pressUntilFocused", selector, "down"), 'Press down until "Settings" is focused'); + assert.equal(pressLabel("select", 1000), "Long press select (1000 ms)"); + assert.equal(DEFAULT_MAX_FOCUS_PRESSES, 10); +}); + +test("the mirror's keys map to remote buttons the runner implements", () => { + assert.equal(remoteButtonForKey("ArrowDown"), "down"); + assert.equal(remoteButtonForKey("Enter"), "select"); + assert.equal(remoteButtonForKey("Escape"), "menu"); + assert.equal(remoteButtonForKey("Space"), undefined); + assert.ok(REMOTE_BUTTONS.every(button => !button.includes("play"))); +}); + +test("a remote press is not a call the runner reports, so it never shifts the live step mapping", () => { + const { calls, spans } = emitE2eTestLines([ + { id: "1", kind: "press", label: "p", button: "down" }, + { id: "2", kind: "assertFocused", label: "a", selector: { kind: "text", text: "Settings" } }, + ], { title: "t" }); + assert.deepEqual(spans[0]!.calls, []); + assert.equal(spans[1]!.calls.length, 1); + assert.ok(calls.includes(spans[1]!.calls[0]!) && !calls.includes(spans[0]!.from)); +}); + +test("fill is offered on an Apple TV text field, since the runner types into a focused tvOS field", () => { + const field = component({ bounds: TAB, role: "textbox", label: "Apple TV Name", value: "Apple TV" }); + const selector: RecordedSelector = { kind: "role", role: "textbox", name: "Apple TV Name" }; + assert.ok(allStepOffers(selector, field, "tvos").some(offer => offer.kind === "fill")); + assert.ok(!allStepOffers(selector, SETTINGS, "tvos").some(offer => offer.kind === "fill")); +}); diff --git a/packages/ui/src/apple-tv-mirror.ts b/packages/ui/src/apple-tv-mirror.ts new file mode 100644 index 000000000..f0e493ffe --- /dev/null +++ b/packages/ui/src/apple-tv-mirror.ts @@ -0,0 +1,127 @@ +import { physicalAvailability, physicalUnavailableHint, PHYSICAL_APPLE_TV_UNVERIFIED } from "@mobile-dev/shared/ios-devices.ts"; +import type { PhysicalIosDevice } from "@mobile-dev/shared/ios-devices.ts"; +import { displayRejectionDetail, isDisplayRejection } from "@mobile-dev/shared/ios-mirror-errors.ts"; +import { deviceAppleOs } from "@mobile-dev/shared/panel-target.ts"; +import { remoteButtonForKey } from "@mobile-dev/shared/test-recording.ts"; +import type { RemoteButton } from "@mobile-dev/shared/test-recording.ts"; +import type { SimulatorDevice } from "@mobile-dev/shared/protocol.ts"; + +/** A remote key held at least this long is a long press; the hold is sent as the press's `durationMs`. */ +export const LONG_PRESS_MS = 600; +/** agent-device's `tv-remote` accepts holds up to the tool's own ten-second bound. */ +export const MAX_PRESS_MS = 10_000; + +/** + * The remote press a keyboard key or on-screen button stands for, with its hold. An Apple TV panel's + * input is always a remote press: there is no touch surface to send gestures to. + */ +export function remotePress(code: string, heldMs?: number): { button: RemoteButton; durationMs?: number } | undefined { + const button = remoteButtonForKey(code); + if (button === undefined) return undefined; + if (heldMs === undefined || !Number.isFinite(heldMs) || heldMs < LONG_PRESS_MS) return { button }; + return { button, durationMs: Math.min(Math.round(heldMs), MAX_PRESS_MS) }; +} + +export function isPhysicalAppleTv(device: SimulatorDevice | undefined): device is PhysicalIosDevice { + return device?.kind === "physical" && device.platform === "ios" && deviceAppleOs(device) === "tvos"; +} + +/** + * What the panel shows for an Apple TV that cannot be mirrored now. A sleeping or off-network one is + * an idle state with a wake hint, not an error: it is expected to come back, and the stream reconnects + * when the next device refresh reports it connected. + */ +export function appleTvIdleState(device: SimulatorDevice | undefined): { title: string; description: string } | undefined { + if (!isPhysicalAppleTv(device)) return undefined; + const availability = physicalAvailability(device); + if (availability === "ready") return undefined; + const hint = physicalUnavailableHint(device) ?? ""; + if (availability === "unpaired") return { title: `${device.name} · Not paired`, description: hint }; + return { title: `${device.name} · Asleep`, description: hint }; +} + +export const APPLE_TV_UNVERIFIED_NOTICE = PHYSICAL_APPLE_TV_UNVERIFIED; + +/** The notice shown while the panel mirrors with screenshots because the Apple TV refused a video stream. */ +export function degradedNotice(rejection: string): string { + const detail = displayRejectionDetail(rejection); + return `Live video is unavailable from this Apple TV, so the screen refreshes every few seconds from screenshots.${detail ? ` (${detail})` : ""}`; +} + +/** The device's reason when a mirror open failed because the Apple TV's display service refused it. */ +export function degradedReason(error: unknown): string | undefined { + const message = error instanceof Error ? error.message : typeof error === "string" ? error : ""; + return isDisplayRejection(message) ? message : undefined; +} + +/** + * The bounds of screenshot mirroring. It is the only mirror path that polls, so it is slow, backs off + * when a capture is slow, stops after ten minutes, and gives up after repeated failures. + */ +export const SCREENSHOT_MIRROR = { intervalMs: 2000, maxMs: 10 * 60_000, maxFailures: 3 } as const; + +export type Screenshot = { mimeType: string; data: string }; +export type ScreenshotPollOptions = { + shoot: (signal: AbortSignal) => Promise; + show: (image: ImageBitmap) => void; + decode?: (shot: Screenshot) => Promise; + signal: AbortSignal; + intervalMs?: number; + maxMs?: number; + maxFailures?: number; + now?: () => number; + sleep?: (ms: number, signal: AbortSignal) => Promise; +}; + +async function decodeScreenshot(shot: Screenshot): Promise { + const binary = atob(shot.data); + const bytes = new Uint8Array(binary.length); + for (let index = 0; index < binary.length; index++) bytes[index] = binary.charCodeAt(index); + return createImageBitmap(new Blob([bytes], { type: shot.mimeType })); +} + +function wait(ms: number, signal: AbortSignal) { + return new Promise(resolve => { + if (signal.aborted) { resolve(); return; } + const timer = setTimeout(done, ms); + function done() { clearTimeout(timer); signal.removeEventListener("abort", done); resolve(); } + signal.addEventListener("abort", done, { once: true }); + }); +} + +/** + * Polls screenshots until aborted, expired or failing. Returns "stopped" on abort and "expired" at the + * time bound; throws the last error after `maxFailures` consecutive failures. The delay between + * captures is the interval or twice the last capture's duration, whichever is longer, so a slow + * device is never asked for another screenshot while the last is still the bottleneck. + */ +export async function pollScreenshots(options: ScreenshotPollOptions): Promise<"stopped" | "expired"> { + const { signal } = options; + const now = options.now ?? (() => performance.now()); + const sleep = options.sleep ?? wait; + const decode = options.decode ?? decodeScreenshot; + const interval = options.intervalMs ?? SCREENSHOT_MIRROR.intervalMs; + const maxMs = options.maxMs ?? SCREENSHOT_MIRROR.maxMs; + const maxFailures = options.maxFailures ?? SCREENSHOT_MIRROR.maxFailures; + const started = now(); + let failures = 0; + while (!signal.aborted) { + if (now() - started >= maxMs) return "expired"; + const begun = now(); + try { + const shot = await options.shoot(signal); + if (signal.aborted) break; + if (shot !== undefined) { + const image = await decode(shot); + if (signal.aborted) { image.close(); break; } + try { options.show(image); } finally { image.close(); } + } + failures = 0; + } catch (error) { + if (signal.aborted) break; + if (++failures >= maxFailures) throw error; + } + await sleep(Math.max(interval, (now() - begun) * 2), signal); + } + return "stopped"; +} diff --git a/packages/ui/src/components/step-commands.tsx b/packages/ui/src/components/step-commands.tsx index a7430a6d0..e6767f49e 100644 --- a/packages/ui/src/components/step-commands.tsx +++ b/packages/ui/src/components/step-commands.tsx @@ -1,5 +1,5 @@ import { useEffect, useId, useRef, useState } from "react"; -import { ArrowDownIcon, ArrowDownToLineIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, CheckIcon, ChevronRightIcon, EyeIcon, EyeOffIcon, HandIcon, MousePointerClickIcon, PlusIcon, SparklesIcon, TextCursorInputIcon, TypeIcon, WandSparklesIcon, XIcon } from "lucide-react"; +import { ArrowDownIcon, ArrowDownToLineIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, CheckIcon, ChevronRightIcon, EyeIcon, EyeOffIcon, HandIcon, Gamepad2Icon, MousePointerClickIcon, PlusIcon, SparklesIcon, TextCursorInputIcon, TypeIcon, WandSparklesIcon, XIcon } from "lucide-react"; import { DEFAULT_ASSERTION_TIMEOUT_MS, stepIsAssertion, stepNeedsValue } from "@mobile-dev/shared/test-recording.ts"; import type { AgentParams, AgentStepKind, PinnedStepKind, RecordedStepKind, StepOffer, SwipeDirection, VisionMode } from "@mobile-dev/shared/test-recording.ts"; import { Branch } from "./cascading-menu"; @@ -26,6 +26,9 @@ export const OFFER_LABEL: Record = { assertDisabled: "Is Disabled", assertSelected: "Is Selected", swipe: "Swipe", + assertFocused: "Is Focused", + pressUntilFocused: "Press until focused", + press: "Press", agentAct: "Agent action", agentAssert: "Agent check", agentWaitFor: "Agent wait", @@ -35,6 +38,7 @@ export function OfferIcon({ kind }: { kind: RecordedStepKind }) { const Icon = kind === "agentAct" ? WandSparklesIcon : kind === "agentAssert" || kind === "agentWaitFor" ? SparklesIcon : kind === "swipe" ? HandIcon + : kind === "pressUntilFocused" || kind === "press" ? Gamepad2Icon : kind === "fill" ? TextCursorInputIcon : kind === "assertText" || kind === "assertContainsText" || kind === "assertValue" ? TypeIcon : kind === "assertNotVisible" ? EyeOffIcon @@ -138,12 +142,14 @@ export function StepCommandList({ commands, onChoose, renderRow, initialTimeoutM // The four swipes are one command chosen four ways, so they are one row with a branch rather // than four rows that read as four commands. Every other offer is a row of its own. const swipes = commands.filter(offer => offer.kind === "swipe"); - const actions = commands.filter(offer => !stepIsAssertion(offer.kind) && offer.kind !== "swipe"); + const focusPresses = commands.filter(offer => offer.kind === "pressUntilFocused"); + const actions = commands.filter(offer => !stepIsAssertion(offer.kind) && offer.kind !== "swipe" && offer.kind !== "pressUntilFocused"); const assertions = commands.filter(offer => stepIsAssertion(offer.kind)); return <> - {(actions.length > 0 || swipes.length > 0) && Actions} + {(actions.length > 0 || swipes.length > 0 || focusPresses.length > 0) && Actions} {actions.map(row)} {swipes.length > 0 && } + {focusPresses.length > 0 && } {assertions.length > 0 && Assertions} {assertions.map(row)} ; @@ -198,27 +204,29 @@ const DIRECTION_ICON = { up: ArrowUpIcon, down: ArrowDownIcon, left: ArrowLeftIc * viewport when the tap resolved to nothing nameable. That second form is why swipe is offered on * a bare point at all — it is about the viewport, not about anything in it. */ -function SwipeBranch({ swipes, onChoose }: { +function SwipeBranch({ swipes, onChoose, kind = "swipe" }: { swipes: readonly StepOffer[]; onChoose: (kind: PinnedStepKind, value?: string) => void; + /** `pressUntilFocused` is the Apple TV's version of the same four-way choice. */ + kind?: "swipe" | "pressUntilFocused"; }) { return } - attributes={{ "data-recorder-panel": "swipe" }} + chevron icon={} + attributes={{ "data-recorder-panel": kind === "swipe" ? "swipe" : "focus-press" }} title={swipes[0]?.source.replace(/"(up|down|left|right)"/, "…")} onOpen={handlers.onOpen} onClick={handlers.onClick} - >{OFFER_LABEL.swipe}} + >{OFFER_LABEL[kind]}} > {swipes.map(offer => { const direction = (offer.suggestedValue ?? "up") as SwipeDirection; const Icon = DIRECTION_ICON[direction]; return } - onClick={() => onChoose("swipe", direction)} + onClick={() => onChoose(kind, direction)} >{direction[0]!.toUpperCase()}{direction.slice(1)}; })} ; diff --git a/packages/ui/src/components/test-recorder-overlay.tsx b/packages/ui/src/components/test-recorder-overlay.tsx index 17d38eb8e..ebf066d6f 100644 --- a/packages/ui/src/components/test-recorder-overlay.tsx +++ b/packages/ui/src/components/test-recorder-overlay.tsx @@ -71,6 +71,10 @@ function ElementMenu({ label, offers, commands, matches, element, width, anchor : <> {/* A coordinate gets the tap and nothing else, and silence about the other three rows reads as a broken menu. The step list flags the same thing once the step is recorded. */} + {offers.length === 0 + &&

+ Nothing here can be named. Describe the step under Agentic, or move focus to an element that can. +

} {offers.length === 1 && offers[0]?.kind === "tap" && offers[0].source.startsWith("screen.tapAt") &&

Nothing here can be named. The coordinate can still be tapped or swiped, or describe the step under Agentic. diff --git a/packages/ui/src/components/testing-matrix.tsx b/packages/ui/src/components/testing-matrix.tsx index 7dff09333..673fa1943 100644 --- a/packages/ui/src/components/testing-matrix.tsx +++ b/packages/ui/src/components/testing-matrix.tsx @@ -4,26 +4,31 @@ import { TestingNote } from "./testing-note"; import { platformLabel } from "../testing-panel.ts"; import type { TestingPanel } from "../testing-panel.ts"; import type { DeviceAppsStore } from "../device-apps.ts"; -import { MAX_MATRIX_LIMIT, isTerminalLane, laneDuration, laneLabel, matrixFinished, matrixSummary } from "../testing-matrix.ts"; +import { appKeyOf } from "@mobile-dev/shared/apple-os.ts"; +import { MAX_MATRIX_LIMIT, isTerminalLane, matrixDeviceUnavailable, laneDuration, laneLabel, matrixFinished, matrixSummary } from "../testing-matrix.ts"; import type { MatrixDeviceOption, MatrixLane } from "../testing-matrix.ts"; import { formatRunDuration } from "../test-recorder.ts"; import { Badge } from "./ui/badge.tsx"; import { Button } from "./ui/button.tsx"; import { Input } from "./ui/input.tsx"; import { Label } from "./ui/label.tsx"; +import { PHYSICAL_APPLE_TV_UNVERIFIED } from "@mobile-dev/shared/ios-devices.ts"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "./ui/base-select.tsx"; /** One row of the checklist: a checkbox, the device, and what is true of it right now. */ -function DeviceRow({ device, checked, busy, appMissing, onToggle }: { device: MatrixDeviceOption; checked: boolean; busy: boolean; appMissing: boolean; onToggle: (value: boolean) => void }) { +function DeviceRow({ device, checked, busy, appMissing, unavailable, onToggle }: { device: MatrixDeviceOption; checked: boolean; busy: boolean; appMissing: boolean; /** Why this device cannot run the test, when its OS does not match. */ unavailable?: string | undefined; onToggle: (value: boolean) => void }) { const id = `matrix-${device.deviceId}`; return

  • - onToggle(event.target.checked)} /> + onToggle(event.target.checked)} /> + {unavailable && {unavailable}} + {unavailable && Unavailable} {busy && Busy} {device.kind === "physical" ? device.connectionState : device.booted ? "Booted" : "Off"} {device.booted && device.installed !== undefined && panel.setMatrixSelection(value ? [...state.matrixSelected, id] : state.matrixSelected.filter(entry => entry !== id)); if (!enabled) return Running on several devices is not available yet.; const only = panel.matrixPlatform; - const groups = ([["iOS", "ios"], ["Android", "android"]] as const) - .filter(([, platform]) => !only || platform === only) - .map(([label, platform]) => [label, state.matrixDevices.filter(device => device.platform === platform)] as const); + // Apple TV simulators are their own group: they run the iOS engine but a different build of the app. + const groups = ([["iOS", "ios"], ["Apple TV", "tvos"], ["Android", "android"]] as const) + .filter(([, key]) => !only || key === only || (only === "ios" && key === "tvos")) + .map(([label, key]) => [label, state.matrixDevices.filter(device => appKeyOf(device) === key), key] as const); const count = panel.matrixRunCount; return
    - {groups.map(([label, devices]) => devices.length > 0 &&
    + {groups.map(([label, devices, key]) => devices.length > 0 &&

    {label}

      {devices.map(device => toggle(device.deviceId, value)} />)}
    - {!apps[devices[0]!.platform] &&
    No {label} app id for this test, so these devices cannot run it.
    } + busy={panel.matrixBusy(device.deviceId)} appMissing={!apps[appKeyOf(device)]} unavailable={matrixDeviceUnavailable(device, apps)} onToggle={value => toggle(device.deviceId, value)} />)} + {!apps[key] &&
    {matrixDeviceUnavailable(devices[0]!, apps) ?? `No ${label} app id for this test, so these devices cannot run it.`}
    }
    )} {only && This test was recorded on {platformLabel(only)} and doesn't have an {platformLabel(only === "ios" ? "android" : "ios")} target. To add one, open the app on an {platformLabel(only === "ios" ? "android" : "ios")} device in the mirror and choose Add {platformLabel(only === "ios" ? "android" : "ios")} app.} {state.matrixDevices.length === 0 &&

    {state.matrixLoading ? "Looking for devices…" : "No devices found."}

    } @@ -112,7 +118,7 @@ function LaneRow({ panel, lane, selected, mirrored, totalSteps }: { panel: Testi {lane.deviceName} {lane.kind === "physical" && Device} - {active && lane.state !== "queued" && }{laneLabel(lane, totalSteps)} + {active && lane.state !== "queued" && }{laneLabel(lane, totalSteps, panel.matrixPlan)} {duration === undefined ? "" : formatRunDuration(duration)} diff --git a/packages/ui/src/components/testing-view.tsx b/packages/ui/src/components/testing-view.tsx index 5738d5701..ac5706c2d 100644 --- a/packages/ui/src/components/testing-view.tsx +++ b/packages/ui/src/components/testing-view.tsx @@ -2,13 +2,15 @@ import { useCallback, useEffect, useRef, useState, useSyncExternalStore } from " import { BotIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CircleIcon, CircleXIcon, CopyIcon, FileCode2Icon, FilePlus2Icon, FlaskConicalIcon, FolderOpenIcon, GripVerticalIcon, HistoryIcon, LoaderCircleIcon, MoreHorizontalIcon, MousePointerClickIcon, PlayIcon, SaveIcon, SquareIcon, Trash2Icon, UserIcon, WandSparklesIcon, XIcon } from "lucide-react"; import type { TestingRuntimeProgress } from "@mobile-dev/shared/testing-runtime.ts"; import { TestingNote } from "./testing-note"; +import { PHYSICAL_APPLE_TV_UNVERIFIED, physicalUnavailableHint } from "@mobile-dev/shared/ios-devices.ts"; import type { DeviceAppsStore } from "../device-apps.ts"; import { platformLabel } from "../testing-panel.ts"; import type { TestingPanel } from "../testing-panel.ts"; import { OPEN_STEP, formatRunDuration, testRecorder } from "../test-recorder.ts"; import type { DevicePlatform, TestRunView } from "../test-recorder.ts"; -import { isRecordableDevice, recordablePlatform } from "@mobile-dev/shared/panel-target.ts"; -import { allStepOffers, isAgentStep, testFileSlug } from "@mobile-dev/shared/test-recording.ts"; +import type { AppleOs } from "@mobile-dev/shared/apple-os.ts"; +import { deviceAppleOs, isRecordableDevice, recordablePlatform } from "@mobile-dev/shared/panel-target.ts"; +import { allStepOffers, isAgentStep, isPinnedStep, testFileSlug } from "@mobile-dev/shared/test-recording.ts"; import { draftLabel } from "@mobile-dev/shared/test-drafts.ts"; import type { RecordedStep } from "@mobile-dev/shared/test-recording.ts"; import { MenuRow, OFFER_LABEL, OfferIcon, StepCommandList } from "./step-commands.tsx"; @@ -286,10 +288,13 @@ export function TestingView({ panel, deviceApps }: { panel: TestingPanel; device const deviceId = device?.udid ?? ""; const platform = device ? recordablePlatform(device) : "ios"; // Why the recorder cannot start yet, in the order the user has to fix them. + const appleTv = device !== undefined && device.kind === "physical" && deviceAppleOs(device) === "tvos" && "pairingState" in device ? device : undefined; + const tvHint = appleTv ? physicalUnavailableHint(appleTv) : undefined; const blocker = !state.projectPath ? "Preparing Testing Studio…" : state.loadingProject ? "" : state.targets.length === 0 ? (panel.noProject ? "Open the app you want to record in the mirror. Testing Studio records against the app in the foreground." : "No mobile app identifier was found. Open the app in the mirror, or use E2E setup to enter one.") : !target?.bundleId ? `Target "${target?.name}" has no app identifier. Enter one in E2E setup.` + : tvHint ? tvHint : !booted ? "Recording needs a booted simulator, emulator or connected phone in the mirror. If one is available, choose it from Add device." : !isRecordableDevice(device) ? "Pair and trust this iOS device, or authorize USB debugging on this Android phone, or choose a simulator or emulator." : mismatch; @@ -327,11 +332,13 @@ export function TestingView({ panel, deviceApps }: { panel: TestingPanel; device {blocker && !state.agent?.active && !(state.selectedTestPath && panel.storedRunHint) && {blocker}} + {appleTv && {PHYSICAL_APPLE_TV_UNVERIFIED}} + - + ; } @@ -898,7 +905,7 @@ function StoredTestPreview({ panel, source, path, loading }: { panel: TestingPan * the mirror canvas by the simulator panel, which holds the device connection; this is the readout * and the controls. */ -function TestingRecorder({ panel, deviceId }: { panel: TestingPanel; deviceId: string }) { +function TestingRecorder({ panel, deviceId, appleOs }: { panel: TestingPanel; deviceId: string; appleOs: AppleOs }) { const state = useSyncExternalStore(testRecorder.subscribe, testRecorder.getSnapshot); const panelState = useSyncExternalStore(panel.subscribe, panel.getSnapshot); const recording = state.recordingDeviceId === deviceId && deviceId !== ""; @@ -1034,7 +1041,7 @@ function TestingRecorder({ panel, deviceId }: { panel: TestingPanel; deviceId: s
    {sourceSteps ? testRecorder.editSource(value)} /> - : }
    + : }
    {panelState.overwritePath && @@ -1145,8 +1152,10 @@ function ClearStepsButton({ steps }: { steps: number }) { * the numbering, the ambiguous badge and the preview are recomputed from one list rather than kept * in step by hand. */ -function StepList({ steps, onHoverStep, onUnhoverStep, onFocusStep }: { +function StepList({ steps, appleOs, onHoverStep, onUnhoverStep, onFocusStep }: { steps: readonly RecordedStep[]; + /** Which commands a step can be changed to: an Apple TV has no tap and no scroll. */ + appleOs: AppleOs; onHoverStep: (stepId: string | undefined) => void; /** Clears the highlight, but only if this row is still the one holding it. */ onUnhoverStep: (stepId: string) => void; @@ -1183,10 +1192,10 @@ function StepList({ steps, onHoverStep, onUnhoverStep, onFocusStep }: { {step.label} {/* Both badges are about a locator, and an agent step has none: nothing was resolved, so nothing can be ambiguous or fall back to a coordinate. */} - {!isAgentStep(step) && step.ambiguous && ambiguous} - {!isAgentStep(step) && step.selector.kind === "point" && coordinates} + {isPinnedStep(step) && step.ambiguous && ambiguous} + {isPinnedStep(step) && step.selector.kind === "point" && coordinates} {isAgentStep(step) && agent} - +
  • )} {steps.length === 0 &&
  • No steps yet. Right-click an element in the mirror to add one.
  • } @@ -1209,10 +1218,10 @@ const STEP_COMMANDS_WIDTH = 230; * would throw away the one it was recorded for. Agentic is recorded over the mirror, where there * is a screen to describe. */ -function StepMenu({ step, index }: { step: RecordedStep; index: number }) { +function StepMenu({ step, index, appleOs }: { step: RecordedStep; index: number; appleOs: AppleOs }) { const [open, setOpen] = useState(false); const leaving = useRef>(undefined); - const offers = isAgentStep(step) ? [] : allStepOffers(step.selector, step.target); + const offers = isPinnedStep(step) ? allStepOffers(step.selector, step.target, appleOs) : []; const hold = () => { if (leaving.current) clearTimeout(leaving.current); }; const close = () => { hold(); setOpen(false); }; const release = () => { @@ -1245,7 +1254,7 @@ function StepMenu({ step, index }: { step: RecordedStep; index: number }) { trail from the step to the command reads in one glance. It opens on the left because the step list is the rightmost pane in the workspace: to the right is the window's edge, and to the left is the preview, which is where there is room for it. */} - {!isAgentStep(step) && } @@ -1253,7 +1262,7 @@ function StepMenu({ step, index }: { step: RecordedStep; index: number }) { title={`Currently ${OFFER_LABEL[step.kind]}`} onOpen={handlers.onOpen} onClick={handlers.onClick}>Change command} > - { close(); testRecorder.changeStepCommand(step.id, kind, value, timeoutMs); }} /> } diff --git a/packages/ui/src/device-inventory.ts b/packages/ui/src/device-inventory.ts index 93867791c..c6bb2a518 100644 --- a/packages/ui/src/device-inventory.ts +++ b/packages/ui/src/device-inventory.ts @@ -1,5 +1,6 @@ import { androidBookingNamesSchema, type AndroidBookingNames } from "@mobile-dev/shared/android-devices.ts"; -import { physicalConnectionLabel, type PhysicalIosDevice } from "@mobile-dev/shared/ios-devices.ts"; +import { deviceAppleOs } from "@mobile-dev/shared/panel-target.ts"; +import { physicalAvailability, physicalConnectionLabel, type PhysicalIosDevice } from "@mobile-dev/shared/ios-devices.ts"; import { errorMessage, type SimulatorDevice, type Status } from "@mobile-dev/shared/protocol.ts"; import type { HostBridge } from "./host-bridge.ts"; @@ -10,8 +11,15 @@ export function describeDevice(device: SimulatorDevice, platform: Platform, book const physical = device.kind === "physical"; const running = device.state === "Booted" || physical && device.state === "connected"; const runtime = device.runtime.replace(/^com\.apple\.CoreSimulator\.SimRuntime\./, "").replace(/^(iOS|tvOS|watchOS|visionOS)-/, "$1 ").replace(/-/g, "."); - let detail = physical ? physicalConnectionLabel(device.transportType) : runtime; - if (physical && !running) detail += device.state === "unauthorized" ? " · Unauthorized" : " · Offline"; + const appleOs = deviceAppleOs(device); + const appleTv = physical && appleOs === "tvos"; + let detail = physical ? (appleTv ? "Apple TV · " : "") + physicalConnectionLabel(device.transportType, appleOs) : runtime; + if (physical && !running) { + const availability = appleTv && "pairingState" in device ? physicalAvailability(device) : undefined; + detail += availability === "asleep" ? " · Asleep (wake it with its remote)" : availability === "unpaired" ? " · Not paired" : device.state === "unauthorized" ? " · Unauthorized" : " · Offline"; + } + // Physical Apple TV support was built against fixtures, not hardware. + if (appleTv) detail += " · Unverified"; const specs = detail ? `${device.name} · ${detail}` : device.name; const booked = platform === "android" && physical && running && Object.hasOwn(bookingNames, device.udid); const title = booked ? bookingNames[device.udid] : device.name; @@ -19,6 +27,8 @@ export function describeDevice(device: SimulatorDevice, platform: Platform, book device, value: device.udid, title, label: booked ? title : specs, detail: booked ? specs : detail, group: physical ? "Connected devices" : platform === "ios" ? "Simulators" : "Emulators", tablet: /ipad|tablet|pixel.*tab/i.test(physical ? device.model ?? device.name : device.name), + appleOs, + unverified: appleTv, running, statusLabel: physical ? "Connected" : "Running", canStop: !physical && running && (platform === "ios" || /^emulator-\d+$/.test(device.udid)), }; @@ -70,7 +80,8 @@ export class DeviceInventory { if (devices.status === "fulfilled") status = devices.value.structuredContent as Status; else status = { connected: false, managed: false, baseUrl: "", devices: [], error: errorMessage(devices.reason) }; const physicalData = physical.status === "fulfilled" ? physical.value?.structuredContent as { physicalDevices: PhysicalIosDevice[] } | undefined : undefined; - this.physical = physicalData?.physicalDevices.filter(device => device.state === "connected") ?? []; + // An Apple TV sleeps and leaves the network, so it stays listed (as asleep) instead of vanishing. + this.physical = physicalData?.physicalDevices.filter(device => device.state === "connected" || device.appleOs === "tvos") ?? []; const errors = [status.error]; if (physical.status === "rejected") errors.push(errorMessage(physical.reason)); this.error = errors.filter(Boolean).join(" · "); diff --git a/packages/ui/src/ios-mirror-video.ts b/packages/ui/src/ios-mirror-video.ts index f03b43469..619518f86 100644 --- a/packages/ui/src/ios-mirror-video.ts +++ b/packages/ui/src/ios-mirror-video.ts @@ -8,6 +8,22 @@ export function decodeVideoBytes(data: string): Uint8Array { return bytes; } +type VideoConfiguration = NonNullable; + +/** + * WebCodecs settings for a device's HEVC stream. An 8-bit stream prefers hardware. A 10-bit one (the + * Main10 stream of a 4K HDR Apple TV) takes no preference, so a host without a hardware Main10 + * decoder can still fall back to software instead of refusing the stream. + */ +export function decoderConfig(configuration: VideoConfiguration): VideoDecoderConfig { + const tenBit = (configuration.bitDepth ?? 8) > 8; + return { + codec: configuration.codec, description: decodeVideoBytes(configuration.description), + codedWidth: configuration.width, codedHeight: configuration.height, optimizeForLatency: true, + hardwareAcceleration: tenBit ? "no-preference" : "prefer-hardware", + }; +} + export class PhysicalIosVideo { private decoder?: VideoDecoder; private generation = -1; @@ -54,11 +70,10 @@ export class PhysicalIosVideo { this.generation = batch.generation; } if (this.decoder === undefined && configuration) { - const description = decodeVideoBytes(configuration.description); - const config: VideoDecoderConfig = { codec: configuration.codec, description, codedWidth: configuration.width, codedHeight: configuration.height, optimizeForLatency: true, hardwareAcceleration: "prefer-hardware" }; + const config = decoderConfig(configuration); const support = await VideoDecoder.isConfigSupported(config); if (this.closed) return; - if (support.supported !== true) throw new StopReconnectError("This host cannot decode the iPhone's HEVC stream."); + if (support.supported !== true) throw new StopReconnectError((configuration.bitDepth ?? 8) > 8 ? "This host cannot decode the device's 10-bit HEVC stream." : "This host cannot decode the iPhone's HEVC stream."); const decoder = new VideoDecoder({ output: frame => { try { if (this.closed === false && this.decoder === decoder) this.output(frame); } diff --git a/packages/ui/src/simulator-panel.ts b/packages/ui/src/simulator-panel.ts index 713747e15..c4b15d2b5 100644 --- a/packages/ui/src/simulator-panel.ts +++ b/packages/ui/src/simulator-panel.ts @@ -34,6 +34,9 @@ import type { AndroidVideoBatch } from "./android-video.ts"; import type { HostBridge } from "./host-bridge.ts"; import { isDeviceActive } from "./device-layout.ts"; import { isRecordableDevice, recordablePlatform } from "@mobile-dev/shared/panel-target.ts"; +import { isTvOSRuntime } from "@mobile-dev/shared/apple-os.ts"; +import type { RemoteButton } from "@mobile-dev/shared/test-recording.ts"; +import { remotePress, appleTvIdleState, degradedNotice, degradedReason, isPhysicalAppleTv, pollScreenshots, LONG_PRESS_MS } from "./apple-tv-mirror.ts"; export function createSimulatorPanel( app: HostBridge, @@ -68,7 +71,7 @@ export function createSimulatorPanel( // True from the first TV frame until the remote session is open (or failed), and during a retry open. let tvRemotePreparing = false; let tvWarmupTimer: ReturnType | undefined; - type PanelStream = { id: string; frameUri: string; epoch: number; platform: "ios" | "android"; physicalIos: boolean; generation?: number; controller: AbortController; input?: StreamInput; reader?: FrameStream; closing?: Promise }; + type PanelStream = { id: string; frameUri: string; epoch: number; platform: "ios" | "android"; physicalIos: boolean; degraded?: boolean; generation?: number; controller: AbortController; input?: StreamInput; reader?: FrameStream; closing?: Promise }; const reconnect = new ReconnectLoop(); let stream: PanelStream | undefined; let ready = false; @@ -88,10 +91,12 @@ export function createSimulatorPanel( let disposing: Promise | undefined; let screenshotAttachmentError = ""; let discoveryError = ""; + // Set while an Apple TV is mirrored from screenshots, so later notice() calls keep saying why. + let degradedMessage = ""; function notice(message = "") { if (screenshotAttachmentError) message = screenshotAttachmentError; - else if (message.length === 0) message = inputRepairMessage || (inputBlocked ? "Simulator input is blocked. Ask Codex to repair it." : inventory.error); + else if (message.length === 0) message = inputRepairMessage || (inputBlocked ? "Simulator input is blocked. Ask Codex to repair it." : degradedMessage || inventory.error); element("notice-message").textContent = message; element("notice").title = message; element("notice").classList?.toggle("text-destructive", inputBlocked); @@ -109,7 +114,7 @@ export function createSimulatorPanel( element("start-device").disabled = busy || !toolsAvailable || !selected || selected.kind === "physical" || selected.state === "Booted" || disposed; const connected = selectedDeviceConnected(); const physicalIos = selected?.kind === "physical" && selected.platform === "ios"; - const screenshotReady = physicalIos ? ready && stream?.physicalIos === true : inventory.status?.connected; + const screenshotReady = physicalIos ? ready && stream?.physicalIos === true && stream.degraded !== true : inventory.status?.connected; screenshotButton.disabled = busy || !toolsAvailable || !connected || !screenshotReady || !panelContext.canAttachScreenshots || disposed; screenshotButton.title = panelContext.canAttachScreenshots ? "Screenshot to chat and clipboard" : "This host does not support screenshot attachments"; const annotationState = annotations.getSnapshot(); @@ -123,16 +128,19 @@ export function createSimulatorPanel( return physicalIos ? selected?.state === "connected" : selected?.state === "Booted"; } - function isTvOS() { return selected?.runtime.startsWith("tvOS ") === true; } + function isTvOS() { return isTvOSRuntime(selected?.runtime); } + + function remoteReady() { return ready || stream?.degraded === true; } function deviceButtons() { const state = annotations.getSnapshot(); - const unsupported = selected?.kind === "physical" && selected.platform === "ios"; - const active = ready && stream != null && !unsupported && !stream.physicalIos && !inputBlocked && !busy && toolsAvailable && !state.selecting && !state.draft; + // A physical iPhone takes touch only; an Apple TV takes remote presses through agent-device. + const unsupported = selected?.kind === "physical" && selected.platform === "ios" && !isTvOS(); + const active = remoteReady() && stream != null && !unsupported && (!stream.physicalIos || isTvOS()) && !inputBlocked && !busy && toolsAvailable && !state.selecting && !state.draft; const tv = isTvOS(); element("tv-remote-status").hidden = !(tv && tvRemotePreparing && !unsupported); const label = element("platform-label"); - if (label) label.textContent = tv ? "tvOS" : platform === "ios" ? "iOS" : "Android"; + if (label) label.textContent = tv ? (isPhysicalAppleTv(selected) ? "tvOS · Unverified" : "tvOS") : platform === "ios" ? "iOS" : "Android"; canvas.ariaLabel = tv ? "tvOS screen. Use the remote controls or arrow keys, Enter, and Escape to interact." : `${platform === "ios" ? "iOS" : "Android"} screen. Click or drag to interact. Focus to type.`; root.querySelectorAll("[data-tv-key]").forEach(button => { button.hidden = !tv; @@ -168,6 +176,10 @@ export function createSimulatorPanel( // Opens the agent-device session the TV remote drives. Runs on tvRemoteQueue. Returns false when the // device changed or the panel closed while opening, after releasing the session. async function ensureTvRemoteSession(deviceId: string): Promise { + // A release the recorder started may still be closing its session; opening ours now would collide with it. + await testRecorder.released(); + // A run owns the simulator from its first release to its end. + if (testRecorder.getSnapshot().run?.state === "running") return false; if (tvRemoteDeviceId !== deviceId) { const setupStarted = performance.now(); if (tvRemoteDeviceId) await call("device_close", { session: tvRemoteSession }, { timeout: 30000 }); @@ -194,7 +206,7 @@ export function createSimulatorPanel( // instant. A failure stays quiet and unlocks the remote: the next press retries and reports it. function warmTvRemote() { const deviceId = selected?.udid; - if (!deviceId || !isTvOS() || disposed || tvRemoteDeviceId === deviceId || tvWarmupTimer !== undefined || testRecorder.isAgentRecording(deviceId)) return; + if (!deviceId || !isTvOS() || disposed || tvRemoteDeviceId === deviceId || tvWarmupTimer !== undefined || testRecorder.isAgentRecording(deviceId) || isRecordingSelected()) return; tvRemotePreparing = true; tvWarmupTimer = setTimeout(() => { tvWarmupTimer = undefined; @@ -212,18 +224,36 @@ export function createSimulatorPanel( }, options.tvRemoteWarmupDelayMs ?? 4000); } - function sendTvRemote(code: string) { - const button = ({ ArrowLeft: "left", ArrowUp: "up", ArrowDown: "down", ArrowRight: "right", Enter: "select", Escape: "menu", Home: "home" } as Record)[code]; + // While Testing Studio records an Apple TV, the recorder's own agent-device session owns the + // simulator, and agent-device allows one session per device. The mirror's remote session is + // closed before the recorder first reads the screen, and presses go through the recorder so each + // one is a step as well as an input. Queued with the opens so a warm-up still in flight is closed too. + function releaseTvRemote(): Promise { + cancelTvWarmup(); + tvRemoteQueue = tvRemoteQueue.catch(() => {}).then(async () => { + if (!tvRemoteDeviceId) return; + await call("device_close", { session: tvRemoteSession }, { timeout: 30000 }).catch(() => {}); + tvRemoteDeviceId = undefined; + }); + return tvRemoteQueue; + } + + testRecorder.registerMirrorRelease(releaseTvRemote); + + function sendTvRemote(code: string, heldMs?: number) { + const press = remotePress(code, heldMs); + const button = press?.button; + const durationMs = press?.durationMs; const deviceId = selected?.udid; - if (!button || !deviceId || !isTvOS() || !ready || tvRemotePreparing || inputBlocked || disposed || testRecorder.isAgentRecording(deviceId)) return; - if (isRecordingSelected()) testRecorder.invalidate(); + if (!button || !deviceId || !isTvOS() || !remoteReady() || tvRemotePreparing || inputBlocked || disposed || testRecorder.isAgentRecording(deviceId)) return; + if (isRecordingSelected()) { testRecorder.recordPress(button, durationMs); return; } tvRemoteQueue = tvRemoteQueue.catch(() => {}).then(async () => { try { if (tvRemoteDeviceId !== deviceId) { tvRemotePreparing = true; deviceButtons(); } try { if (!await ensureTvRemoteSession(deviceId)) return; } finally { if (tvWarmupTimer === undefined && tvRemotePreparing) { tvRemotePreparing = false; deviceButtons(); } } const inputStarted = performance.now(); - try { await call("device_tv-remote", { session: tvRemoteSession, button }, { timeout: 90000 }); } + try { await call("device_tv-remote", { session: tvRemoteSession, button, ...(durationMs === undefined ? {} : { durationMs }) }, { timeout: 90000 }); } finally { recordUiTiming("ui.device_input.round_trip", performance.now() - inputStarted); } notice(); } catch (error) { @@ -376,9 +406,13 @@ export function createSimulatorPanel( * screen. On physical iOS the runner tree is scaled into the mirror's pixel space. */ const recorderReader = { - get fillOnly() { return selected?.kind === "physical" && selected.platform === "ios"; }, + // A physical iPhone takes only touch samples and an Apple TV has no touch surface: both fill through the runner. + get fillOnly() { return selected?.kind === "physical" && selected.platform === "ios" || isTvOS(); }, + get appleOs() { return isTvOS() ? "tvos" as const : undefined; }, readComponents: async () => { if (!selected) return []; + // See `releaseTvRemote`: the recorder's session needs the simulator to itself. + if (isTvOS()) await releaseTvRemote(); const { tree, screen } = await testRecorder.readTree(selected.udid, recordablePlatform(selected), selected.kind === "physical" ? "physical" : undefined); // `screen` is the space the runner measured in; `points` is the space the mirror maps // pointer events into. They agree on an iOS simulator and do not on Android, where scrcpy @@ -393,8 +427,13 @@ export function createSimulatorPanel( perform: (action: | { kind: "tap"; point: { x: number; y: number } } | { kind: "type"; text: string; nodeId?: string } - | { kind: "swipe"; from: { x: number; y: number }; to: { x: number; y: number } }) => { - if (action.kind === "tap") send({ type: "tap", x: action.point.x, y: action.point.y, ...points }); + | { kind: "swipe"; from: { x: number; y: number }; to: { x: number; y: number } } + | { kind: "press"; button: RemoteButton; durationMs?: number }) => { + if (action.kind === "press") { + if (selected) void testRecorder.pressTree(selected.udid, action.button, action.durationMs) + .catch(error => notice(error instanceof Error ? `TV remote: ${error.message}` : "TV remote failed.")); + } + else if (action.kind === "tap") send({ type: "tap", x: action.point.x, y: action.point.y, ...points }); // The stream carries a swipe of its own, so a recorded `swipe` is taken as the gesture it // emits rather than merely written down. `duration` is in seconds here, and a third of one // is a deliberate drag: fast enough not to be read as a long press, slow enough that the @@ -406,9 +445,9 @@ export function createSimulatorPanel( // there is no input message that clears a field. So a `fill` recorded into a field that // already has text leaves the app showing something the test will not produce — the step is // still right, the screen behind it is not. Non-ASCII is refused by the input schema. - else if (selected?.kind === "physical" && selected.platform === "ios") { + else if (selected?.kind === "physical" && selected.platform === "ios" || isTvOS()) { if (!action.nodeId) notice("The text field could not be identified. Read the screen and record the step again."); - else void testRecorder.fillTree(selected.udid, action.nodeId, action.text).catch(error => notice(error instanceof Error ? error.message : String(error))); + else void testRecorder.fillTree(selected!.udid, action.nodeId, action.text, isTvOS() ? "tvos" : undefined).catch(error => notice(error instanceof Error ? error.message : String(error))); } else if (action.text) send({ type: "type", text: action.text }); }, @@ -608,6 +647,10 @@ export function createSimulatorPanel( } if (device === undefined) { empty("Device unavailable", "Reconnect this device or choose another with Add device."); + } else if (appleTvIdleState(device) && !active) { + // A sleeping Apple TV is idle, not broken: say how to wake it. The stream reconnects when it wakes. + const idle = appleTvIdleState(device)!; + empty(idle.title, idle.description); } else if (device.kind === "physical" && !active) { const description = device.state === "unauthorized" ? "Unlock the device and allow USB debugging, or pair it for wireless debugging." @@ -657,7 +700,15 @@ export function createSimulatorPanel( const arguments_ = physicalIos ? { udid } : streamPlatform === "android" ? { deviceId: udid } : { udid, fps: 60 }; // Android can wait two minutes for boot before its 30-second backend startup. const timeout = streamPlatform === "android" ? 180000 : 45000; - const result = await call(openTool, arguments_, { signal, timeout }); + let result; + try { result = await call(openTool, arguments_, { signal, timeout }); } + catch (error) { + // An Apple TV whose display service refuses a video stream degrades to bounded screenshots. + const rejection = physicalIos && isTvOS() ? degradedReason(error) : undefined; + if (rejection === undefined) throw error; + await mirrorWithScreenshots(udid, sessionEpoch, signal, rejection); + return; + } const id = result._meta?.sessionId; const frameUri = result._meta?.frameUri; if (typeof id !== "string" || typeof frameUri !== "string") throw new StopReconnectError("The plugin did not return a stream session."); @@ -689,6 +740,45 @@ export function createSimulatorPanel( finally { await closePanel(session); } } + // The only polling mirror path. It reuses the agent-device session the remote already drives, so a + // degraded Apple TV keeps its remote, and it stops at its own time bound (see SCREENSHOT_MIRROR). + async function mirrorWithScreenshots(udid: string, sessionEpoch: number, signal: AbortSignal, rejection: string) { + const degraded: PanelStream = { id: "degraded", frameUri: "", epoch: sessionEpoch, platform: "ios", physicalIos: true, degraded: true, controller: new AbortController() }; + stream = degraded; + ready = false; cancelTvWarmup(); + seenFrames = 0; + firstFrameStartedAt = performance.now(); + degradedMessage = degradedNotice(rejection); + notice(); + countUiEvent("ui.video.ios.degraded"); + controls(); + const pollSignal = AbortSignal.any([signal, degraded.controller.signal]); + try { + const outcome = await pollScreenshots({ + signal: pollSignal, + shoot: shotSignal => { + const shot = tvRemoteQueue.catch(() => {}).then(async () => { + if (!await ensureTvRemoteSession(udid)) return undefined; + const result = await call("device_screenshot", { session: tvRemoteSession }, { signal: shotSignal, timeout: 30000 }); + const image = result.content.find(item => item.type === "image"); + return image && "data" in image && typeof image.data === "string" ? { mimeType: image.mimeType ?? "image/png", data: image.data } : undefined; + }); + tvRemoteQueue = shot.then(() => {}, () => {}); + return shot; + }, + show: image => { + if (sessionEpoch !== epoch) return; + points = { width: image.width, height: image.height }; + drawFrame(image, image.width, image.height); + }, + }); + if (outcome === "expired") throw new StopReconnectError("Screenshot mirroring paused after ten minutes. Select the Apple TV again to resume."); + } finally { + degradedMessage = ""; + if (stream === degraded) { stream = undefined; ready = false; controls(); } + } + } + const stopObservingFrames = platform === "ios" ? observeFrameArrivals() : undefined; async function receiveFrames(session: PanelStream, signal: AbortSignal) { @@ -809,7 +899,7 @@ export function createSimulatorPanel( controls(); } await decoder.accept(batch); - if (seenFrames === 0 && performance.now() - opened > 15000) throw new Error("The iPhone has not produced a screen frame. Unlock it and retry."); + if (seenFrames === 0 && performance.now() - opened > 15000) throw new Error(isTvOS() ? "The Apple TV has not produced a screen frame. Wake it with its remote and retry." : "The iPhone has not produced a screen frame. Unlock it and retry."); } } finally { decoder.close(); } } @@ -992,8 +1082,8 @@ export function createSimulatorPanel( if (event.key === "Escape") { event.preventDefault(); cancelAnnotationPointer(); annotations.exit(); } return; } - if (stream?.physicalIos) return; - if (!ready || tvRemotePreparing || inputBlocked || busy || event.metaKey || event.ctrlKey || event.altKey) return; + if (stream?.physicalIos && !isTvOS()) return; + if (!remoteReady() || tvRemotePreparing || inputBlocked || busy || event.metaKey || event.ctrlKey || event.altKey) return; if (isTvOS()) { if (/^(Enter|Escape|Arrow(Up|Down|Left|Right))$/.test(event.code)) { event.preventDefault(); sendTvRemote(event.code); @@ -1030,8 +1120,13 @@ export function createSimulatorPanel( }); }); root.querySelectorAll("[data-tv-key]").forEach(button => { + // Holding an on-screen remote button sends a long press whose duration is the hold. + let pressedAt: number | undefined; + button.addEventListener("pointerdown", () => { pressedAt = performance.now(); }); button.addEventListener("click", () => { - if (isTvOS() && !button.disabled) sendTvRemote(button.dataset.tvKey!); + const held = pressedAt === undefined ? undefined : performance.now() - pressedAt; + pressedAt = undefined; + if (isTvOS() && !button.disabled) sendTvRemote(button.dataset.tvKey!, held !== undefined && held >= LONG_PRESS_MS ? held : undefined); }); }); screenshotButton.addEventListener("click", () => { void action(async () => { @@ -1105,6 +1200,7 @@ export function createSimulatorPanel( dispose() { if (disposing) return disposing; disposed = true; + testRecorder.registerMirrorRelease(undefined); cancelTvWarmup(); detachRecorder(); window.removeEventListener("keydown", dismissRecorderMenu, true); diff --git a/packages/ui/src/telemetry.ts b/packages/ui/src/telemetry.ts index 4000f1f30..9bc31d05a 100644 --- a/packages/ui/src/telemetry.ts +++ b/packages/ui/src/telemetry.ts @@ -23,6 +23,7 @@ let observer: PerformanceObserver | undefined; const measurements = new Map(); const gauges = new Map(); const counts = new Map(); +const osCounts = new Map(); const readinessFrames = new Set(); function cancelReadinessFrames() { @@ -33,10 +34,18 @@ function cancelReadinessFrames() { /** * `platform` splits one timing into a series per mirrored platform (two values, so still low * cardinality): the window is keyed by name and platform and flushed with the attribute. + * `os` splits Testing Studio's timings between iPhone/iPad and Apple TV the same way. */ -export function recordUiTiming(name: string, duration: number, platform?: "ios" | "android") { +export type UiOs = "ios" | "tvos"; + +/** The OS family a measurement is split by: only Apple platforms have one, so Android has none. */ +export function uiOsOf(platform: string | undefined, appleOs?: UiOs): UiOs | undefined { + return platform === "ios" ? appleOs ?? "ios" : undefined; +} + +export function recordUiTiming(name: string, duration: number, platform?: "ios" | "android", os?: UiOs) { if (running === false || document.visibilityState === "hidden") return; - const key = platform ? `${name}\u0000${platform}` : name; + const key = platform || os ? `${name}\u0000${platform ?? ""}\u0000${os ?? ""}` : name; let window = measurements.get(key); if (window === undefined) { window = new MeasurementWindow(); @@ -69,6 +78,16 @@ export function countUiEvent(name: string, value = 1, context = attributes) { counts.set(name, previous + value); } +/** + * A count split by OS family (`ios` | `tvos`). Held in the same bounded window as other counts and + * flushed as one aggregate, so frequent events such as remote presses never become a request each. + */ +export function countUiOsEvent(name: string, os: UiOs, value = 1) { + if (running === false) return; + const key = `${name}\u0000${os}`; + osCounts.set(key, (osCounts.get(key) ?? 0) + value); +} + function recordVisibleTime(now: number) { if (visibleSince === 0) return; const seconds = (now - visibleSince) / 1000; @@ -110,8 +129,8 @@ export function flushUiMeasurements() { for (const [key, window] of measurements) { const summary = window.take(); if (summary === undefined) continue; - const [name, platform] = key.split("\u0000"); - const scoped = platform ? { ...attributes, platform } : attributes; + const [name, platform, os] = key.split("\u0000"); + const scoped = platform || os ? { ...attributes, ...(platform ? { platform } : {}), ...(os ? { os } : {}) } : attributes; Sentry.metrics.count(`${name}.samples`, summary.count, { attributes: scoped }); Sentry.metrics.gauge(`${name}.mean`, summary.mean, { unit: "millisecond", attributes: scoped }); Sentry.metrics.gauge(`${name}.p95`, summary.p95, { unit: "millisecond", attributes: scoped }); @@ -120,6 +139,11 @@ export function flushUiMeasurements() { for (const [name, value] of gauges) Sentry.metrics.gauge(name, value, { attributes }); for (const [name, value] of counts) Sentry.metrics.count(name, value, { attributes }); counts.clear(); + for (const [key, value] of osCounts) { + const [name, os] = key.split("\u0000"); + Sentry.metrics.count(name!, value, { attributes: { ...attributes, os: os! } }); + } + osCounts.clear(); } function recordEntries(entries: PerformanceEntry[]) { diff --git a/packages/ui/src/test-recorder.ts b/packages/ui/src/test-recorder.ts index a15715a8c..194ac4fc9 100644 --- a/packages/ui/src/test-recorder.ts +++ b/packages/ui/src/test-recorder.ts @@ -1,13 +1,17 @@ -import { agentStepLabel, allStepOffers, anchorSelector, emitE2eTest, emitE2eTestLines, hitLadder, isAgentStep, resolveSelector, selectorSource, stepEffect, stepIsAssertion, stepLabel, stepNeedsValue, stepOffers, swipeDirection, swipePath, treeHealth } from "@mobile-dev/shared/test-recording.ts"; -import type { AgentParams, AgentStep, AgentStepKind, PinnedStep, PinnedStepKind, RecordedStep, StepOffer, StepTarget, SwipeDirection, VisionMode } from "@mobile-dev/shared/test-recording.ts"; +import { storedTestCallPlan, planProgress, planReport, type CallPlan } from "@mobile-dev/shared/stored-test-steps.ts"; +import { DEFAULT_MAX_FOCUS_PRESSES, agentStepLabel, allStepOffers, anchorSelector, emitE2eTest, emitE2eTestLines, hitLadder, isAgentStep, isPinnedStep, pressLabel, resolveSelector, selectorIsFocused, selectorSource, stepEffect, stepIsAssertion, stepLabel, stepNeedsValue, stepOffers, swipeDirection, swipePath, treeHealth, usesRemote } from "@mobile-dev/shared/test-recording.ts"; +import type { AgentParams, AgentStep, AgentStepKind, PinnedStep, PinnedStepKind, RecordedStep, RemoteButton, RemoteStep, StepOffer, StepTarget, SwipeDirection, VisionMode } from "@mobile-dev/shared/test-recording.ts"; +import type { AppleOs } from "@mobile-dev/shared/apple-os.ts"; import type { ScreenBounds, ScreenComponent, ScreenPoint, ScreenSize } from "@mobile-dev/shared/screen-annotations.ts"; -import { countUiEvent, recordUiTiming, setUiGauge } from "./telemetry.ts"; +import { countUiEvent, countUiOsEvent, recordUiTiming, setUiGauge, uiOsOf } from "./telemetry.ts"; /** * Reads the screen the recorder is recording against. The simulator panel owns the device * connection, so it supplies this; the recorder never talks to the host itself. */ export type RecorderReader = { + /** `tvos` on an Apple TV, which offers remote steps instead of touch ones. Absent is iOS or Android. */ + appleOs?: AppleOs; /** Filling through agent-device focuses the field itself, without a preceding mirror tap. */ fillOnly?: boolean; /** The runner's element tree as flat components, in the same coordinate space as `screen`. */ @@ -26,7 +30,9 @@ export type RecorderReader = { | { kind: "type"; text: string; nodeId?: string } // Start and end in screen space, as every other point here is; the panel's own stream carries // a swipe, so the gesture a recorded step emits is one the mirror can also take. - | { kind: "swipe"; from: ScreenPoint; to: ScreenPoint }) => void; + | { kind: "swipe"; from: ScreenPoint; to: ScreenPoint } + // An Apple TV remote press, sent through the recorder's own device session: see `RecorderTreeSource.press`. + | { kind: "press"; button: RemoteButton; durationMs?: number }) => void; /** * Gives the device back to whoever wants it next. * @@ -35,7 +41,7 @@ export type RecorderReader = { * — a refusal they cannot connect to anything they did. The recorder calls this on every path * out of recording: stop, detach, and a device that changes under it. */ - release?: () => void; + release?: () => void | Promise; }; /** @@ -56,8 +62,14 @@ export type RecorderTreeSource = { * owns the mirror converts between them. See `scaledComponents`. */ read: (deviceId: string, platform: DevicePlatform, kind?: "physical") => Promise<{ tree: ScreenComponent[]; screen?: ScreenSize }>; - fill?: (deviceId: string, nodeId: string, text: string) => Promise; - release: () => void; + fill?: (deviceId: string, nodeId: string, text: string, appleOs?: "tvos") => Promise; + /** + * Presses an Apple TV remote button on the session the tree reads use. The mirror's own remote + * session is closed while recording: agent-device allows one session per device, so two would + * fight over the simulator. + */ + press?: (deviceId: string, button: RemoteButton, durationMs?: number) => Promise; + release: () => void | Promise; }; /** @@ -298,7 +310,7 @@ export class TestRecorder { /** The Testing Studio panel supplies the tree source; see `RecorderTreeSource`. */ useTreeSource(source?: RecorderTreeSource) { if (this.treeSource === source) return; - this.treeSource?.release(); + void this.releaseTree(); this.treeSource = source; this.invalidate(); } @@ -309,11 +321,40 @@ export class TestRecorder { : Promise.reject(new Error("Testing Studio has no app target to read. Wait for the foreground app to appear in Testing Studio, then record again.")); } - fillTree(deviceId: string, nodeId: string, text: string): Promise { - return this.treeSource?.fill?.(deviceId, nodeId, text) ?? Promise.reject(new Error("Testing Studio cannot enter text on this device.")); + fillTree(deviceId: string, nodeId: string, text: string, appleOs?: "tvos"): Promise { + return this.treeSource?.fill?.(deviceId, nodeId, text, appleOs) ?? Promise.reject(new Error("Testing Studio cannot enter text on this device.")); + } + + pressTree(deviceId: string, button: RemoteButton, durationMs?: number): Promise { + return this.treeSource?.press?.(deviceId, button, durationMs) ?? Promise.reject(new Error("Testing Studio cannot press the remote on this device.")); + } + + /** + * Gives the device back, and remembers that it is in flight. The release is a tool call on the + * server, so a caller that opens its own session on the device right after (the mirror's remote, a + * run) waits on `released()` first: otherwise it can reach the daemon while the recorder still holds + * the one session the simulator allows, and fail with "device in use". + */ + releaseTree(): Promise { + // The source is read now: a source swap right after this must not turn the old one's release into the new one's. + const source = this.treeSource; + const done = Promise.resolve().then(() => source?.release?.()).then(() => undefined, () => undefined); + this.releasing = this.releasing.then(() => done); + return this.releasing; } - releaseTree() { this.treeSource?.release(); } + /** Settles once every release this recorder started has finished. */ + released(): Promise { return this.releasing; } + private releasing: Promise = Promise.resolve(); + + /** The mirror registers how to close its own Apple TV remote session, which a run must not find open. */ + private mirrorRelease?: () => Promise; + registerMirrorRelease(release: (() => Promise) | undefined) { this.mirrorRelease = release; } + + /** Everything this client holds on a device, given back and waited for, ahead of a run. */ + async releaseForRun(): Promise { + await Promise.all([this.mirrorRelease?.().catch(() => undefined), this.releasing]); + } private update(fields: Partial) { // Anything that changes the emitted source is a new revision; the controls are not. @@ -470,6 +511,8 @@ export class TestRecorder { this.pickHandler = undefined; this.update({ recordingDeviceId: deviceId, recordingPlatform: platform, error: "", menu: undefined, preparing: true, picking: false, ...(keepSteps ? {} : { steps: [], sourceOverride: undefined, flowId: newFlowId() }) }); countUiEvent("ui.testing.record_start"); + const startOs = uiOsOf(platform, this.reader?.appleOs); + if (startOs) countUiOsEvent("ui.testing.record_start_os", startOs); // The first tree read is what makes an element selectable, and it is the slow part: the // session attaches to the app and the tree is projected before anything can be named. Warming // it here rather than on the first hover means the wait happens once, while the overlay is @@ -497,7 +540,7 @@ export class TestRecorder { // locked phone) would otherwise just lose its overlay and look like Record did nothing. if (this.isRecordingDevice(deviceId, platform)) this.update({ error: error instanceof Error ? error.message : String(error) }); } finally { - recordUiTiming("ui.testing.record_prepare", performance.now() - startedAt, platform); + recordUiTiming("ui.testing.record_prepare", performance.now() - startedAt, platform, uiOsOf(platform, this.reader?.appleOs)); // Only the recording this prepared for: Stop, or a second Record, owns the flag after that. if (this.snapshot.preparing && this.isRecordingDevice(deviceId, platform)) this.update({ preparing: false }); } @@ -665,17 +708,17 @@ export class TestRecorder { const steps: RecordedStep[] = this.snapshot.steps.map(step => { // An agent step has no selector to keep, which is the whole reason this is offered: the // mirror's Agentic branch records one, and nothing converts between the two shapes. - if (step.id !== id || isAgentStep(step)) return step; + if (step.id !== id || !isPinnedStep(step)) return step; // A kind that carries no text drops the old one rather than keeping a value nothing emits. const next = stepNeedsValue(kind) ? value ?? step.value ?? "" : undefined; // Both of the optional halves go, so a step never keeps the other command's leftovers: no // text on a kind that emits none, no direction on a kind that is not a swipe. - const { value: _dropped, direction: _wasSwipe, timeoutMs: _wasTimeout, ...rest } = step; + const { value: _dropped, direction: _wasSwipe, timeoutMs: _wasTimeout, maxPresses: _wasMax, ...rest } = step; return { ...rest, kind, - label: stepLabel(kind, step.selector, next), - ...(kind === "swipe" ? { direction: swipeDirection(value) } : next === undefined ? {} : { value: next }), + label: stepLabel(kind, step.selector, kind === "swipe" || kind === "pressUntilFocused" ? swipeDirection(value) : next), + ...(kind === "swipe" || kind === "pressUntilFocused" ? { direction: swipeDirection(value) } : next === undefined ? {} : { value: next }), ...(stepIsAssertion(kind) && timeoutMs !== undefined ? { timeoutMs } : {}), }; }); @@ -727,7 +770,7 @@ export class TestRecorder { this.componentsReadAt = performance.now(); return components; } finally { - recordUiTiming("ui.testing.tree_read", performance.now() - startedAt, this.snapshot.recordingPlatform || undefined); + recordUiTiming("ui.testing.tree_read", performance.now() - startedAt, this.snapshot.recordingPlatform || undefined, uiOsOf(this.snapshot.recordingPlatform, this.reader?.appleOs)); this.pending = undefined; } })(); @@ -759,7 +802,7 @@ export class TestRecorder { kind, selector, label: stepLabel(kind, selector, value), - ...(kind === "swipe" ? { direction: swipeDirection(value) } : value === undefined ? {} : { value }), + ...(kind === "swipe" || kind === "pressUntilFocused" ? { direction: swipeDirection(value) } : value === undefined ? {} : { value }), ...(stepIsAssertion(kind) && timeoutMs !== undefined ? { timeoutMs } : {}), ...(ambiguous ? { ambiguous } : {}), // Only a coordinate tap needs one: every locator action waits for its own element. @@ -839,8 +882,8 @@ export class TestRecorder { } this.update({ menu: { label: stepLabel("tap", selector), ambiguous, matches, - offers: stepOffers(selector, component), - commands: allStepOffers(selector, component), + offers: stepOffers(selector, component, this.reader?.appleOs), + commands: allStepOffers(selector, component, this.reader?.appleOs), ...(component ? { target: component } : {}), bounds, screen, } }); @@ -915,6 +958,7 @@ export class TestRecorder { const span = this.lastBounds; this.reader?.perform?.({ kind: "swipe", ...swipePath(span ?? { x: 0, y: 0, ...(this.reader?.screen() ?? { width: 0, height: 0 }) }, swipeDirection(value)) }); } + else if (effect === "focus") await this.pressUntilFocused(swipeDirection(value), DEFAULT_MAX_FOCUS_PRESSES); else if (effect === "type") { if (!this.reader?.fillOnly) this.reader?.perform?.({ kind: "tap", point: where }); this.reader?.perform?.({ kind: "type", text: value ?? "", ...(this.lastNodeId ? { nodeId: this.lastNodeId } : {}) }); @@ -928,6 +972,45 @@ export class TestRecorder { } } + /** + * Takes a `pressUntilFocused` step: presses the direction and re-reads the screen until the + * element the step names holds focus, up to the step's own bound. A bound that runs out is not an + * error here — the step is right, and the screen simply did not get there — so the user sees + * where focus ended up and the first run of the test says whether it should have. + */ + private async pressUntilFocused(direction: SwipeDirection, maxPresses: number) { + const step = this.snapshot.steps[this.snapshot.steps.length - 1]; + if (!step || !isPinnedStep(step)) return; + for (let presses = 0; presses < maxPresses; presses += 1) { + this.invalidate(); + const components = await this.currentComponents(); + if (selectorIsFocused(components, step.selector)) { countUiOsEvent("ui.testing.press_until_focused.found", "tvos"); return; } + this.reader?.perform?.({ kind: "press", button: direction }); + countUiOsEvent("ui.testing.remote_press", "tvos"); + // The press is queued behind the read on the device's one session, so the next read sees its effect. + } + countUiOsEvent("ui.testing.press_until_focused.exhausted", "tvos"); + } + + /** + * Records one Apple TV remote press, and takes it. The mirror's keyboard and on-screen remote + * come here while recording, so the press is a step and not only something the app did. + * `durationMs` makes it a long press. + */ + recordPress(button: RemoteButton, durationMs?: number) { + if (!this.snapshot.recordingDeviceId || this.snapshot.agentDeviceId || this.snapshot.picking) return; + const step: RemoteStep = { + id: crypto.randomUUID(), kind: "press", button, + label: pressLabel(button, durationMs), + ...(durationMs === undefined ? {} : { durationMs }), + }; + this.update({ steps: [...this.snapshot.steps, step], menu: undefined }); + countUiEvent("ui.testing.step_action"); + countUiOsEvent("ui.testing.remote_press", "tvos"); + this.reader?.perform?.({ kind: "press", button, ...(durationMs === undefined ? {} : { durationMs }) }); + this.invalidate(); + } + /** The emitted file and where each step's lines are in it. See `emitE2eTestLines`. */ get emitted() { return emitE2eTestLines(this.snapshot.steps, { title: this.snapshot.title }); } @@ -950,7 +1033,7 @@ export class TestRecorder { if (this.snapshot.sourceOverride !== undefined) return; const steps = this.snapshot.steps; if (stepId === OPEN_STEP) { - const emitted = emitE2eTestLines([], { title: this.snapshot.title }); + const emitted = emitE2eTestLines([], { title: this.snapshot.title, remote: usesRemote(steps) }); const line = emitted.calls[0]; return line === undefined ? undefined : { source: emitted.source, untilLine: line }; } @@ -958,7 +1041,8 @@ export class TestRecorder { if (index < 0) return; const span = this.emitted.spans[index]; if (!span) return; - return { source: emitE2eTest(steps.slice(0, index + 1), { title: this.snapshot.title }), untilLine: span.to }; + // The helpers stay in the header whenever the full file has them, so a cut-off file keeps every kept line's number. + return { source: emitE2eTest(steps.slice(0, index + 1), { title: this.snapshot.title, remote: usesRemote(steps) }), untilLine: span.to }; } /** @@ -981,25 +1065,21 @@ export class TestRecorder { * saved project tests supply the awaited lines parsed from their source. A step that has started * is running; one that has ended takes its own status. The report reconciles all of it at the end. */ - applyRunProgress(entries: readonly { stepIndex: number; phase: "start" | "end"; status?: string; error?: string }[], calls: readonly number[] = this.emitted.calls) { + applyRunProgress(entries: readonly { stepIndex: number; phase: "start" | "end"; status?: string; error?: string }[], plan: CallPlan = this.callPlan()) { const run = this.snapshot.run; if (!run || run.state !== "running") return; - const lines: Record = {}; - let error: string | undefined; - for (const entry of entries) { - const line = calls[entry.stepIndex]; - if (line === undefined) continue; - if (entry.phase === "start") { lines[line] = "running"; continue; } - const mark: RunLineMark = entry.status === "failed" || entry.status === "timedOut" ? "failed" : "passed"; - lines[line] = mark; - if (mark === "failed" && !error) error = entry.error ?? `${entry.status} at line ${line}`; - } + const { marks: lines, error } = planProgress(entries, plan); const same = Object.keys(lines).length === Object.keys(run.lines).length && Object.entries(lines).every(([line, mark]) => run.lines[Number(line)] === mark); if (same && error === run.error) return; this.update({ run: { ...run, lines, ...(error ? { error } : {}) } }); } + /** The lines the runner reports steps for: the emitted test's own, or a saved test's parsed from its source. */ + private callPlan(): CallPlan { + return this.snapshot.sourceOverride !== undefined ? storedTestCallPlan(this.source) : { calls: this.emitted.calls, loops: new Set(this.emitted.loops) }; + } + /** * The run is over: each line takes the status the report gave it, and a line the runner never * reached loses its mark rather than keeping a spinner that will never resolve. @@ -1011,17 +1091,14 @@ export class TestRecorder { * that failed stays for good, since it is the only thing on screen that says where. See * `fadePassedMarks`. */ - finishRun(result: { status: string; steps: { line: number; status: string; error?: string }[]; error?: string; output?: string; durationMs?: number }) { + finishRun(result: { status: string; steps: { line: number; status: string; error?: string }[]; error?: string; output?: string; durationMs?: number }, plan: CallPlan = this.callPlan()) { this.stopFade(); - const lines: Record = {}; - let error: string | undefined; - for (const step of result.steps) { - const mark: RunLineMark = step.status === "passed" ? "passed" : step.status === "failed" || step.status === "timedOut" ? "failed" : "passed"; - // A retried line reports more than once; a failure is the one worth keeping. - if (lines[step.line] === "failed") continue; - lines[step.line] = mark; - if (mark === "failed" && !error) error = step.error ?? `${step.status} at line ${step.line}`; - } + // `pressUntilFocused` is a loop of assertions inside the emitted helper: each press that has not + // yet arrived is a failed step on a helper line, in a run that passes. The loop's own line takes + // the outcome of its attempts, as it did live; a loop that gives up fails the test. + const { marks, error: reportedError } = planReport(result.steps, plan); + const lines: Record = marks; + let error: string | undefined = reportedError; const passed = result.status === "passed" && error === undefined; // A failure no line could carry, such as the app failing to open, still says why. if (!passed && !error && result.error) error = result.error; diff --git a/packages/ui/src/testing-matrix.ts b/packages/ui/src/testing-matrix.ts index 7e244e524..d75acd3d2 100644 --- a/packages/ui/src/testing-matrix.ts +++ b/packages/ui/src/testing-matrix.ts @@ -3,6 +3,8 @@ * the user chose, and the small pure helpers the rows are drawn from. The server owns the run * (`packages/core/src/testing-matrix.ts`); this only reads it. */ +import { appKeyOf, isTvOSRuntime, type AppKey, type AppleOs } from "@mobile-dev/shared/apple-os.ts"; +import { planProgress, type CallPlan } from "@mobile-dev/shared/stored-test-steps.ts"; export type MatrixPlatform = "ios" | "android"; export type LaneState = "queued" | "booting" | "installing" | "running" | "passed" | "failed" | "cancelled" | "error"; @@ -13,16 +15,29 @@ export const MAX_MATRIX_LIMIT = 8; export type LaneProgress = { stepIndex: number; phase: "start" | "end"; status?: string; error?: string }; export type LaneResult = { status: string; steps: { line: number; status: string; error?: string }[]; error?: string; output?: string; durationMs?: number }; export type MatrixLane = { - runId: string; deviceId: string; deviceName: string; platform: MatrixPlatform; kind?: "simulator" | "emulator" | "physical"; state: LaneState; + runId: string; deviceId: string; deviceName: string; platform: MatrixPlatform; appleOs?: AppleOs; kind?: "simulator" | "emulator" | "physical"; state: LaneState; resolvedDeviceId?: string; progress: LaneProgress[]; result?: LaneResult; error?: string; startedAt?: number; finishedAt?: number; }; export type MatrixView = { matrixId: string; /** The test the lanes run, relative to the project. */ testPath?: string; lanes: MatrixLane[]; limit: number; startedAt: number; finishedAt?: number }; /** One device in the checklist. `installed` is unknown (undefined) for a device that is off. */ export type MatrixDeviceOption = { - deviceId: string; name: string; platform: MatrixPlatform; kind?: "simulator" | "emulator" | "physical"; runtime: string; booted: boolean; installed?: boolean; connectionState?: string; + deviceId: string; name: string; platform: MatrixPlatform; /** `tvos` for an Apple TV simulator. */ appleOs?: AppleOs; kind?: "simulator" | "emulator" | "physical"; /** A physical Apple TV, whose support is not yet tested on hardware. */ unverified?: boolean; runtime: string; booted: boolean; installed?: boolean; connectionState?: string; }; +/** + * Why a device cannot run the open test, or undefined when it can. An iPhone never runs an Apple TV + * test and an Apple TV never runs an iPhone one: the apps are different builds, and the checklist + * says so instead of letting the lane fail after it has booted the device. + */ +export function matrixDeviceUnavailable(device: { platform: MatrixPlatform; appleOs?: AppleOs | undefined }, apps: Partial>): string | undefined { + const key = appKeyOf(device); + if (apps[key] || key === "android") return undefined; + if (key === "tvos" && apps.ios) return "This test is for iPhone and iPad; an Apple TV runs a different build."; + if (key === "ios" && apps.tvos) return "This test is for Apple TV; an iPhone or iPad cannot run it."; + return undefined; +} + const TERMINAL: ReadonlySet = new Set(["passed", "failed", "cancelled", "error"]); export const isTerminalLane = (state: LaneState) => TERMINAL.has(state); export const matrixFinished = (matrix: MatrixView | null) => matrix !== null && matrix.lanes.every(lane => isTerminalLane(lane.state)); @@ -37,9 +52,10 @@ const STATE_LABEL: Record = { }; /** "Running step 3 of 7" once the lane has started steps, else the plain state. */ -export function laneLabel(lane: MatrixLane, totalSteps?: number): string { +export function laneLabel(lane: MatrixLane, totalSteps?: number, plan?: CallPlan): string { if (lane.state !== "running") return STATE_LABEL[lane.state]; - const done = new Set(lane.progress.filter(entry => entry.phase === "end").map(entry => entry.stepIndex)).size; + // A focus loop reports a step per attempt, so the plan, not the runner's own count, says how many calls finished. + const done = plan ? planProgress(lane.progress, plan).done : new Set(lane.progress.filter(entry => entry.phase === "end").map(entry => entry.stepIndex)).size; const step = Math.min(done + 1, totalSteps ?? done + 1); return lane.progress.length === 0 ? "Running" : totalSteps ? `Running step ${step} of ${totalSteps}` : `Running step ${step}`; } @@ -75,6 +91,7 @@ export function parseMatrix(value: unknown): MatrixView | null { const result = record(lane.result); lanes.push({ runId: str(lane.runId), deviceId: str(lane.deviceId), deviceName: str(lane.deviceName) || str(lane.deviceId), platform: lane.platform, + ...(lane.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), ...(lane.kind === "physical" || lane.kind === "simulator" || lane.kind === "emulator" ? { kind: lane.kind } : {}), state: str(lane.state) as LaneState, ...(str(lane.resolvedDeviceId) ? { resolvedDeviceId: str(lane.resolvedDeviceId) } : {}), @@ -111,7 +128,7 @@ export function parseMatrixDevices(platform: MatrixPlatform, value: unknown): Ma .map(device => { const physical = str(device.kind) === "physical"; return { - deviceId: str(device.udid), name: str(device.name) || str(device.udid), platform, kind: physical ? "physical" as const : platform === "ios" ? "simulator" as const : "emulator" as const, runtime: str(device.runtime), + deviceId: str(device.udid), name: str(device.name) || str(device.udid), platform, kind: physical ? "physical" as const : platform === "ios" ? "simulator" as const : "emulator" as const, runtime: str(device.runtime), ...(platform === "ios" && !physical && isTvOSRuntime(str(device.runtime)) ? { appleOs: "tvos" as const } : {}), booted: str(device.state) === "Booted" || str(device.state) === "connected" || str(device.state) === "device", // An unauthorized or offline phone can be listed but not run on. ...(physical && str(device.state) !== "Booted" ? { connectionState: str(device.state) === "unauthorized" ? "Authorize USB debugging" : "Offline" } : {}), @@ -123,9 +140,15 @@ export function parsePhysicalIosMatrixDevices(value: unknown): MatrixDeviceOptio const devices = record(value)?.physicalDevices; if (!Array.isArray(devices)) return []; return devices.map(record).filter((device): device is Record => device !== null && Boolean(str(device.udid))) - .map(device => ({ deviceId: str(device.udid), name: str(device.name) || str(device.udid), platform: "ios", kind: "physical", runtime: str(device.runtime), - booted: str(device.state) === "connected" && str(device.pairingState) === "paired", - connectionState: str(device.state) !== "connected" ? "Disconnected" : str(device.pairingState) !== "paired" ? "Pair this device" : "Connected" })); + .map(device => { + const tvos = str(device.appleOs) === "tvos"; + const connected = str(device.state) === "connected"; + const paired = str(device.pairingState) === "paired"; + return { deviceId: str(device.udid), name: str(device.name) || str(device.udid), platform: "ios" as const, kind: "physical" as const, runtime: str(device.runtime), + ...(tvos ? { appleOs: "tvos" as const, unverified: true } : {}), + booted: connected && paired, + connectionState: !paired ? (tvos || connected ? "Pair this device" : "Disconnected") : !connected ? (tvos ? "Asleep" : "Disconnected") : "Connected" }; + }); } export type MatrixPreferences = { limit: number }; diff --git a/packages/ui/src/testing-panel.ts b/packages/ui/src/testing-panel.ts index 0722d7f3f..029342019 100644 --- a/packages/ui/src/testing-panel.ts +++ b/packages/ui/src/testing-panel.ts @@ -2,18 +2,19 @@ import type { TestingRuntimeProgress } from "@mobile-dev/shared/testing-runtime. import type { HostBridge } from "./host-bridge.ts"; import type { DeviceAppsStore } from "./device-apps.ts"; import type { SimulatorDevice } from "@mobile-dev/shared/protocol.ts"; -import { captureUiError, countUiEvent, getUiTelemetryAttributes, recordUiTiming } from "./telemetry.ts"; +import { captureUiError, countUiEvent, countUiOsEvent, getUiTelemetryAttributes, recordUiTiming, uiOsOf } from "./telemetry.ts"; import { testRecorder } from "./test-recorder.ts"; import type { DevicePlatform } from "./test-recorder.ts"; import type { RecorderTreeSource } from "./test-recorder.ts"; -import { PANEL_HEARTBEAT_MS, isRecordableDevice, recordablePlatform } from "@mobile-dev/shared/panel-target.ts"; +import { appKeyOf, platformOfAppKey, targetForDevice, type AppKey, type AppleOs } from "@mobile-dev/shared/apple-os.ts"; +import { PANEL_HEARTBEAT_MS, deviceAppleOs, isRecordableDevice, recordablePlatform } from "@mobile-dev/shared/panel-target.ts"; import type { ScreenComponent } from "@mobile-dev/shared/screen-annotations.ts"; import { screenSize } from "@mobile-dev/shared/screen-annotations.ts"; import { testFileSlug } from "@mobile-dev/shared/test-recording.ts"; -import { branchStoredStepLocator, storedTestCallLines, storedTestUntilSource } from "@mobile-dev/shared/stored-test-steps.ts"; +import { branchStoredStepLocator, storedTestCallPlan, storedTestUntilSource, type CallPlan } from "@mobile-dev/shared/stored-test-steps.ts"; import type { RecordedStep } from "@mobile-dev/shared/test-recording.ts"; import type { TestDraftSummary } from "@mobile-dev/shared/test-drafts.ts"; -import { DEFAULT_MATRIX_LIMIT, clampLimit, isTerminalLane, matrixFinished, parseMatrix, parseMatrixDevices, parsePhysicalIosMatrixDevices, readMatrixPreferences, writeMatrixPreferences } from "./testing-matrix.ts"; +import { DEFAULT_MATRIX_LIMIT, clampLimit, isTerminalLane, matrixDeviceUnavailable, matrixFinished, parseMatrix, parseMatrixDevices, parsePhysicalIosMatrixDevices, readMatrixPreferences, writeMatrixPreferences } from "./testing-matrix.ts"; import type { MatrixDeviceOption, MatrixLane, MatrixView } from "./testing-matrix.ts"; /** @@ -23,7 +24,7 @@ import type { MatrixDeviceOption, MatrixLane, MatrixView } from "./testing-matri * project already holds. A saved recording moves from one to the other, which is the whole reason * this exists — the draft is deleted on save, so before this the test left the list entirely. */ -export type StoredTestSummary = { relativePath: string; name: string; updatedAt: string; sizeBytes: number; /** The app a Testing Studio test is pinned to, and any app added for the other platform. */ target?: { platform: "ios" | "android"; bundleId: string; apps?: { ios?: string; android?: string } } }; +export type StoredTestSummary = { relativePath: string; name: string; updatedAt: string; sizeBytes: number; /** The app a Testing Studio test is pinned to, and any app added for the other platform. */ target?: { platform: "ios" | "android"; appleOs?: "tvos"; bundleId: string; apps?: Partial> } }; /** * An agent recording, as the server reports it. @@ -89,7 +90,7 @@ const DRAFT_AUTOSAVE_MS = 700; /** One entry of the project selector. The server owns the list so a pick survives the panel document. */ export interface TestingProjectOption { path: string; name: string } /** A target as the project's e2e config declares it; a static read may not see every field. */ -export interface TestingTargetOption { name: string; platform?: string; bundleId?: string } +export interface TestingTargetOption { name: string; platform?: string; /** `tvos` for an Apple TV target, which the iOS engine drives with a remote. */ appleOs?: AppleOs; bundleId?: string } export type TestingModelPreference = { provider: "vercel" | "openrouter" | "openai-compatible" | "chatgpt" | "copilot" | "opencode-console" | "grok"; model: string; endpoint?: string }; export type TestingProviderOption = { id: string; label: string; subscription?: string; defaultModel?: string }; export type TestingSetupOptions = { targets: { name: string; platform: "ios" | "android"; bundleId: string }[]; provider: TestingModelPreference["provider"] | "none"; model?: string; endpoint?: string; installDependencies: boolean; installSkill: boolean; registerMcp: boolean }; @@ -238,6 +239,7 @@ function parseTargets(data: Record): TestingTargetOption[] { .map(entry => ({ name: text(entry.name), ...(text(entry.platform) ? { platform: text(entry.platform) } : {}), + ...(entry.appleOs === "tvos" || entry.appleOs === "ios" ? { appleOs: entry.appleOs } : {}), ...(text(entry.bundleId) ? { bundleId: text(entry.bundleId) } : {}), })); } @@ -401,12 +403,16 @@ export class TestingPanel { const screen = screenSize(content?.screen); return { tree: Array.isArray(tree) ? tree as ScreenComponent[] : [], ...(screen ? { screen } : {}) }; }, - fill: async (deviceId, nodeId, value) => { - await this.call("mobile_testing_fill", { deviceId, projectPath, bundleId, nodeId, text: value }, 30_000); + fill: async (deviceId, nodeId, value, appleOs) => { + await this.call("mobile_testing_fill", { deviceId, projectPath, bundleId, nodeId, text: value, ...(appleOs ? { appleOs } : {}) }, 30_000); }, - // Fire and forget: giving the device back must never hold up stopping a recording, and a - // release that fails leaves the session for the next `read` to take over. - release: () => { void this.call("mobile_testing_release_device", {}, 10000).catch(() => undefined); }, + press: async (deviceId, button, durationMs) => { + await this.call("mobile_testing_press", { deviceId, projectPath, bundleId, button, ...(durationMs === undefined ? {} : { durationMs }) }, 90_000); + }, + // Stopping a recording does not wait for this; whoever takes the device next does. A release + // that fails leaves the session for the next `read` to take over. + // Returned, so `testRecorder.released()` can wait for it before anything else takes the device. + release: () => this.call("mobile_testing_release_device", {}, 10000).then(() => undefined, () => undefined), }; } @@ -627,12 +633,12 @@ export class TestingPanel { const revision = this.loadRevision; try { const platform = recordablePlatform(device); - const response = await this.call("mobile_testing_project_config", { projectPath, foregroundPlatform: platform, + const response = await this.call("mobile_testing_project_config", { projectPath, foregroundPlatform: platform, ...(platform === "ios" && deviceAppleOs(device) === "tvos" ? { foregroundAppleOs: "tvos" } : {}), ...(foregroundBundleId ? { foregroundBundleId } : { foregroundDeviceId: device.udid, foregroundPid: pid, ...(device.kind === "physical" ? { foregroundKind: "physical" } : {}) }) }); if (revision !== this.loadRevision || this.snapshot.runtimeMode !== "bundled") return; const data = object(response.structuredContent) ?? {}; const targets = parseTargets(data); - const preferred = targets.find(entry => entry.platform === platform) ?? targets[0]; + const preferred = targetForDevice(targets, platform, deviceAppleOs(device)) ?? targets[0]; const source = text(data.targetSource); this.update({ targets, targetName: preferred?.name ?? "", ...(["expo-cli", "static-expo", "foreground", "none"].includes(source) ? { targetSource: source as TestingSnapshot["targetSource"] } : {}) }); } catch { /* the next foreground change retries */ } finally { @@ -665,13 +671,13 @@ export class TestingPanel { const device = this.deviceApps.getSnapshot().device; const foregroundBundleId = this.deviceApps.getSnapshot().foregroundApp?.bundleId ?? undefined; const foregroundPlatform = device && isRecordableDevice(device) ? recordablePlatform(device) : undefined; - const response = await this.call("mobile_testing_project_config", { projectPath: path, ...(foregroundPlatform && foregroundBundleId ? { foregroundPlatform, foregroundBundleId } : {}) }); + const response = await this.call("mobile_testing_project_config", { projectPath: path, ...(foregroundPlatform && foregroundBundleId ? { foregroundPlatform, ...(foregroundPlatform === "ios" && device && deviceAppleOs(device) === "tvos" ? { foregroundAppleOs: "tvos" } : {}), foregroundBundleId } : {}) }); if (revision !== this.loadRevision) return; const data = object(response.structuredContent) ?? {}; const targets = parseTargets(data); // The target on the mirrored device's platform, so a project with both records against the // right one without being asked; else the first, which `targetMismatch` then reports on. - const preferred = (device ? targets.find(entry => entry.platform === recordablePlatform(device)) : undefined) ?? targets[0]; + const preferred = (device ? targetForDevice(targets, recordablePlatform(device), deviceAppleOs(device)) : undefined) ?? targets[0]; const preference = object(data.modelPreference); const modelPreference = preference && text(preference.provider) && text(preference.model) ? { provider: text(preference.provider) as TestingModelPreference["provider"], model: text(preference.model), ...(text(preference.endpoint) ? { endpoint: text(preference.endpoint) } : {}) } : this.hostModelDefault(); const setup = object(data.setup); @@ -1305,7 +1311,7 @@ export class TestingPanel { * One poll of the run's live progress. Failures are silent: the run is still going, the report * will say what happened, and a progress read that missed is not worth an error banner. */ - private async pollRunProgress(callLines?: readonly number[]) { + private async pollRunProgress(plan?: CallPlan) { try { const response = await this.call("mobile_testing_run_progress", {}, 5_000); const data = object(response.structuredContent) ?? {}; @@ -1318,7 +1324,7 @@ export class TestingPanel { ...(text(item.status) ? { status: text(item.status) } : {}), ...(text(item.error) ? { error: text(item.error) } : {}), })); - testRecorder.applyRunProgress(entries, callLines); + testRecorder.applyRunProgress(entries, plan); } catch { // See above. } @@ -1342,11 +1348,12 @@ export class TestingPanel { const deviceId = recordable ? device.udid : ""; const platform = recordable ? recordablePlatform(device) : undefined; const kind = recordable && device.kind === "physical" ? "physical" : undefined; - const key = `${projectPath}\u0000${platform ?? ""}\u0000${kind ?? ""}\u0000${deviceId}\u0000${bundleId}`; + const appleOs = recordable && deviceAppleOs(device) === "tvos" ? "tvos" : undefined; + const key = `${projectPath}\u0000${platform ?? ""}\u0000${kind ?? ""}\u0000${appleOs ?? ""}\u0000${deviceId}\u0000${bundleId}`; if (key === this.reportedContext && !force) return; this.reportedContext = key; try { - await this.call("mobile_testing_set_context", { projectPath, deviceId, ...(platform ? { platform } : {}), ...(kind ? { kind } : {}), bundleId }, 10_000); + await this.call("mobile_testing_set_context", { projectPath, deviceId, ...(platform ? { platform } : {}), ...(kind ? { kind } : {}), ...(appleOs ? { appleOs } : {}), bundleId }, 10_000); } catch { // The next change reports again; a selection the server missed only means an agent is told // to ask the user, which is the refusal it would have given anyway. @@ -1403,7 +1410,7 @@ export class TestingPanel { if (this.snapshot.tests.some(test => test.relativePath === matrix!.testPath)) await this.openTest(matrix.testPath); } if (this.disposed || this.snapshot.running) return; - this.matrixCallLines = storedTestCallLines(this.snapshot.selectedTestSource); + this.matrixCallPlan = storedTestCallPlan(this.snapshot.selectedTestSource); this.matrixUntilLine = undefined; this.laneSignature = ""; testRecorder.beginRun(); @@ -1558,15 +1565,22 @@ export class TestingPanel { } /** Every app id the selected Testing Studio test has, per platform: the recorded one and any added one. */ - get storedApps(): { ios?: string; android?: string } { + get storedApps(): Partial> { const stored = this.storedTarget; - return stored ? { ...stored.apps, [stored.platform]: stored.bundleId } : {}; + return stored ? { ...stored.apps, [appKeyOf(stored)]: stored.bundleId } : {}; } - /** The selected Testing Studio test's app on one platform, if it has one there. */ - storedAppOn(platform: "ios" | "android"): { platform: "ios" | "android"; bundleId: string } | undefined { - const bundleId = this.storedApps[platform]; - return bundleId ? { platform, bundleId } : undefined; + /** The selected Testing Studio test's app for one kind of device (iPhone, Apple TV, Android), if it has one. */ + storedAppOn(key: AppKey): { platform: "ios" | "android"; appleOs?: "tvos"; bundleId: string } | undefined { + const bundleId = this.storedApps[key]; + return bundleId ? { platform: platformOfAppKey(key), ...(key === "tvos" ? { appleOs: "tvos" as const } : {}), bundleId } : undefined; + } + + /** The kind of the mirrored device: an Apple TV is its own key, because an iPhone app cannot run on it. */ + get mirroredAppKey(): AppKey | undefined { + const platform = this.mirroredPlatform; + const { device } = this.deviceApps.getSnapshot(); + return platform && device ? appKeyOf({ platform, ...(deviceAppleOs(device) === "tvos" ? { appleOs: "tvos" as const } : {}) }) : undefined; } /** The platform of the mirrored device, when it is one Testing Studio can record and run on. */ @@ -1580,10 +1594,11 @@ export class TestingPanel { const { device, foregroundApp } = this.deviceApps.getSnapshot(); if (!device || !isRecordableDevice(device)) return undefined; const platform = recordablePlatform(device); - if (foregroundApp?.bundleId) return { platform, bundleId: foregroundApp.bundleId }; + const appleOs = deviceAppleOs(device) === "tvos" && platform === "ios" ? { appleOs: "tvos" as const } : {}; + if (foregroundApp?.bundleId) return { platform, ...appleOs, bundleId: foregroundApp.bundleId }; // An Apple app in front reaches the panel as a pid alone; the server named it when it read the targets. const read = this.noProject && foregroundApp?.pid && this.studioForegroundKey === `pid:${foregroundApp.pid}` && this.snapshot.targetSource === "foreground" ? this.target : undefined; - return read?.bundleId && read.platform === platform ? { platform, bundleId: read.bundleId } : undefined; + return read?.bundleId && read.platform === platform ? { platform, ...appleOs, bundleId: read.bundleId } : undefined; } /** Why Run is unavailable for a selected Testing Studio test, or "": it needs a pinned app or one in front. */ @@ -1591,10 +1606,11 @@ export class TestingPanel { if (this.snapshot.runtimeMode !== "bundled" || !this.snapshot.selectedTestPath) return ""; const pinned = this.storedTarget; if (!pinned) return this.foregroundTarget ? "" : "This test has no app yet. Open the app in the mirror to run it; Testing Studio will pin it."; - const mirrored = this.mirroredPlatform; - if (mirrored && !this.storedAppOn(mirrored)) { - const recorded = platformLabel(pinned.platform), other = platformLabel(mirrored); - const back = pinned.platform === "ios" ? "an iOS simulator" : "an Android emulator"; + const mirroredKey = this.mirroredAppKey; + if (mirroredKey && !this.storedAppOn(mirroredKey)) { + const label = (key: AppKey) => key === "tvos" ? "Apple TV" : platformLabel(platformOfAppKey(key)); + const recorded = label(appKeyOf(pinned)), other = label(mirroredKey); + const back = appKeyOf(pinned) === "tvos" ? "an Apple TV simulator" : pinned.platform === "ios" ? "an iOS simulator" : "an Android emulator"; // With this platform's app in front, the note carries the Add button; without it, the app has to be opened first. return this.foregroundTarget ? `This test was recorded on ${recorded} and has no ${other} app yet. Add ${this.foregroundTarget.bundleId}, the app in front, to run it here too.` @@ -1608,7 +1624,7 @@ export class TestingPanel { /** Whether the run hint can offer to add the app in front as this test's app on the mirrored platform. */ get canAddForegroundApp(): boolean { const pinned = this.storedTarget, front = this.foregroundTarget; - return this.snapshot.runtimeMode === "bundled" && Boolean(pinned && front) && front!.platform !== pinned!.platform && !this.storedAppOn(front!.platform) && !this.snapshot.running; + return this.snapshot.runtimeMode === "bundled" && Boolean(pinned && front) && appKeyOf(front!) !== appKeyOf(pinned!) && !this.storedAppOn(appKeyOf(front!)) && !this.snapshot.running; } /** The platform and bundle id sent with a save, so a Testing Studio test is pinned to the app it was recorded against. */ @@ -1616,7 +1632,7 @@ export class TestingPanel { // Testing Studio's `targets` can lag the mirror, so the app actually in front wins. const target = this.snapshot.runtimeMode === "bundled" ? this.foregroundTarget ?? this.target : this.target; return this.snapshot.runtimeMode === "bundled" && (target?.platform === "ios" || target?.platform === "android") && target.bundleId - ? { platform: target.platform, bundleId: target.bundleId } : {}; + ? { platform: target.platform, ...("appleOs" in target && target.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), bundleId: target.bundleId } : {}; } /** @@ -1628,7 +1644,7 @@ export class TestingPanel { const target = this.foregroundTarget; if (!projectPath || !relativePath || !target || this.snapshot.running) return; const stored = this.storedTarget; - const mode = stored && stored.platform !== target.platform ? "add" : "replace"; + const mode = stored && appKeyOf(stored) !== appKeyOf(target) ? "add" : "replace"; try { await this.call("mobile_testing_set_target", { projectPath, relativePath, ...target, mode }, 10_000); await this.refreshTests(); @@ -1637,11 +1653,18 @@ export class TestingPanel { } } - private bundledRunArguments(pinned?: { platform: "ios" | "android"; bundleId: string }) { + private bundledRunArguments(pinned?: { platform: "ios" | "android"; appleOs?: "tvos"; bundleId: string }) { if (this.snapshot.runtimeMode !== "bundled") return {}; const target = pinned ?? this.target; + // An Apple TV run is pinned to the mirrored simulator: the runner would otherwise take any booted iOS device. + const mirrored = this.deviceApps.getSnapshot().device; + // A target that lost its marker (No project reads the foreground app) still runs on the Apple TV it was recorded on. + const mirroredTv = !pinned && target?.platform === "ios" && mirrored && isRecordableDevice(mirrored) && deviceAppleOs(mirrored) === "tvos"; + const tvos = (pinned?.appleOs ?? (this.target && "appleOs" in this.target ? this.target.appleOs : undefined)) === "tvos" || mirroredTv; + const tvDevice = tvos ? mirrored : undefined; return { ...(target?.platform === "ios" || target?.platform === "android" ? { platform: target.platform } : {}), + ...(tvos ? { appleOs: "tvos" as const, ...(tvDevice ? { deviceId: tvDevice.udid } : {}) } : {}), ...(target?.bundleId ? { bundleId: target.bundleId } : {}), ...(this.snapshot.modelPreference ? { model: this.snapshot.modelPreference } : {}), }; @@ -1656,11 +1679,11 @@ export class TestingPanel { return false; } - private finishRun(data: Record, calls: readonly number[]) { + private finishRun(data: Record, plan: CallPlan | undefined) { const steps = (Array.isArray(data.steps) ? data.steps : []).flatMap(item => { const step = object(item); if (!step) return []; - const line = typeof step.line === "number" ? step.line : typeof step.stepIndex === "number" ? calls[step.stepIndex] : undefined; + const line = typeof step.line === "number" ? step.line : typeof step.stepIndex === "number" ? plan?.calls[step.stepIndex] : undefined; if (line === undefined || line <= 0) return []; return [{ line, status: text(step.status), ...(text(step.error) ? { error: text(step.error) } : {}) }]; }); @@ -1668,7 +1691,7 @@ export class TestingPanel { testRecorder.finishRun({ status, steps, ...(text(data.error) ? { error: text(data.error) } : {}), ...(text(data.output) ? { output: text(data.output) } : {}), - ...(typeof data.durationMs === "number" && Number.isFinite(data.durationMs) ? { durationMs: data.durationMs } : {}) }); + ...(typeof data.durationMs === "number" && Number.isFinite(data.durationMs) ? { durationMs: data.durationMs } : {}) }, plan); countUiEvent(status === "passed" ? "ui.testing.run_passed" : "ui.testing.run_failed"); } @@ -1684,7 +1707,7 @@ export class TestingPanel { // with no app yet takes the one in front and keeps it, so later runs are pinned. // A test with an app on both platforms runs the one for the mirrored device's platform. const stored = this.storedTarget; - const mirrored = this.mirroredPlatform; + const mirrored = this.mirroredAppKey; const pinned = stored && mirrored ? this.storedAppOn(mirrored) : stored; const runTarget = pinned ?? (stored ? undefined : this.foregroundTarget); // A pinned test with no app for the mirrored phone's platform must not fall through to an unpinned @@ -1695,7 +1718,7 @@ export class TestingPanel { return; } if (this.snapshot.runtimeMode === "bundled" && !runTarget) return; - if (this.runsOnMatrix) { await this.runMatrix({ relativePath, source: untilSource, ...(untilLine === undefined ? {} : { untilLine }), callLines: storedTestCallLines(source) }); return; } + if (this.runsOnMatrix) { await this.runMatrix({ relativePath, source: untilSource, ...(untilLine === undefined ? {} : { untilLine }), callPlan: storedTestCallPlan(source) }); return; } this.update({ running: true, error: null }); if (pinned && this.deviceApps.getSnapshot().foregroundApp?.bundleId !== pinned.bundleId) { try { @@ -1707,16 +1730,18 @@ export class TestingPanel { } } testRecorder.clearRun(); - this.runPlatform = runTarget?.platform ?? mirrored; + this.runPlatform = runTarget?.platform ?? this.mirroredPlatform; testRecorder.beginRun(untilLine); if (untilLine !== undefined) countUiEvent("ui.testing.run_until"); const startedAt = performance.now(), telemetryContext = getUiTelemetryAttributes(); + const runOs = uiOsOf(this.runPlatform, runTarget?.appleOs); // A saved project test has no recorder steps to supply `emitted.calls`, so map the runner's // step indexes against the awaited calls in the source currently shown in the preview. - const callLines = storedTestCallLines(source); + const callLines = storedTestCallPlan(source); const poll = setInterval(() => { void this.pollRunProgress(callLines); }, 400); try { await this.stageWrite; + await testRecorder.releaseForRun(); await this.call("mobile_testing_release_device", {}, 30_000).catch(() => undefined); // The server pins before the run starts, so the badge shows it now rather than when the run ends. if (!stored && runTarget && this.snapshot.runtimeMode === "bundled") this.notePinned(relativePath, runTarget); @@ -1735,7 +1760,7 @@ export class TestingPanel { captureUiError(error, "testing.run", telemetryContext); } finally { clearInterval(poll); - if (getUiTelemetryAttributes() === telemetryContext) recordUiTiming("ui.testing.run", performance.now() - startedAt); + if (getUiTelemetryAttributes() === telemetryContext) recordUiTiming("ui.testing.run", performance.now() - startedAt, undefined, runOs); this.update({ running: false }); testRecorder.invalidate(); if (!stored && runTarget) void this.refreshTests(); @@ -1778,6 +1803,7 @@ export class TestingPanel { // A recording left armed would read the tree mid-run and take the session straight back. testRecorder.stop(); try { + await testRecorder.releaseForRun(); await this.call("mobile_testing_release_device", {}, 30_000); } catch { // A release that fails is still worth running through: the tool releases again before it @@ -1786,10 +1812,11 @@ export class TestingPanel { testRecorder.beginRun(until?.untilLine); if (until) countUiEvent("ui.testing.run_until"); const startedAt = performance.now(), telemetryContext = getUiTelemetryAttributes(); + const runOs = uiOsOf(this.runPlatform || this.mirroredPlatform, this.target && "appleOs" in this.target ? this.target.appleOs : undefined); // The run's own tool call is one request and one response, so progress comes from polling a // second tool while it is in flight. See `mobile_testing_run_progress`. const callLines = testRecorder.getSnapshot().sourceOverride !== undefined - ? storedTestCallLines(testRecorder.source) : testRecorder.emitted.calls; + ? storedTestCallPlan(testRecorder.source) : { calls: testRecorder.emitted.calls, loops: new Set(testRecorder.emitted.loops) }; const poll = setInterval(() => { void this.pollRunProgress(callLines); }, 400); try { const response = await this.call("mobile_testing_run_test", { @@ -1807,7 +1834,7 @@ export class TestingPanel { captureUiError(error, "testing.run", telemetryContext); } finally { clearInterval(poll); - if (getUiTelemetryAttributes() === telemetryContext) recordUiTiming("ui.testing.run", performance.now() - startedAt); + if (getUiTelemetryAttributes() === telemetryContext) recordUiTiming("ui.testing.run", performance.now() - startedAt, undefined, runOs); this.update({ running: false }); // The run drove the app, so whatever the recorder cached describes a screen that has gone. testRecorder.invalidate(); @@ -1832,6 +1859,7 @@ export class TestingPanel { const mirror = this.deviceApps.getSnapshot().device; if (mirror?.kind !== "physical" || mirror.platform !== "ios") return selected; return [known.get(mirror.udid) ?? { deviceId: mirror.udid, name: mirror.name, platform: "ios", kind: "physical", runtime: mirror.runtime, + ...(deviceAppleOs(mirror) === "tvos" ? { appleOs: "tvos" as const, unverified: true } : {}), booted: mirror.state === "connected" && mirror.pairingState === "paired" }]; } @@ -1865,30 +1893,36 @@ export class TestingPanel { } /** Project mode: the config target each platform's lanes run, so the server uses the selected one. */ - private matrixProjectTargets(): { ios?: string; android?: string } { - const targets: { ios?: string; android?: string } = {}; + private matrixProjectTargets(): Partial> { + const targets: Partial> = {}; for (const entry of this.matrixTargetOrder()) { const platform = entry.platform; - if ((platform === "ios" || platform === "android") && entry.bundleId && !targets[platform]) targets[platform] = entry.name; + if ((platform === "ios" || platform === "android") && entry.bundleId) { + const key = appKeyOf({ platform, ...(entry.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}) }); + if (!targets[key]) targets[key] = entry.name; + } } return targets; } /** The app a run would drive, per platform: the open test's own app first, then the project's targets. */ - matrixApps(): { ios?: string; android?: string } { + matrixApps(): Partial> { // A pinned Testing Studio test runs only the apps it has; the project's targets are not its apps. if (this.snapshot.runtimeMode === "bundled" && this.storedTarget) return this.storedApps; - const apps: { ios?: string; android?: string } = {}; + const apps: Partial> = {}; // The selected target first, so its app wins its platform; the server picks the same target. for (const entry of this.matrixTargetOrder()) { const platform = entry.platform; - if ((platform === "ios" || platform === "android") && entry.bundleId && !apps[platform]) apps[platform] = entry.bundleId; + if ((platform === "ios" || platform === "android") && entry.bundleId) { + const key = appKeyOf({ platform, ...(entry.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}) }); + if (!apps[key]) apps[key] = entry.bundleId; + } } // A project's lanes run its config's targets, never the app in front on the mirror. if (this.snapshot.runtimeMode !== "bundled") return apps; const own: StoredTestSummary["target"] = this.snapshot.selectedTestPath ? (this.storedTarget ?? this.foregroundTarget) - : this.target?.platform && this.target.bundleId && (this.target.platform === "ios" || this.target.platform === "android") ? { platform: this.target.platform, bundleId: this.target.bundleId } : this.foregroundTarget; - if (own) apps[own.platform] = own.bundleId; + : this.target?.platform && this.target.bundleId && (this.target.platform === "ios" || this.target.platform === "android") ? { platform: this.target.platform, ...(this.target.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), bundleId: this.target.bundleId } : this.foregroundTarget; + if (own) apps[appKeyOf(own)] = own.bundleId; return apps; } @@ -1921,8 +1955,8 @@ export class TestingPanel { const devices = [...parseMatrixDevices("ios", simulators), ...parsePhysicalIosMatrixDevices(physicalIos), ...parseMatrixDevices("android", emulators)]; const apps = this.matrixApps(); const checked = await Promise.all(devices.map(async device => { - const appId = apps[device.platform]; - if (!device.booted || !appId) return device; + const appId = apps[appKeyOf(device)]; + if (!device.booted || !appId || matrixDeviceUnavailable(device, apps)) return device; try { const result = await this.call(device.kind === "physical" ? "mobile_testing_physical_app" : "mobile_list_apps", { platform: device.platform, deviceId: device.deviceId, bundleId: appId }, 20_000); if (device.kind === "physical") return { ...device, installed: object(result.structuredContent)?.installed === true }; @@ -2014,7 +2048,9 @@ export class TestingPanel { } } - private matrixCallLines?: readonly number[]; + private matrixCallPlan?: CallPlan; + /** The calls the matrix's test makes, for counting finished steps. */ + get matrixPlan(): CallPlan | undefined { return this.matrixCallPlan; } private matrixUntilLine?: number; private laneSignature = ""; /** The platform the run on the preview ran on: a matrix lane's, not the mirror's. */ @@ -2050,9 +2086,9 @@ export class TestingPanel { this.laneSignature = signature; this.runPlatform = lane.platform; testRecorder.beginRun(this.matrixUntilLine); - testRecorder.applyRunProgress(lane.progress, this.matrixCallLines); + testRecorder.applyRunProgress(lane.progress, this.matrixCallPlan); if (lane.result) testRecorder.finishRun({ status: lane.result.status, steps: lane.result.steps, ...(lane.result.error ? { error: lane.result.error } : {}), - ...(lane.result.output ? { output: lane.result.output } : {}), ...(lane.result.durationMs === undefined ? {} : { durationMs: lane.result.durationMs }) }); + ...(lane.result.output ? { output: lane.result.output } : {}), ...(lane.result.durationMs === undefined ? {} : { durationMs: lane.result.durationMs }) }, this.matrixCallPlan); else if (lane.state === "error" || lane.state === "cancelled") testRecorder.failRun(lane.error ?? (lane.state === "cancelled" ? "This device's run was cancelled." : "The run failed to start.")); } @@ -2070,12 +2106,12 @@ export class TestingPanel { * which boots a device that is off and installs the app where it is missing. The panel polls the * lanes and shows the selected one's steps on the preview. */ - private async runMatrix(input: { relativePath: string; source: string; untilLine?: number; callLines?: readonly number[] }) { + private async runMatrix(input: { relativePath: string; source: string; untilLine?: number; callPlan?: CallPlan }) { const selection = this.matrixSelection; const apps = this.matrixApps(); - const missing = selection.find(device => !apps[device.platform]); - if (missing) { this.update({ error: `There is no ${missing.platform === "ios" ? "iOS bundle id" : "Android package"} for this test, so ${missing.name} cannot run it.` }); return; } - this.matrixCallLines = input.callLines; + const missing = selection.find(device => !apps[appKeyOf(device)]); + if (missing) { this.update({ error: matrixDeviceUnavailable(missing, apps) ?? `There is no ${missing.platform === "ios" ? "iOS bundle id" : "Android package"} for this test, so ${missing.name} cannot run it.` }); return; } + this.matrixCallPlan = input.callPlan; this.matrixUntilLine = input.untilLine; this.laneSignature = ""; this.update({ running: true, error: null, matrix: null, selectedLane: "", pendingRun: false }); @@ -2085,11 +2121,17 @@ export class TestingPanel { testRecorder.beginRun(input.untilLine); const startedAt = performance.now(), telemetryContext = getUiTelemetryAttributes(); countUiEvent("ui.testing.matrix_run"); + // One count per lane by OS family; the run's timing carries `os` only when every iOS-platform lane shares one. + const laneOses = selection.map(device => uiOsOf(device.platform, device.appleOs === "tvos" ? "tvos" : undefined)); + for (const laneOs of laneOses) if (laneOs) countUiOsEvent("ui.testing.matrix_lane", laneOs); + const matrixOs = laneOses.every(laneOs => laneOs === "tvos") ? "tvos" as const : laneOses.every(laneOs => laneOs === "ios") ? "ios" as const : undefined; try { await this.stageWrite; + // The mirror's Apple TV remote session and a recorder release in flight both hold a simulator the lanes are about to take. + await testRecorder.releaseForRun(); const response = await this.call("mobile_testing_run_matrix", { projectPath: this.snapshot.projectPath, relativePath: input.relativePath, untilSource: input.source, - devices: selection.map(device => ({ deviceId: device.deviceId, platform: device.platform, kind: device.kind ?? (device.platform === "ios" ? "simulator" : "emulator"), name: device.name })), + devices: selection.map(device => ({ deviceId: device.deviceId, platform: device.platform, ...(device.appleOs === "tvos" ? { appleOs: "tvos" as const } : {}), kind: device.kind ?? (device.platform === "ios" ? "simulator" : "emulator"), name: device.name })), apps, limit: this.snapshot.matrixLimit, ...(this.snapshot.runtimeMode === "project" ? { targets: this.matrixProjectTargets() } : {}), ...(this.snapshot.modelPreference ? { model: this.snapshot.modelPreference } : {}), @@ -2110,13 +2152,17 @@ export class TestingPanel { } const passed = this.snapshot.matrix?.lanes.every(lane => lane.state === "passed"); countUiEvent(passed ? "ui.testing.matrix_passed" : "ui.testing.matrix_failed"); + for (const lane of this.snapshot.matrix?.lanes ?? []) { + const laneOs = uiOsOf(lane.platform, lane.appleOs); + if (laneOs) countUiOsEvent(lane.state === "passed" ? "ui.testing.matrix_lane_passed" : "ui.testing.matrix_lane_failed", laneOs); + } } catch (error) { const message = error instanceof Error ? error.message : String(error); testRecorder.failRun(message); this.update({ error: message }); captureUiError(error, "testing.run_matrix", telemetryContext); } finally { - if (getUiTelemetryAttributes() === telemetryContext) recordUiTiming("ui.testing.matrix_run", performance.now() - startedAt); + if (getUiTelemetryAttributes() === telemetryContext) recordUiTiming("ui.testing.matrix_run", performance.now() - startedAt, undefined, matrixOs); this.update({ running: false }); testRecorder.invalidate(); } diff --git a/packages/ui/test/apple-tv-mirror.test.ts b/packages/ui/test/apple-tv-mirror.test.ts new file mode 100644 index 000000000..d2f5ec523 --- /dev/null +++ b/packages/ui/test/apple-tv-mirror.test.ts @@ -0,0 +1,101 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { LONG_PRESS_MS, MAX_PRESS_MS, appleTvIdleState, degradedNotice, degradedReason, isPhysicalAppleTv, pollScreenshots, remotePress } from "../src/apple-tv-mirror.ts"; +import { decoderConfig } from "../src/ios-mirror-video.ts"; +import type { PhysicalIosDevice } from "../../shared/src/ios-devices.ts"; + +const tv: PhysicalIosDevice = { udid: "tv-1", coreDeviceId: "33333333-3333-4333-8333-333333333333", name: "Living Room", model: "Apple TV 4K", productType: "AppleTV14,1", + state: "connected", runtime: "tvOS 27.0", platform: "ios", kind: "physical", transportType: "localNetwork", pairingState: "paired", appleOs: "tvos" }; + +test("keys map to remote buttons and a hold becomes a bounded long press", () => { + assert.deepEqual(remotePress("ArrowUp"), { button: "up" }); + assert.deepEqual(remotePress("Enter"), { button: "select" }); + assert.deepEqual(remotePress("Escape"), { button: "menu" }); + assert.deepEqual(remotePress("Enter", LONG_PRESS_MS - 1), { button: "select" }); + assert.deepEqual(remotePress("Enter", 1234.4), { button: "select", durationMs: 1234 }); + assert.deepEqual(remotePress("Enter", 60_000), { button: "select", durationMs: MAX_PRESS_MS }); + assert.equal(remotePress("KeyA"), undefined); + assert.deepEqual(remotePress("Enter", Number.NaN), { button: "select" }); +}); + +test("only a physical tvOS device is a physical Apple TV", () => { + assert.equal(isPhysicalAppleTv(tv), true); + const { appleOs: _, ...phone } = tv; + assert.equal(isPhysicalAppleTv({ ...phone, runtime: "iOS 27.0" }), false); + assert.equal(isPhysicalAppleTv({ udid: "sim", name: "Apple TV", state: "Booted", runtime: "tvOS 27.0" }), false); + assert.equal(isPhysicalAppleTv(undefined), false); +}); + +test("asleep and unpaired Apple TVs are idle states with a hint; a connected one is not", () => { + assert.equal(appleTvIdleState(tv), undefined); + const asleep = appleTvIdleState({ ...tv, state: "asleep" }); + assert.equal(asleep?.title, "Living Room · Asleep"); + assert.match(asleep?.description ?? "", /Wake the Apple TV with its remote/); + const unpaired = appleTvIdleState({ ...tv, state: "unavailable", pairingState: "unpaired" }); + assert.equal(unpaired?.title, "Living Room · Not paired"); + assert.match(unpaired?.description ?? "", /Remote App and Devices/); + assert.equal(appleTvIdleState({ ...tv, appleOs: undefined, state: "disconnected" }), undefined); +}); + +test("only a display rejection degrades, and the notice names the device's reason", () => { + assert.equal(degradedReason(new Error("display-rejected: declined")), "display-rejected: declined"); + assert.equal(degradedReason(new Error("The Apple TV is asleep.")), undefined); + assert.equal(degradedReason(undefined), undefined); + assert.match(degradedNotice("display-rejected: declined"), /screenshots\. \(declined\)$/); +}); + +test("10-bit streams take no hardware preference so a software decoder can step in", () => { + const base = { revision: 1, width: 3840, height: 2160, codec: "hvc1.2.4.L153.B0", description: "AQ==" }; + assert.equal(decoderConfig({ ...base, bitDepth: 10 }).hardwareAcceleration, "no-preference"); + assert.equal(decoderConfig({ ...base, bitDepth: 8 }).hardwareAcceleration, "prefer-hardware"); + assert.equal(decoderConfig(base).hardwareAcceleration, "prefer-hardware"); + assert.equal(decoderConfig(base).codedWidth, 3840); +}); + +function image() { let closed = 0; return { bitmap: { close() { closed++; } } as unknown as ImageBitmap, get closed() { return closed; } }; } + +test("screenshot polling shows each capture, closes it, and stops on abort", async () => { + const controller = new AbortController(); + const shown: ImageBitmap[] = []; + const bitmaps: ReturnType[] = []; + let shots = 0; + const outcome = await pollScreenshots({ + signal: controller.signal, + shoot: async () => ({ mimeType: "image/png", data: "AA==" }), + decode: async () => { const next = image(); bitmaps.push(next); shots++; return next.bitmap; }, + show: bitmap => { shown.push(bitmap); if (shots === 3) controller.abort(); }, + sleep: async () => {}, + }); + assert.equal(outcome, "stopped"); + assert.equal(shown.length, 3); + assert.deepEqual(bitmaps.map(entry => entry.closed), [1, 1, 1]); +}); + +test("screenshot polling expires at its time bound and backs off after a slow capture", async () => { + let clock = 0; + const delays: number[] = []; + const outcome = await pollScreenshots({ + signal: new AbortController().signal, intervalMs: 2000, maxMs: 10_000, now: () => clock, + shoot: async () => { clock += 1500; return undefined; }, + show: () => assert.fail("nothing to show"), + sleep: async ms => { delays.push(ms); clock += ms; }, + }); + assert.equal(outcome, "expired"); + assert.equal(delays[0], 3000, "twice a slow capture beats the base interval"); + assert.ok(delays.every(ms => ms >= 2000)); +}); + +test("screenshot polling tolerates a failure, then gives up after consecutive failures", async () => { + const controller = new AbortController(); + let calls = 0; + let shown = 0; + const outcome = await pollScreenshots({ + signal: controller.signal, maxMs: 1e9, sleep: async () => {}, + shoot: async () => { calls++; if (calls === 1) throw new Error("runner busy"); return { mimeType: "image/png", data: "AA==" }; }, + decode: async () => image().bitmap, show: () => { if (++shown === 2) controller.abort(); }, + }); + assert.equal(outcome, "stopped"); + assert.equal(shown, 2, "the first failure was retried"); + const failing = pollScreenshots({ signal: new AbortController().signal, maxFailures: 3, sleep: async () => {}, shoot: async () => { throw new Error("offline"); }, show: () => {} }); + await assert.rejects(failing, /offline/); +}); diff --git a/packages/ui/test/physical-appletv.test.ts b/packages/ui/test/physical-appletv.test.ts new file mode 100644 index 000000000..6546a08a3 --- /dev/null +++ b/packages/ui/test/physical-appletv.test.ts @@ -0,0 +1,45 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { describeDevice } from "../src/device-inventory.ts"; +import { parsePhysicalIosMatrixDevices } from "../src/testing-matrix.ts"; +import { physicalConnectionLabel } from "../../shared/src/ios-devices.ts"; +import type { PhysicalIosDevice } from "../../shared/src/ios-devices.ts"; + +process.env.MOBILE_DEV_PHYSICAL_APPLE_TV = "1"; // physical Apple TV support is opt-in + +const tv: PhysicalIosDevice = { udid: "00008110-000A0B1C2D3E4F00", coreDeviceId: "33333333-3333-4333-8333-333333333333", name: "Living Room", model: "Apple TV 4K (3rd generation)", + productType: "AppleTV14,1", state: "connected", runtime: "tvOS 27.0", platform: "ios", kind: "physical", transportType: "localNetwork", pairingState: "paired", appleOs: "tvos" }; +const phone: PhysicalIosDevice = { ...tv, name: "Test iPhone", model: "iPhone 17 Pro", productType: "iPhone18,1", runtime: "iOS 27.0", transportType: "wired" }; +delete phone.appleOs; + +test("a connected Apple TV is a tvOS device in Connected devices, marked unverified", () => { + const option = describeDevice(tv, "ios"); + assert.equal(option.appleOs, "tvos"); + assert.equal(option.group, "Connected devices"); + assert.equal(option.unverified, true); + assert.equal(option.running, true); + assert.equal(option.detail, "Apple TV · Network · Unverified"); +}); + +test("an asleep or unpaired Apple TV says so instead of Offline", () => { + assert.match(describeDevice({ ...tv, state: "asleep" }, "ios").detail, /Asleep \(wake it with its remote\)/); + assert.match(describeDevice({ ...tv, state: "unavailable", pairingState: "unpaired" }, "ios").detail, /Not paired/); + assert.equal(describeDevice({ ...tv, state: "asleep" }, "ios").running, false); +}); + +test("a physical iPhone is described as before", () => { + const option = describeDevice(phone, "ios"); + assert.equal(option.appleOs, "ios"); + assert.equal(option.unverified, false); + assert.equal(option.detail, "USB"); + assert.match(describeDevice({ ...phone, state: "disconnected" }, "ios").detail, /USB · Offline/); + assert.equal(physicalConnectionLabel("localNetwork"), "Wi-Fi"); +}); + +test("the matrix checklist offers Apple TVs as tvOS, unverified, with their sleep state", () => { + const [connected, asleep, unpaired, iphone] = parsePhysicalIosMatrixDevices({ physicalDevices: [tv, { ...tv, udid: "b", state: "asleep" }, { ...tv, udid: "c", state: "unavailable", pairingState: "unpaired" }, phone] }); + assert.deepEqual([connected!.appleOs, connected!.unverified, connected!.booted, connected!.connectionState], ["tvos", true, true, "Connected"]); + assert.deepEqual([asleep!.booted, asleep!.connectionState], [false, "Asleep"]); + assert.deepEqual([unpaired!.booted, unpaired!.connectionState], [false, "Pair this device"]); + assert.deepEqual([iphone!.appleOs, iphone!.unverified, iphone!.connectionState], [undefined, undefined, "Connected"]); +}); diff --git a/packages/ui/test/simulator-panel.test.ts b/packages/ui/test/simulator-panel.test.ts index d2d04a5e1..988b318c1 100644 --- a/packages/ui/test/simulator-panel.test.ts +++ b/packages/ui/test/simulator-panel.test.ts @@ -223,6 +223,7 @@ function fixture(t: TestContext) { } if (call.name === "mobile_android_describe_ui" && androidAccessibility) return { content: [], structuredContent: androidAccessibility }; if (call.name.endsWith("_describe_ui")) return { content: [], structuredContent: { tree: { elements: [{ label: "Continue", role: "AXButton", frame: { x: 10, y: 20, width: 100, height: 100 } }] } } }; + if (call.name === "device_screenshot") return { content: [{ type: "image", mimeType: "image/png", data: "AA==" }] }; if (call.name.endsWith("_capture_screenshot")) return { content: [{ type: "image", mimeType: "image/png", data: call.arguments.image ?? "AA==" }], structuredContent: { copied: screenshotCopied, ...(screenshotCopied ? {} : { clipboardError: "Clipboard unavailable" }) }, @@ -1509,3 +1510,59 @@ for (const platform of ["ios", "android"] as const) test(`selecting a stopped ${ assert.equal(f.calls.filter(call => call.name === (platform === "ios" ? "mobile_boot_simulator" : "mobile_boot_android_emulator")).length, 1); assert.equal(panel.root.buttons[0].disabled, false); }); + +const physicalTv: PhysicalIosDevice = { ...physicalPhone, udid: "00008110-000A0B1C2D3E4F00", name: "Living Room", model: "Apple TV 4K", productType: "AppleTV14,1", runtime: "tvOS 27.0", appleOs: "tvos" }; + +test("a physical Apple TV mirrors live and its input is remote presses, never touch", async t => { + const f = fixture(t); + f.setPhysicalDevices([physicalTv]); + await f.ios.load({ platform: "ios", kind: "physical", deviceId: physicalTv.udid }); + await f.ios.picker.refresh(); + await waitFor(() => f.ios.element("screen").draws > 0); + assert.equal(f.calls.some(call => call.name === "mobile_ios_mirror_session"), true); + assert.equal(f.ios.element("platform-label").textContent, "tvOS · Unverified"); + await waitFor(() => f.ios.root.tvButtons.every(button => !button.disabled)); + const screen = f.ios.element("screen"); + dispatch(screen, "pointerdown", { pointerId: 1, button: 0, clientX: 75, clientY: 150 }); + dispatch(screen, "pointerup", { pointerId: 1 }); + dispatch(screen, "keydown", { key: "ArrowDown", code: "ArrowDown" }); + dispatch(screen, "keydown", { key: "Enter", code: "Enter" }); + dispatch(screen, "keydown", { key: "Escape", code: "Escape" }); + await waitFor(() => f.calls.filter(call => call.name === "device_tv-remote").length === 3); + assert.deepEqual(f.calls.filter(call => call.name === "device_tv-remote").map(call => call.arguments.button), ["down", "select", "menu"]); + assert.equal(f.calls.some(call => call.name === "mobile_ios_mirror_input"), false, "touch never reaches the Apple TV"); + assert.equal(f.calls.find(call => call.name === "device_open")?.arguments.udid, physicalTv.udid); +}); + +test("an asleep Apple TV shows a wake hint, not an error, and mirrors when it wakes", async t => { + const f = fixture(t); + f.setPhysicalDevices([{ ...physicalTv, state: "asleep" }]); + await f.ios.load({ platform: "ios", kind: "physical", deviceId: physicalTv.udid }); + await f.ios.picker.refresh(); + await waitFor(() => /Asleep/.test(f.ios.element("empty").textContent)); + assert.match(f.ios.element("empty-description").textContent, /Wake the Apple TV with its remote/); + assert.equal(f.ios.element("notice-message").textContent, "", "asleep is an idle state, not a reported error"); + assert.equal(f.calls.some(call => call.name === "mobile_ios_mirror_session"), false); + f.setPhysicalDevices([physicalTv]); + await f.ios.picker.refresh(); + await waitFor(() => f.calls.some(call => call.name === "mobile_ios_mirror_session")); + await waitFor(() => f.ios.element("screen").draws > 0); + assert.equal(f.ios.element("empty").hidden, true); +}); + +test("an Apple TV that refuses a video stream degrades to bounded screenshots with a notice", async t => { + const f = fixture(t); + f.setPhysicalDevices([physicalTv]); + f.failPhysicalCapture("display-rejected: The Apple TV declined the screen stream."); + await f.ios.load({ platform: "ios", kind: "physical", deviceId: physicalTv.udid }); + await f.ios.picker.refresh(); + await waitFor(() => f.calls.some(call => call.name === "device_screenshot")); + await waitFor(() => f.ios.element("screen").draws > 0); + assert.match(f.ios.element("notice-message").textContent, /Live video is unavailable from this Apple TV.*screenshots/); + assert.match(f.ios.element("notice-message").textContent, /declined the screen stream/); + assert.equal(f.ios.element("screenshot").disabled, true, "the live-mirror screenshot tool has no session in degraded mode"); + await waitFor(() => f.ios.root.tvButtons.every(button => !button.disabled)); + dispatch(f.ios.element("screen"), "keydown", { key: "Enter", code: "Enter" }); + await waitFor(() => f.calls.some(call => call.name === "device_tv-remote")); + assert.equal(f.calls.some(call => call.name === "mobile_ios_mirror_close"), false); +}); diff --git a/packages/ui/test/test-recorder.test.ts b/packages/ui/test/test-recorder.test.ts index 057b0d4a1..8950059d2 100644 --- a/packages/ui/test/test-recorder.test.ts +++ b/packages/ui/test/test-recorder.test.ts @@ -842,3 +842,88 @@ test("a failed first screen read after Record says why instead of silently dropp assert.equal(recorder.getSnapshot().preparing, false); assert.match(recorder.getSnapshot().error, /signing team/); }); + +/** An Apple TV item; focus is what the remote moves, and a cell's own bounds are what the outline covers. */ +const tvItem = (label: string, y: number, focused = false): ScreenComponent => ({ ...tab(label, y), ...(focused ? { focused: true } : {}) }); + +test("on an Apple TV the menu offers focus steps and no touch ones, and iOS offers neither tvOS step", async () => { + const tv = new TestRecorder(); + tv.attach(UDID, "ios", { ...reader([tvItem("Settings", 300)], { count: 0 }), appleOs: "tvos" }); + tv.start(UDID, "ios"); + await tv.openMenu({ x: 50, y: 320 }); + const menu = tv.getSnapshot().menu!; + assert.deepEqual(menu.offers.map(offer => offer.kind), ["assertFocused", "assertVisible"]); + const commands = menu.commands.map(offer => offer.kind); + for (const hidden of ["tap", "doubleTap", "longPress", "swipe", "scrollUntilVisible"]) assert.ok(!commands.includes(hidden as never), hidden); + assert.ok(commands.includes("pressUntilFocused") && commands.includes("assertFocused")); + + const phone = new TestRecorder(); + phone.attach(UDID, "ios", reader([tab("Settings", 300)], { count: 0 })); + phone.start(UDID, "ios"); + await phone.openMenu({ x: 50, y: 320 }); + const phoneKinds = [...phone.getSnapshot().menu!.offers, ...phone.getSnapshot().menu!.commands].map(offer => offer.kind); + assert.ok(phoneKinds.includes("tap") && phoneKinds.includes("swipe")); + assert.ok(!phoneKinds.includes("assertFocused") && !phoneKinds.includes("pressUntilFocused")); +}); + +test("a remote press is recorded as a step and taken through the reader", async () => { + const recorder = new TestRecorder(); + const done: unknown[] = []; + recorder.attach(UDID, "ios", { ...reader([tvItem("Movies", 200, true)], { count: 0 }), appleOs: "tvos", perform: action => { done.push(action); } }); + recorder.start(UDID, "ios"); + recorder.recordPress("down"); + recorder.recordPress("select", 1000); + const steps = recorder.getSnapshot().steps; + assert.deepEqual(steps.map(step => step.label), ["Press down", "Long press select (1000 ms)"]); + assert.deepEqual(done, [{ kind: "press", button: "down" }, { kind: "press", button: "select", durationMs: 1000 }]); + // Nothing is recorded when no recording is armed, and an agent recording owns the device itself. + const idle = new TestRecorder(); + idle.recordPress("down"); + assert.equal(idle.getSnapshot().steps.length, 0); + assert.match(recorder.source, /await press\(device, "down"\);/); +}); + +test("pressUntilFocused presses toward the element until it holds focus", async () => { + const recorder = new TestRecorder(); + const done: { kind: string; button?: string }[] = []; + let focus = "Movies"; + const screens = () => [tvItem("Movies", 200, focus === "Movies"), tvItem("Settings", 300, focus === "Settings")]; + recorder.attach(UDID, "ios", { + appleOs: "tvos", screen: () => SCREEN, release: () => undefined, + readComponents: async () => screens(), + perform: action => { done.push(action as never); if ((action as { kind: string }).kind === "press") focus = "Settings"; }, + }); + recorder.start(UDID, "ios"); + await pick(recorder, { x: 50, y: 320 }, "pressUntilFocused", "down"); + const [step] = recorder.getSnapshot().steps; + assert.equal(step!.kind, "pressUntilFocused"); + assert.equal((step as { direction?: string }).direction, "down"); + assert.deepEqual(done, [{ kind: "press", button: "down" }]); +}); + +test("a run waits for the release the recorder started and for the mirror's remote session", async () => { + const recorder = new TestRecorder(); + const order: string[] = []; + let finish: () => void = () => undefined; + recorder.useTreeSource({ + read: async () => ({ tree: [] }), + release: () => new Promise(resolve => { finish = () => { order.push("recorder released"); resolve(); }; }), + }); + recorder.registerMirrorRelease(async () => { order.push("mirror released"); }); + // Stopping a recording does not wait for the release, but whoever takes the device next does. + void recorder.releaseTree(); + const ready = recorder.releaseForRun().then(() => order.push("run may start")); + await new Promise(resolve => setTimeout(resolve, 10)); + assert.deepEqual(order, ["mirror released"], "the run is still held back by the recorder's release"); + finish(); + await ready; + assert.deepEqual(order, ["mirror released", "recorder released", "run may start"]); + await recorder.released(); +}); + +test("a release that fails does not hold the device back", async () => { + const recorder = new TestRecorder(); + recorder.useTreeSource({ read: async () => ({ tree: [] }), release: async () => { throw new Error("gone"); } }); + await recorder.releaseForRun(); + await recorder.releaseTree(); +}); diff --git a/packages/ui/test/testing-matrix.test.ts b/packages/ui/test/testing-matrix.test.ts index 1e458adc4..485628ad9 100644 --- a/packages/ui/test/testing-matrix.test.ts +++ b/packages/ui/test/testing-matrix.test.ts @@ -189,3 +189,27 @@ test("opening another test clears the device choice", async () => { assert.deepEqual(panel.getSnapshot().matrixSelected, []); panel.dispose(); }); + +test("an Apple TV simulator is a tvos matrix device on platform ios", () => { + const [tv, phone] = parseMatrixDevices("ios", { devices: [{ udid: "T", name: "Apple TV 4K", state: "Booted", runtime: "tvOS 27.0" }, { udid: "P", name: "iPhone", state: "Booted", runtime: "iOS 26.0" }] }); + assert.equal(tv.platform, "ios"); + assert.equal(tv.appleOs, "tvos"); + assert.equal(phone.appleOs, undefined); +}); + +import { matrixDeviceUnavailable } from "../src/testing-matrix.ts"; + +test("an iPhone never runs an Apple TV test and the reverse", () => { + assert.match(matrixDeviceUnavailable({ platform: "ios" }, { tvos: "org.tv" })!, /Apple TV/); + assert.match(matrixDeviceUnavailable({ platform: "ios", appleOs: "tvos" }, { ios: "org.phone" })!, /iPhone/); + assert.equal(matrixDeviceUnavailable({ platform: "ios", appleOs: "tvos" }, { ios: "org.phone", tvos: "org.tv" }), undefined); + assert.equal(matrixDeviceUnavailable({ platform: "android" }, { tvos: "org.tv" }), undefined); + assert.equal(matrixDeviceUnavailable({ platform: "ios" }, {}), undefined, "no app at all is the existing missing-app note, not an OS mismatch"); +}); + +test("the lane label counts finished calls, not a focus loop's attempts", () => { + const plan = { calls: [3, 5, 6], loops: new Set([5]) }; + const progress = [{ stepIndex: 0, phase: "end" as const, status: "passed" }, { stepIndex: 1, phase: "end" as const, status: "failed" }, { stepIndex: 2, phase: "end" as const, status: "failed" }, { stepIndex: 3, phase: "start" as const }]; + const lane = { runId: "r", deviceId: "d", deviceName: "TV", platform: "ios" as const, state: "running" as const, progress }; + assert.equal(laneLabel(lane, 3, plan), "Running step 2 of 3"); +}); diff --git a/packages/ui/test/testing-panel.test.ts b/packages/ui/test/testing-panel.test.ts index 0e91152c2..f32c9438f 100644 --- a/packages/ui/test/testing-panel.test.ts +++ b/packages/ui/test/testing-panel.test.ts @@ -608,3 +608,23 @@ test("a physical iPhone's front app known only by its pid is resolved as a physi assert.equal(panel.target?.bundleId, "com.apple.Preferences"); } finally { panel.dispose(); } }); + +test("No project runs on an Apple TV simulator carry appleOs and the simulator's deviceId", async () => { + const tvApps = { subscribe: () => () => undefined, getSnapshot: () => ({ device: { udid: "TV-SIM", name: "Apple TV", state: "Booted", runtime: "tvOS 18.0", platform: "ios", kind: "simulator" }, apps: [], foregroundApp: { bundleId: "org.reactjs.native.example.TVApp", pid: 1 }, ready: true }) } as unknown as DeviceAppsStore; + const calls: { name: string; arguments: Record }[] = []; + const panel = new TestingPanel(host({ + mobile_testing_write_file: { written: true, existed: false, path: `${PROJECT}/tests/flow.e2e.ts` }, + mobile_testing_run_test: { status: "passed", exitCode: 0, steps: [{ line: 8, status: "passed" }] }, + }, calls), tvApps); + panel.setAvailable(true); + // The Studio workspace names no tvOS source, so the server read yields an unmarked iOS target. + (panel as unknown as { update(fields: Record): void }).update({ projectPath: PROJECT, studioPath: PROJECT, runtimeMode: "bundled", fileName: "flow", targets: [{ name: "ios", platform: "ios", bundleId: "org.reactjs.native.example.TVApp" }], targetName: "ios" }); + await recordOneStep(panel); + await panel.runTest(); + const run = calls.findLast(call => call.name === "mobile_testing_run_test")?.arguments ?? {}; + assert.equal(run.appleOs, "tvos"); + assert.equal(run.deviceId, "TV-SIM"); + assert.equal(run.platform, "ios"); + assert.equal(run.bundleId, "org.reactjs.native.example.TVApp"); + panel.dispose(); +}); diff --git a/packages/ui/test/testing-view-tvos.test.ts b/packages/ui/test/testing-view-tvos.test.ts new file mode 100644 index 000000000..6e5dda606 --- /dev/null +++ b/packages/ui/test/testing-view-tvos.test.ts @@ -0,0 +1,48 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { build } from "esbuild"; +import { JSDOM } from "jsdom"; + +/** Mounts the real Testing view with a project and target, mirroring `runtime` on a booted simulator. */ +async function mountWith(runtime: string, t: test.TestContext) { + const built = await build({ + stdin: { contents: ` + import { createRoot } from "react-dom/client"; + import { flushSync } from "react-dom"; + import { TestingPanel } from "./packages/ui/src/testing-panel.ts"; + import { TestingView } from "./packages/ui/src/components/testing-view.tsx"; + export function mount(scenario) { + const host = { async callServerTool() { return { content: [], structuredContent: {} }; }, getHostCapabilities() { return undefined; } }; + const state = { device: scenario.device, apps: [], foregroundApp: { bundleId: "com.example.app", pid: 1 }, ready: true }; + const deviceApps = { subscribe: () => () => undefined, getSnapshot: () => state }; + const panel = new TestingPanel(host, deviceApps, { heartbeatMs: 1e9 }); + panel.update({ projectPath: "/proj", available: true, open: true, runtimeMode: "project", targets: [{ name: "app", platform: "ios", bundleId: "com.example.app" }], targetName: "app" }); + const errors = []; + const root = createRoot(document.getElementById("root"), { onUncaughtError: e => errors.push(String(e)), onCaughtError: e => errors.push(String(e)) }); + flushSync(() => root.render()); + return { errors, close: () => { root.unmount(); panel.dispose?.(); } }; + }`, resolveDir: process.cwd().replace(/packages\/ui$/, ""), loader: "tsx" }, + bundle: true, write: false, format: "iife", globalName: "RenderTvos", platform: "browser", jsx: "automatic", + define: { "process.env.NODE_ENV": '"production"' }, logLevel: "silent", + }); + const dom = new JSDOM('
    ', { pretendToBeVisual: true, runScripts: "outside-only", url: "https://mobile-dev.test/" }); + const window = dom.window; + window.ResizeObserver = class { observe() {} disconnect() {} unobserve() {} }; + window.eval(built.outputFiles[0].text); + const mounted = window.RenderTvos.mount({ device: { udid: "u", name: "Device", state: "Booted", runtime } }); + t.after(() => { mounted.close(); window.close(); }); + await new Promise(resolve => window.setTimeout(resolve, 25)); + return { window, errors: mounted.errors as string[] }; +} + +test("a booted Apple TV can be recorded: no notice and an enabled Record", async t => { + const { window, errors } = await mountWith("tvOS 27.0", t); + assert.equal(errors.length, 0, errors.join("\n")); + assert.equal(window.document.querySelector("[data-testing-blocker]"), null); + assert.equal((window.document.querySelector("[data-testing-record]") as HTMLButtonElement | null)?.disabled, false); +}); + +test("a booted iPhone simulator does not show the tvOS notice", async t => { + const { window } = await mountWith("iOS 26.0", t); + assert.ok(!(window.document.body.textContent ?? "").includes("tvOS recording needs remote steps")); +}); diff --git a/packages/ui/test/ui-telemetry.test.ts b/packages/ui/test/ui-telemetry.test.ts index b142724f6..3e30e06e2 100644 --- a/packages/ui/test/ui-telemetry.test.ts +++ b/packages/ui/test/ui-telemetry.test.ts @@ -772,3 +772,50 @@ test("App Intelligence layout measurements carry counts only, never paths", asyn contains(encoded, "/Users/", false); contains(encoded, ".tsx", false); }); + +test("Testing Studio timings and press counts split by OS family as bounded aggregates", async t => { + const built = await build({ + stdin: { contents: 'export * from "./packages/ui/src/telemetry.ts";', resolveDir: process.cwd(), loader: "ts" }, + bundle: true, write: false, format: "iife", globalName: "Telemetry", platform: "browser", target: "chrome120", + define: { "process.env.NODE_ENV": '"production"' }, + }); + const html = `${identityMeta}`; + const dom = new JSDOM(html, { pretendToBeVisual: true, runScripts: "outside-only", url: "https://mobile-dev.test/" }); + t.after(() => dom.window.close()); + const window = dom.window; + window.Math.random = () => 0; + Object.defineProperty(window.performance, "getEntriesByType", { value: () => [] }); + Object.defineProperty(window.performance, "getEntries", { value: () => [] }); + const bodies: string[] = []; + window.fetch = async (_url, options) => { bodies.push(String(options?.body ?? "")); return new Response("", { status: 200 }); }; + window.eval(built.outputFiles[0].text); + const api = window.Telemetry; + api.startUiTelemetry({ async callServerTool() { return { content: [] }; } }); + assert.equal(api.uiOsOf("ios", "tvos"), "tvos"); + assert.equal(api.uiOsOf("ios"), "ios"); + assert.equal(api.uiOsOf("android", "tvos"), undefined, "Android has no OS family"); + api.recordUiTiming("ui.testing.run", 100, undefined, "tvos"); + api.recordUiTiming("ui.testing.run", 50, undefined, "ios"); + api.recordUiTiming("ui.testing.record_prepare", 20, "ios", "tvos"); + api.recordUiTiming("ui.testing.matrix_run", 300); + for (let press = 0; press < 25; press++) api.countUiOsEvent("ui.testing.remote_press", "tvos"); + api.countUiOsEvent("ui.testing.press_until_focused.found", "tvos"); + api.countUiOsEvent("ui.testing.press_until_focused.exhausted", "tvos"); + api.flushUiMeasurements(); + await api.stopUiTelemetry(); + const metrics: { name: string; value: number; attributes: Record }[] = []; + for (const body of bodies) for (const line of body.split("\n")) { + if (line.includes('"items"') === false) continue; + metrics.push(...JSON.parse(line).items); + } + const find = (name: string, os?: string) => metrics.filter(metric => metric.name === name && metric.attributes.os?.value === os); + assert.equal(find("ui.testing.run.samples", "tvos")[0]?.value, 1); + assert.equal(find("ui.testing.run.samples", "ios")[0]?.value, 1); + assert.equal(find("ui.testing.record_prepare.samples", "tvos")[0]?.attributes.platform?.value, "ios"); + assert.equal(find("ui.testing.matrix_run.samples", undefined).length, 1, "a mixed matrix carries no os"); + const presses = find("ui.testing.remote_press", "tvos"); + assert.equal(presses.length, 1, "presses are one aggregate, not one metric each"); + assert.equal(presses[0]?.value, 25); + assert.equal(find("ui.testing.press_until_focused.found", "tvos")[0]?.value, 1); + assert.equal(find("ui.testing.press_until_focused.exhausted", "tvos")[0]?.value, 1); +}); diff --git a/tooling/hosts/screenshots/codex/testing-apple-tv-offers-dark.png b/tooling/hosts/screenshots/codex/testing-apple-tv-offers-dark.png new file mode 100644 index 000000000..85e1bda0b Binary files /dev/null and b/tooling/hosts/screenshots/codex/testing-apple-tv-offers-dark.png differ diff --git a/tooling/hosts/screenshots/codex/testing-apple-tv-offers-light.png b/tooling/hosts/screenshots/codex/testing-apple-tv-offers-light.png new file mode 100644 index 000000000..56909ecbd Binary files /dev/null and b/tooling/hosts/screenshots/codex/testing-apple-tv-offers-light.png differ diff --git a/tooling/hosts/screenshots/codex/testing-apple-tv-steps-dark.png b/tooling/hosts/screenshots/codex/testing-apple-tv-steps-dark.png new file mode 100644 index 000000000..3d9e725e7 Binary files /dev/null and b/tooling/hosts/screenshots/codex/testing-apple-tv-steps-dark.png differ diff --git a/tooling/hosts/screenshots/codex/testing-apple-tv-steps-light.png b/tooling/hosts/screenshots/codex/testing-apple-tv-steps-light.png new file mode 100644 index 000000000..2647d5356 Binary files /dev/null and b/tooling/hosts/screenshots/codex/testing-apple-tv-steps-light.png differ diff --git a/tooling/hosts/visual.spec.ts b/tooling/hosts/visual.spec.ts index d6379ccc7..055b54c39 100644 --- a/tooling/hosts/visual.spec.ts +++ b/tooling/hosts/visual.spec.ts @@ -1,5 +1,7 @@ import { expect, test } from "./fixtures.ts"; import { recordingFixture, recordingWithFramesFixture } from "../../packages/test-support/recording-fixtures.ts"; +import { stepLabel } from "../../packages/shared/src/test-recording.ts"; +import type { RecordedStep } from "../../packages/shared/src/test-recording.ts"; import type { Theme } from "./profiles.ts"; // Screenshots of the Codex panel with no device attached, in light and dark. The @@ -66,6 +68,41 @@ for (const theme of themes) test.describe(`${theme}`, { tag: "@visual" }, () => await expect(studio).toHaveScreenshot(`testing-runtime-${theme}.png`); }); + test("Testing Studio on an Apple TV simulator", async ({ openView, server }) => { + // A kept recording made on an Apple TV: a remote press, focus moved to an element, focus asserted. + const focusTarget = { kind: "testId", testId: "play-button" } as const; + const steps: RecordedStep[] = [ + { id: "step-press", kind: "press", button: "right", label: "Press right" }, + { id: "step-focus", kind: "pressUntilFocused", selector: focusTarget, direction: "down", label: stepLabel("pressUntilFocused", focusTarget, "down") }, + { id: "step-assert", kind: "assertFocused", selector: focusTarget, label: stepLabel("assertFocused", focusTarget) }, + ]; + const listed = await server.client.callTool({ name: "mobile_testing_projects", arguments: {} }); + const studioPath = (listed.structuredContent as { studioPath: string }).studioPath; + const saved = await server.client.callTool({ name: "mobile_testing_draft_save", arguments: { projectPath: studioPath, title: "Play a show", origin: "user", steps } }); + expect(saved.isError, JSON.stringify(saved.content)).not.toBe(true); + const kept = await server.client.callTool({ name: "mobile_testing_drafts", arguments: { projectPath: studioPath } }); + expect(JSON.stringify(kept.structuredContent), `studio ${studioPath}`).toContain("Play a show"); + const tv = { name: "Apple TV 4K", udid: "5787DB96-A801-46A8-8BFE-0F4F0771D80A", state: "Booted", runtime: "tvOS 27.0" }; + const { view } = await openView("mobile_open_workspace", { theme, width: 1000, inventory: { ios: [tv], android: [] } }); + await view.locator("#tool-select").click(); + await view.getByRole("option", { name: "Testing Studio" }).click(); + const studio = view.getByRole("region", { name: "Testing Studio", exact: true }); + // The mirror's toolbar swaps touch for the remote on a tvOS simulator. The buttons are disabled + // here, as no stream opens in the host tests, so they are asserted rather than photographed. + for (const button of ["TV left", "TV up", "TV down", "TV right", "TV select", "TV menu"]) await expect(view.getByRole("button", { name: button })).toBeVisible(); + await studio.locator("[data-testing-drafts]").click(); + await view.locator("[data-testing-draft-option]").first().click(); + await expect(studio.getByText("Press right", { exact: true })).toBeVisible(); + await expect.soft(studio).toHaveScreenshot(`testing-apple-tv-steps-${theme}.png`); + await studio.locator("[data-testing-step-menu]").nth(1).hover(); + // Hovering opens the menu; the row's own click opens the commands beside it. The row is + // re-rendered while the menu animates in, so the click is dispatched rather than aimed at it. + await view.locator("[data-testing-step-commands]").dispatchEvent("click"); + const commands = view.locator("[data-testing-step-commands-panel]"); + await expect(commands.getByText("Press until focused")).toBeVisible(); + await expect.soft(commands).toHaveScreenshot(`testing-apple-tv-offers-${theme}.png`); + }); + test("visible hitch markers on the FPS curve", async ({ openView, server, page }) => { const recording = recordingFixture(); recording.target = { platform: "ios", kind: "physical", deviceId: "test-phone", bundleId: "dev.example.shop" };