Skip to content

Commit

Permalink
Bump to 2.0 for API breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Twinklebear committed Nov 7, 2022
1 parent 5dbda31 commit babc5a7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ispc"
version = "1.1.0"
version = "2.0.0"
edition = "2021"
authors = ["Will Usher <will@willusher.io>"]
homepage = "https://github.com/Twinklebear/ispc-rs"
Expand All @@ -27,8 +27,8 @@ exclude = [
]

[dependencies]
ispc_compile = { path = "./compile/", version = "1.1.0" }
ispc_rt = { path = "./runtime/", version = "1.1.0" }
ispc_compile = { path = "./compile/", version = "2.0" }
ispc_rt = { path = "./runtime/", version = "2.0" }

[workspace]
resolver = "2"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -70,10 +70,10 @@ compile time dependency
build = "build.rs"

[dependencies]
ispc = "1.0.9"
ispc = "2.0"

[build-dependencies]
ispc = "1.0.9"
ispc = "2.0"
```

Now you can use `ispc` to compile your code into a static library:
Expand Down Expand Up @@ -123,11 +123,11 @@ code themselves, by using your crate with the ispc feature enabled.
build = "build.rs"

[dependencies]
ispc_rt = "1.0.4"
ispc_rt = "2.0"

[build-dependencies]
ispc_rt = "1.0.4"
ispc_compile = { "1.0.9", optional = true }
ispc_rt = "2.0"
ispc_compile = { "2.0", optional = true }

[features]
ispc = ["ispc_compile"]
Expand Down
8 changes: 4 additions & 4 deletions compile/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ispc_compile"
version = "1.1.0"
version = "2.0.0"
edition = "2021"
authors = ["Will Usher <will@willusher.io>"]
homepage = "https://github.com/Twinklebear/ispc-rs"
Expand Down Expand Up @@ -30,6 +30,6 @@ exclude = [
[dependencies]
bindgen = "0.61.0"
gcc = "0.3.55"
libc = "0.2.117"
regex = "1.5.4"
semver = "1.0.5"
libc = "0.2.137"
regex = "1.7.0"
semver = "1.0.14"
6 changes: 3 additions & 3 deletions runtime/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ispc_rt"
version = "1.1.0"
version = "2.0.0"
edition = "2021"
authors = ["Will Usher <will@willusher.io>"]
homepage = "https://github.com/Twinklebear/ispc-rs"
Expand All @@ -25,5 +25,5 @@ exclude = [
]

[dependencies]
libc = "0.2.117"
num_cpus = "1.13.1"
libc = "0.2.137"
num_cpus = "1.14.0"
10 changes: 5 additions & 5 deletions src/lib.rs
Expand Up @@ -46,10 +46,10 @@
//! build = "build.rs"
//!
//! [dependencies]
//! ispc = "1.0.9"
//! ispc = "2.0"
//!
//! [build-dependencies]
//! ispc = "1.0.9"
//! ispc = "2.0"
//! ```
//!
//! Now you can use `ispc` to compile your code into a static library:
Expand Down Expand Up @@ -113,11 +113,11 @@
//! build = "build.rs"
//!
//! [dependencies]
//! ispc_rt = "1.0.4"
//! ispc_rt = "2.0"
//!
//! [build-dependencies]
//! ispc_rt = "1.0.4"
//! ispc_compile = { "1.0.9", optional = true }
//! ispc_rt = "2.0"
//! ispc_compile = { "2.0", optional = true }
//!
//! [features]
//! ispc = ["ispc_compile"]
Expand Down

0 comments on commit babc5a7

Please sign in to comment.