Skip to content

Commit 197f06d

Browse files
committed
Fix the includes in all Cargo.toml files
1 parent 874b8dc commit 197f06d

File tree

10 files changed

+27
-9
lines changed

10 files changed

+27
-9
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ members = [
3232

3333
[workspace.package]
3434
rust-version = "1.78.0"
35+
include = ["src/**/*.rs", "tests/**/*.rs", "LICENSE-*", "README.md"]
3536

3637
# Config for 'cargo dist'
3738
[workspace.metadata.dist]

diesel/Cargo.toml

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ keywords = ["orm", "database", "sql"]
1111
categories = ["database"]
1212
edition = "2021"
1313
rust-version.workspace = true
14-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
14+
include = [
15+
"src/**/*.rs",
16+
"tests/**/*.rs",
17+
"LICENSE-*",
18+
"README.md",
19+
"src/sqlite/connection/diesel_manage_updated_at.sql",
20+
"src/migration/setup_migration_table.sql",
21+
]
1522

1623
[dependencies]
1724
byteorder = { version = "1.0", optional = true }

diesel_cli/Cargo.toml

+11-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,19 @@ repository = "https://github.com/diesel-rs/diesel"
1010
keywords = ["diesel", "migrations", "cli"]
1111
autotests = false
1212
edition = "2021"
13-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
1413
rust-version.workspace = true
1514

15+
include = [
16+
"src/**/*.rs",
17+
"tests/**/*.rs",
18+
"LICENSE-*",
19+
"README.md",
20+
"src/default_files/diesel.toml",
21+
"src/infer_schema_internals/load_foreign_keys.sql",
22+
"src/setup_sql/postgres/initial_setup/down.sql",
23+
"src/setup_sql/postgres/initial_setup/up.sql",
24+
]
25+
1626
[package.metadata.wix]
1727
upgrade-guid = "AC330981-F4F8-4D8A-AD78-F8B7ECC32DF3"
1828
path-guid = "1730337B-A19D-4DDE-AFA5-983752956861"

diesel_derives/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ documentation = "https://diesel.rs/guides/"
77
homepage = "https://diesel.rs"
88
repository = "https://github.com/diesel-rs/diesel/"
99
autotests = false
10-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
10+
include.workspace = true
1111
rust-version.workspace = true
1212
edition = "2021"
1313

diesel_dynamic_schema/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = "https://diesel.rs"
1010
repository = "https://github.com/diesel-rs/diesel"
1111
keywords = ["orm", "database", "sql"]
1212
categories = ["database"]
13-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
13+
include.workspace = true
1414
rust-version.workspace = true
1515

1616
[dependencies.diesel]

diesel_migrations/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ documentation = "https://docs.rs/crate/diesel_migrations"
77
homepage = "https://diesel.rs"
88
repository = "https://github.com/diesel-rs/diesel"
99
edition = "2021"
10-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
10+
include.workspace = true
1111
rust-version.workspace = true
1212
categories = ["database"]
1313

diesel_migrations/migrations_internals/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Internal implementation of diesels migration mechanism"
66
homepage = "https://diesel.rs"
77
repository = "https://github.com/diesel-rs/diesel"
88
rust-version.workspace = true
9-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*"]
9+
include.workspace = true
1010
edition = "2021"
1111
keywords = ["diesel", "internal"]
1212

diesel_migrations/migrations_macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Codegeneration macros for diesels embedded migrations"
66
homepage = "https://diesel.rs"
77
repository = "https://github.com/diesel-rs/diesel"
88
edition = "2021"
9-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*"]
9+
include.workspace = true
1010
rust-version.workspace = true
1111

1212
[dependencies]

diesel_table_macro_syntax/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ documentation = "https://diesel.rs/guides/"
77
homepage = "https://diesel.rs"
88
repository = "https://github.com/diesel-rs/diesel/"
99
autotests = false
10-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*"]
10+
include.workspace = true
1111
rust-version.workspace = true
1212
edition = "2021"
1313

dsl_auto_type/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ documentation = "https://docs.rs/crate/diesel_migrations"
77
homepage = "https://diesel.rs"
88
edition = "2021"
99
rust-version.workspace = true
10-
include = ["src/**.rs", "tests/**.rs", "LICENSE-*"]
10+
include.workspace = true
1111

1212
[dependencies]
1313
darling = "0.20"

0 commit comments

Comments
 (0)