Skip to content

Commit

Permalink
Clean up Cargo.toml files (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
teohhanhui authored Sep 14, 2023
1 parent 4d9ad30 commit ab85be6
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 22 deletions.
12 changes: 11 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
[workspace]

members = [
"autosurgeon",
"autosurgeon-derive",
]

[workspace.package]
authors = ["Alex Good <[email protected]>"]
edition = "2021"
rust-version = "1.65"
repository = "https://github.com/automerge/autosurgeon"
license = "MIT"

[workspace.dependencies]
automerge = "0.5.0"
automerge-test = "0.4.0"
21 changes: 10 additions & 11 deletions autosurgeon-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
[package]
name = "autosurgeon-derive"
description = "Procedural macros for implementing autosurgeon"
version = "0.7.1"
edition = "2021"
authors = ["Alex Good <[email protected]>"]
license = "MIT"
rust-version = "1.65.0"
repository = "https://github.com/alexjg/autosurgeon"
authors = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
description = "Procedural macros for implementing autosurgeon"
repository = { workspace = true }
license = { workspace = true }

[lib]
proc_macro = true

[dependencies]
proc-macro2 = "1.0.47"
quote = "1.0.21"
syn = { version = "2", features = ["full", "extra-traits"] }
proc-macro2 = "1.0"
smol_str = { version = "^0.1.21" }
syn = { version = "2.0.15", features = ["extra-traits", "full"] }
thiserror = "1.0.37"

[dev-dependencies]
automerge = { workspace = true }
automerge-test = { workspace = true }
autosurgeon = { path = "../autosurgeon" }
automerge = { version = "0.5.0" }
automerge-test = "0.4.0"
19 changes: 9 additions & 10 deletions autosurgeon/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
[package]
name = "autosurgeon"
description = "A library for working with data in automerge documents"
version = "0.8.1"
edition = "2021"
authors = ["Alex Good <[email protected]>"]
license = "MIT"
rust-version = "1.65.0"
repository = "https://github.com/automerge/autosurgeon"
authors = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
description = "A library for working with data in automerge documents"
readme = "../README.md"
repository = { workspace = true }
license = { workspace = true }

[dependencies]
automerge = { version = "0.5.0" }
thiserror = "1.0.37"
smol_str = { version = "^0.1.21" }
automerge = { workspace = true }
autosurgeon-derive = { path = "../autosurgeon-derive", version = "0.7.1" }
similar = "2.2.1"
thiserror = "1.0.37"
uuid = { version = "1.2.2", optional = true }

[dev-dependencies]
automerge-test = "0.4.0"
automerge-test = { workspace = true }

[features]
uuid = ["dep:uuid"]

0 comments on commit ab85be6

Please sign in to comment.