Skip to content

Commit

Permalink
Fix the includes in all Cargo.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed May 31, 2024
1 parent 874b8dc commit 197f06d
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 9 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ members = [

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

# Config for 'cargo dist'
[workspace.metadata.dist]
Expand Down
9 changes: 8 additions & 1 deletion diesel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ keywords = ["orm", "database", "sql"]
categories = ["database"]
edition = "2021"
rust-version.workspace = true
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
include = [
"src/**/*.rs",
"tests/**/*.rs",
"LICENSE-*",
"README.md",
"src/sqlite/connection/diesel_manage_updated_at.sql",
"src/migration/setup_migration_table.sql",
]

[dependencies]
byteorder = { version = "1.0", optional = true }
Expand Down
12 changes: 11 additions & 1 deletion diesel_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,19 @@ repository = "https://github.com/diesel-rs/diesel"
keywords = ["diesel", "migrations", "cli"]
autotests = false
edition = "2021"
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
rust-version.workspace = true

include = [
"src/**/*.rs",
"tests/**/*.rs",
"LICENSE-*",
"README.md",
"src/default_files/diesel.toml",
"src/infer_schema_internals/load_foreign_keys.sql",
"src/setup_sql/postgres/initial_setup/down.sql",
"src/setup_sql/postgres/initial_setup/up.sql",
]

[package.metadata.wix]
upgrade-guid = "AC330981-F4F8-4D8A-AD78-F8B7ECC32DF3"
path-guid = "1730337B-A19D-4DDE-AFA5-983752956861"
Expand Down
2 changes: 1 addition & 1 deletion diesel_derives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ documentation = "https://diesel.rs/guides/"
homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel/"
autotests = false
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
include.workspace = true
rust-version.workspace = true
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion diesel_dynamic_schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel"
keywords = ["orm", "database", "sql"]
categories = ["database"]
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
include.workspace = true
rust-version.workspace = true

[dependencies.diesel]
Expand Down
2 changes: 1 addition & 1 deletion diesel_migrations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ documentation = "https://docs.rs/crate/diesel_migrations"
homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel"
edition = "2021"
include = ["src/**.rs", "tests/**.rs", "LICENSE-*", "README.md"]
include.workspace = true
rust-version.workspace = true
categories = ["database"]

Expand Down
2 changes: 1 addition & 1 deletion diesel_migrations/migrations_internals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Internal implementation of diesels migration mechanism"
homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel"
rust-version.workspace = true
include = ["src/**.rs", "tests/**.rs", "LICENSE-*"]
include.workspace = true
edition = "2021"
keywords = ["diesel", "internal"]

Expand Down
2 changes: 1 addition & 1 deletion diesel_migrations/migrations_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Codegeneration macros for diesels embedded migrations"
homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel"
edition = "2021"
include = ["src/**.rs", "tests/**.rs", "LICENSE-*"]
include.workspace = true
rust-version.workspace = true

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion diesel_table_macro_syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ documentation = "https://diesel.rs/guides/"
homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel/"
autotests = false
include = ["src/**.rs", "tests/**.rs", "LICENSE-*"]
include.workspace = true
rust-version.workspace = true
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion dsl_auto_type/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ documentation = "https://docs.rs/crate/diesel_migrations"
homepage = "https://diesel.rs"
edition = "2021"
rust-version.workspace = true
include = ["src/**.rs", "tests/**.rs", "LICENSE-*"]
include.workspace = true

[dependencies]
darling = "0.20"
Expand Down

0 comments on commit 197f06d

Please sign in to comment.