Skip to content

Commit

Permalink
Misc: Tidy up Cargo.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangjchandler committed Dec 17, 2024
1 parent 0101ce5 commit 079e72c
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 32 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ members = ["crates/*", "internal"]
resolver = "2"

[workspace.package]
version = "0.1.0"
authors = ["Ryan Chandler <ryan@pxplang.org>"]
license-file = "LICENSE"
rust-version = "1.76"
edition = "2021"

[profile.release]
debug = true
8 changes: 5 additions & 3 deletions crates/ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[package]
name = "pxp-ast"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
pxp-token = { path = "../token" }
pxp-span = { path = "../span" }
pxp-type = { path = "../type" }
pxp-bytestring = { version = "0.1.0", path = "../bytestring" }
pxp-bytestring = { path = "../bytestring" }

[features]
default = []
Expand Down
6 changes: 4 additions & 2 deletions crates/bytestring/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "pxp-bytestring"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
8 changes: 5 additions & 3 deletions crates/diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "pxp-diagnostics"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
pxp-span = { path = "../span" }
pxp-token = { path = "../token" }
pxp-token = { path = "../token" }
7 changes: 4 additions & 3 deletions crates/index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "pxp-index"
version = "0.1.0"
edition = "2021"
license-file.workspace = true
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
pxp-ast = { version = "0.1.0", path = "../ast" }
Expand Down
7 changes: 4 additions & 3 deletions crates/inference/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "pxp-inference"
version = "0.1.0"
edition = "2021"
license-file.workspace = true
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
pxp-ast = { version = "0.1.0", path = "../ast" }
Expand Down
6 changes: 4 additions & 2 deletions crates/lexer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "pxp-lexer"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
Expand Down
7 changes: 4 additions & 3 deletions crates/node-finder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "pxp-node-finder"
version = "0.1.0"
edition = "2021"
license-file.workspace = true
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
pxp-ast = { version = "0.1.0", path = "../ast" }
Expand Down
7 changes: 5 additions & 2 deletions crates/parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "pxp-parser"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
pxp-span = { path = "../span" }
Expand Down
9 changes: 5 additions & 4 deletions crates/snappers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "snappers"
description = "Simple snapshot testing for Rust."
version = "0.1.0"
edition = "2021"
license = "MIT"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
pretty_assertions = "1.4.0"
6 changes: 4 additions & 2 deletions crates/span/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "pxp-span"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
Expand Down
8 changes: 5 additions & 3 deletions crates/token/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "pxp-token"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
pxp-bytestring = { path = "../bytestring" }
pxp-span = { path = "../span" }
pxp-span = { path = "../span" }
6 changes: 4 additions & 2 deletions crates/type/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "pxp-type"
version = "0.1.0"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license-file.workspace = true

[dependencies]
Expand Down

0 comments on commit 079e72c

Please sign in to comment.