Skip to content

Commit

Permalink
use workspace version
Browse files Browse the repository at this point in the history
  • Loading branch information
SunDoge committed Aug 25, 2023
1 parent 5f268d9 commit dd48ef4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,19 @@ exclude = [".github/", "examples/"]


[workspace]
resolver = "2"
members = ["simdjson-sys"]

[workspace.package]
version = "0.3.0-alpha"

[workspace.dependencies]
simdjson-sys = { path = "simdjson-sys" }


[dependencies]
thiserror = "1.0"
simdjson-sys = { path = "simdjson-sys" }
simdjson-sys = { workspace = true }

# serde compatibilty
serde = { version = "1", features = ["derive"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion simdjson-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "simdjson-sys"
version = "0.1.0-alpha"
version = { workspace = true }
edition = "2021"
authors = ["SunDoge <384813529@qq.com>"]
license = "Apache-2.0"
Expand Down

0 comments on commit dd48ef4

Please sign in to comment.