Skip to content

Commit 00ba504

Browse files
authored
Use workspace inheritance for common keys (#199)
Common Keys: - authors - homepage - repository - crate version - rust edition See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table
1 parent 8042ef9 commit 00ba504

File tree

9 files changed

+47
-47
lines changed

9 files changed

+47
-47
lines changed

partiql-ast/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "partiql-ast"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL AST"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "ast", "query", "compilers", "interpreters"]
@@ -12,8 +12,8 @@ exclude = [
1212
"**/.git/**",
1313
"**/.github/**",
1414
]
15-
edition = "2021"
16-
version = "0.1.0"
15+
version.workspace = true
16+
edition.workspace = true
1717

1818
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1919

partiql-conformance-tests/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "partiql-conformance-tests"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL conformance test runner"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "parser", "conformance", "compilers", "tests"]
@@ -14,8 +14,8 @@ exclude = [
1414
"**/.travis.yml",
1515
"**/.appveyor.yml",
1616
]
17-
version = "0.1.0"
18-
edition = "2021"
17+
version.workspace = true
18+
edition.workspace = true
1919

2020
[[bin]]
2121
name = "generate_comparison_report"

partiql-ir/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "partiql-ir"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL Intermediate Representation"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
@@ -14,8 +14,8 @@ exclude = [
1414
"**/.travis.yml",
1515
"**/.appveyor.yml",
1616
]
17-
edition = "2021"
18-
version = "0.0.0"
17+
version.workspace = true
18+
edition.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

partiql-irgen/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "partiql-irgen"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL IR Generator"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
@@ -14,8 +14,8 @@ exclude = [
1414
"**/.travis.yml",
1515
"**/.appveyor.yml",
1616
]
17-
edition = "2021"
18-
version = "0.1.0"
17+
version.workspace = true
18+
edition.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

partiql-parser/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "partiql-parser"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL Parser"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
@@ -14,8 +14,8 @@ exclude = [
1414
"**/.travis.yml",
1515
"**/.appveyor.yml",
1616
]
17-
edition = "2021"
18-
version = "0.1.0"
17+
version.workspace = true
18+
edition.workspace = true
1919

2020

2121
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -44,7 +44,7 @@ lazy_static = "~1.4.0"
4444
serde = { version = "1.*", features = ["derive"], optional = true }
4545

4646
[dev-dependencies]
47-
criterion = "0.3"
47+
criterion = "0.4"
4848

4949
[features]
5050
default = []

partiql-rewriter/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "partiql-rewriter"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL Rewriter Framework"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
@@ -14,8 +14,8 @@ exclude = [
1414
"**/.travis.yml",
1515
"**/.appveyor.yml",
1616
]
17-
edition = "2021"
18-
version = "0.1.0"
17+
version.workspace = true
18+
edition.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

partiql-source-map/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "partiql-source-map"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL Source Map"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "sourcemap", "query", "compilers", "interpreters"]
@@ -12,8 +12,8 @@ exclude = [
1212
"**/.git/**",
1313
"**/.github/**",
1414
]
15-
edition = "2021"
16-
version = "0.1.0"
15+
version.workspace = true
16+
edition.workspace = true
1717

1818
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1919

partiql-types/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
[package]
22
name = "partiql-types"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL Type Definitions"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
10-
categories = ["database", "compilers", "parser-implementations"]
10+
categories = ["database", "compilers"]
1111
exclude = [
1212
"**/.git/**",
1313
"**/.github/**",
1414
"**/.travis.yml",
1515
"**/.appveyor.yml",
1616
]
17-
edition = "2021"
18-
version = "0.0.0"
17+
version.workspace = true
18+
edition.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

partiql/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "partiql"
3-
authors = ["PartiQL Team <[email protected]>"]
43
description = "PartiQL in Rust"
5-
homepage = "https://github.com/partiql/partiql-lang-rust"
6-
repository = "https://github.com/partiql/partiql-lang-rust"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
77
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
@@ -14,8 +14,8 @@ exclude = [
1414
"**/.travis.yml",
1515
"**/.appveyor.yml",
1616
]
17-
edition = "2021"
18-
version = "0.1.0"
17+
version.workspace = true
18+
edition.workspace = true
1919

2020
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2121

0 commit comments

Comments
 (0)