Skip to content

Commit 5a6c366

Browse files
authored
Update (#12)
1 parent b09cc0e commit 5a6c366

16 files changed

+142
-115
lines changed

.github/workflows/rust-ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name: CI
1414
jobs:
1515
lint:
1616
name: Lint
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: dtolnay/rust-toolchain@stable
@@ -34,7 +34,7 @@ jobs:
3434
3535
test:
3636
name: Test
37-
runs-on: ubuntu-22.04
37+
runs-on: ubuntu-24.04
3838
steps:
3939
- uses: actions/checkout@v4
4040
- uses: dtolnay/rust-toolchain@stable
@@ -46,14 +46,14 @@ jobs:
4646

4747
deny:
4848
name: cargo-deny
49-
runs-on: ubuntu-22.04
49+
runs-on: ubuntu-24.04
5050
steps:
5151
- uses: actions/checkout@v4
5252
- uses: EmbarkStudios/cargo-deny-action@v2
5353

5454
publish-check:
5555
name: Publish Check
56-
runs-on: ubuntu-22.04
56+
runs-on: ubuntu-24.04
5757
steps:
5858
- uses: actions/checkout@v4
5959
- uses: dtolnay/rust-toolchain@stable
@@ -62,7 +62,7 @@ jobs:
6262
run: cargo publish --dry-run -p toml-span
6363

6464
test_success:
65-
runs-on: ubuntu-22.04
65+
runs-on: ubuntu-24.04
6666
needs: [lint,test,deny,publish-check]
6767
steps:
6868
- run: echo "All test jobs passed"

Cargo.lock

+84-62
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ members = ["integ-tests", "toml-span"]
44

55
[workspace.package]
66
authors = ["Embark <[email protected]>"]
7-
edition = "2021"
7+
edition = "2024"
88
license = "MIT OR Apache-2.0"
99
homepage = "https://github.com/EmbarkStudios/toml-span"
1010
repository = "https://github.com/EmbarkStudios/toml-span"

deny.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ all-features = true
1212
multiple-versions = "deny"
1313

1414
[licenses]
15-
allow = ["MIT", "Apache-2.0"]
15+
allow = ["MIT", "Apache-2.0", "Unicode-3.0"]

integ-tests/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license.workspace = true
66
publish = false
77

88
[dependencies]
9-
codespan-reporting = "0.11"
9+
codespan-reporting = "0.12"
1010
insta = { version = "1.34", features = ["json"] }
1111
pretty_assertions = "1.4"
1212
toml-span = { workspace = true, features = ["reporting", "serde"] }

integ-tests/tests/de.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
use integ_tests::{invalid_de, valid_de};
44
use toml_span::{
5+
DeserError, Deserialize,
56
de_helpers::*,
67
span::Spanned,
78
value::{Value, ValueInner},
8-
DeserError, Deserialize,
99
};
1010

1111
#[derive(Debug)]

0 commit comments

Comments
 (0)