Skip to content

Commit 5ed9314

Browse files
authored
feat: add sync cargo feature (#72)
1 parent ae318d8 commit 5ed9314

34 files changed

+182
-113
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
if: contains(matrix.os, 'ubuntu')
3434
run: cargo clippy
3535

36+
- name: Build (sync)
37+
run: cargo build --features sync
38+
3639
- name: Test
3740
run: cargo test
3841

LICENCE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018-2024 the Deno authors
3+
Copyright (c) 2018-2025 the Deno authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

auth_tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024 the Deno authors. MIT license.
1+
// Copyright 2018-2025 the Deno authors. MIT license.
22

33
interface BearerAuthToken {
44
type: "bearer";

auth_tokens_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024 the Deno authors. MIT license.
1+
// Copyright 2018-2025 the Deno authors. MIT license.
22

33
import { AuthTokens } from "./auth_tokens.ts";
44
import { assertEquals } from "@std/assert";

cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024 the Deno authors. MIT license.
1+
// Copyright 2018-2025 the Deno authors. MIT license.
22

33
import type { LoadResponse } from "@deno/graph";
44
import type { CacheSetting, FileFetcher } from "./file_fetcher.ts";

cache_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024 the Deno authors. MIT license.
1+
// Copyright 2018-2025 the Deno authors. MIT license.
22

33
import { FetchCacher } from "./cache.ts";
44
import { DenoDir } from "./deno_dir.ts";

deno_dir.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024 the Deno authors. MIT license.
1+
// Copyright 2018-2025 the Deno authors. MIT license.
22

33
import { isAbsolute, join, resolve } from "@std/path";
44
import { DiskCache } from "./disk_cache.ts";

deno_dir_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024 the Deno authors. MIT license.
1+
// Copyright 2018-2025 the Deno authors. MIT license.
22

33
import { assertEquals, assertThrows } from "@std/assert";
44
import { DenoDir } from "./deno_dir.ts";

deps_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024 the Deno authors. MIT license.
1+
// Copyright 2018-2025 the Deno authors. MIT license.
22

33
export { assertEquals, assertRejects } from "@std/assert";
44
export { createGraph } from "@deno/graph";

disk_cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2024 the Deno authors. MIT license.
1+
// Copyright 2018-2025 the Deno authors. MIT license.
22

33
import { ensureDir } from "@std/fs/ensure-dir";
44
import { dirname, isAbsolute, join } from "@std/path";

0 commit comments

Comments
 (0)