Skip to content

Commit b7574d8

Browse files
committed
Merge branch 'semantic-stability'
2 parents 43c63ca + 23e14af commit b7574d8

File tree

679 files changed

+10422
-671
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

679 files changed

+10422
-671
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
**/generated-archives/*.tar.xz filter=lfs diff=lfs merge=lfs -text
2+
3+
# assure line feeds don't interfere with our working copy hash
4+
**/tests/fixtures/*.sh text crlf=input eol=lf
5+

.github/workflows/rust.yml renamed to .github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14+
- uses: Swatinem/rust-cache@v2
15+
- run: git lfs fetch && git lfs checkout
1416
- name: tests
1517
run: make test
1618
- name: docs

Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,21 @@ edition = "2018"
1111
readme = "changelog.md"
1212
include = ["src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md"]
1313

14+
[lib]
15+
test = false
16+
1417
[dependencies]
18+
git-repository = "0.23.0"
19+
similar = { version = "2.2.0", features = ["bytes"] }
1520
serde = { version = "1", features = ["std", "derive"] }
1621
serde_json = "1"
22+
thiserror = "1.0.32"
1723

1824
[dependencies.git2]
1925
version = "0.14.0"
2026
default-features = false
2127
features = ["https"]
2228

2329
[dev-dependencies]
30+
git-testtools = "0.8.0"
2431
tempdir = "0.3.5"
25-
serial_test = "0.6.0"

Makefile

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@ help: ## Display this help
33

44

55
CARGO = $(shell command -v cargo)
6-
bare_index_path = tests/fixtures/index-bare
7-
8-
$(bare_index_path):
9-
mkdir -p $(dir $@)
10-
git clone --bare https://github.com/rust-lang/crates.io-index $@
11-
126

137
##@ Development
148

15-
test: $(bare_index_path) ## run all tests with cargo
16-
RUST_BACKTRACE=1 CRATES_INDEX_DIFF_TEST_EXISTING_INDEX=$(bare_index_path) cargo test --jobs 1
9+
test: ## run all tests with cargo
10+
RUST_BACKTRACE=1 cargo test --jobs 1
1711

18-
quick-test: $(bare_index_path) ## run all fast tests with cargo (those which dont clone themselves
19-
CRATES_INDEX_DIFF_TEST_EXISTING_INDEX=$(bare_index_path) cargo test --jobs 1 quick
12+
quick-test: ## run all fast tests with cargo (those which dont clone themselves
13+
cargo test --jobs 1 quick
2014

src/index.rs

Lines changed: 0 additions & 326 deletions
This file was deleted.

0 commit comments

Comments
 (0)