Skip to content

Commit

Permalink
Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Oct 19, 2020
1 parent 763f100 commit 212fb5b
Show file tree
Hide file tree
Showing 28 changed files with 74 additions and 61 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
sources.insert(Source::new(
"script",
r#"
fn calculate(a, b) {
pub fn calculate(a, b) {
println("Hello World");
a + b
}
Expand Down
8 changes: 4 additions & 4 deletions crates/rune-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-cli"
version = "0.6.16"
version = "0.7.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand All @@ -24,9 +24,9 @@ anyhow = "1.0.32"
bincode = "1.3.1"
structopt = {version = "0.3.17", default-features = false, features = ["wrap_help", "suggestions", "color"]}

rune = {version = "0.6.16", path = "../rune"}
rune-modules = {version = "0.6.16", path = "../rune-modules", features = ["full", "experiments"]}
runestick = {version = "0.6.16", path = "../runestick"}
rune = {version = "0.7.0", path = "../rune"}
rune-modules = {version = "0.7.0", path = "../rune-modules", features = ["full", "experiments"]}
runestick = {version = "0.7.0", path = "../runestick"}

[build-dependencies]
anyhow = "1.0.32"
Expand Down
8 changes: 4 additions & 4 deletions crates/rune-languageserver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-languageserver"
version = "0.6.16"
version = "0.7.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand Down Expand Up @@ -28,9 +28,9 @@ log = "0.4.11"
log4rs = "1.0.0-alpha-1"
ropey = "1.2.0"

rune = {version = "0.6.16", path = "../rune"}
rune-modules = {version = "0.6.16", path = "../rune-modules", features = ["full", "experiments"]}
runestick = {version = "0.6.16", path = "../runestick"}
rune = {version = "0.7.0", path = "../rune"}
rune-modules = {version = "0.7.0", path = "../rune-modules", features = ["full", "experiments"]}
runestick = {version = "0.7.0", path = "../runestick"}

[build-dependencies]
anyhow = "1.0.32"
4 changes: 2 additions & 2 deletions crates/rune-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-macros"
version = "0.6.16"
version = "0.7.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand All @@ -20,7 +20,7 @@ quote = "1.0.3"
proc-macro2 = { version = "1.0.10", features = ["span-locations"] }

[dev-dependencies]
rune = {version = "0.6.16", path = "../rune"}
rune = {version = "0.7.0", path = "../rune"}

[lib]
proc-macro = true
Expand Down
6 changes: 3 additions & 3 deletions crates/rune-modules/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-modules"
version = "0.6.16"
version = "0.7.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand Down Expand Up @@ -37,8 +37,8 @@ serde_json = {version = "1.0.57", optional = true}
toml = {version = "0.5.6", optional = true}
nanorand = {version = "0.4.4", optional = true, features = ["getrandom"]}

rune = {version = "0.6.16", path = "../rune"}
runestick = {version = "0.6.16", path = "../runestick"}
rune = {version = "0.7.0", path = "../rune"}
runestick = {version = "0.7.0", path = "../runestick"}

[package.metadata.docs.rs]
all-features = true
39 changes: 26 additions & 13 deletions crates/rune-modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,34 +47,47 @@ These are modules that can be used with the [Rune language].
[Rune Language]: https://rune-rs.github.io

See each module for documentation:
* [core]
* [experiments]
* [fmt]
* [fs]
* [http]
* [io]
* [json]
* [toml]
* [time]
* [fs]
* [process]
* [signal]
* [rand]
* [signal]
* [test]
* [time]
* [toml]

### Features

* `full` includes all modules.
* `core` for the [core module][toml]
* `experiments` for the [experiments module][experiments]
* `fmt` for the [fmt module][fmt]
* `fs` for the [fs module][fs]
* `full` includes all modules.
* `http` for the [http module][http]
* `io` for the [io module][io]
* `json` for the [json module][json]
* `toml` for the [toml module][toml]
* `time` for the [time module][time]
* `fs` for the [fs module][fs]
* `process` for the [process module][process]
* `signal` for the [signal module][signal]
* `rand` for the [rand module][rand]
* `signal` for the [signal module][signal]
* `test` for the [test module][test]
* `time` for the [time module][time]
* `toml` for the [toml module][toml]

[core]: https://docs.rs/rune-modules/0/rune_modules/core/
[experiments]: https://docs.rs/rune-modules/0/rune_modules/experiments/
[fmt]: https://docs.rs/rune-modules/0/rune_modules/fmt/
[fs]: https://docs.rs/rune-modules/0/rune_modules/fs/
[http]: https://docs.rs/rune-modules/0/rune_modules/http/
[io]: https://docs.rs/rune-modules/0/rune_modules/io/
[json]: https://docs.rs/rune-modules/0/rune_modules/json/
[toml]: https://docs.rs/rune-modules/0/rune_modules/toml/
[time]: https://docs.rs/rune-modules/0/rune_modules/time/
[fs]: https://docs.rs/rune-modules/0/rune_modules/fs/
[process]: https://docs.rs/rune-modules/0/rune_modules/process/
[signal]: https://docs.rs/rune-modules/0/rune_modules/signal/
[rand]: https://docs.rs/rune-modules/0/rune_modules/rand/
[signal]: https://docs.rs/rune-modules/0/rune_modules/signal/
[test]: https://docs.rs/rune-modules/0/rune_modules/test/
[time]: https://docs.rs/rune-modules/0/rune_modules/time/
[toml]: https://docs.rs/rune-modules/0/rune_modules/toml/
2 changes: 1 addition & 1 deletion crates/rune-modules/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["test"]}
//! rune-modules = {version = "0.7.0", features = ["test"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/experiments/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["experiments"]}
//! rune-modules = {version = "0.7.0", features = ["experiments"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["fmt"]}
//! rune-modules = {version = "0.7.0", features = ["fmt"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["fs"]}
//! rune-modules = {version = "0.7.0", features = ["fs"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["http", "json"]}
//! rune-modules = {version = "0.7.0", features = ["http", "json"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["io"]}
//! rune-modules = {version = "0.7.0", features = ["io"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["json"]}
//! rune-modules = {version = "0.7.0", features = ["json"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["process"]}
//! rune-modules = {version = "0.7.0", features = ["process"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/rand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["rand"]}
//! rune-modules = {version = "0.7.0", features = ["rand"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["signal"]}
//! rune-modules = {version = "0.7.0", features = ["signal"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["test"]}
//! rune-modules = {version = "0.7.0", features = ["test"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["time"]}
//! rune-modules = {version = "0.7.0", features = ["time"]}
//! ```
//!
//! Install it into your context:
Expand Down
2 changes: 1 addition & 1 deletion crates/rune-modules/src/toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Add the following to your `Cargo.toml`:
//!
//! ```toml
//! rune-modules = {version = "0.6.16", features = ["toml"]}
//! rune-modules = {version = "0.7.0", features = ["toml"]}
//! ```
//!
//! Install it into your context:
Expand Down
10 changes: 5 additions & 5 deletions crates/rune-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune-wasm"
version = "0.6.16"
version = "0.7.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand All @@ -23,10 +23,10 @@ anyhow = "1.0.32"
lazy_static = "1.4.0"
parking_lot = "0.11.0"

rune = {version = "0.6.16", path = "../rune", features = []}
rune-macros = {version = "0.6.16", path = "../rune-macros"}
rune-modules = {version = "0.6.16", path = "../rune-modules", features = ["core", "test", "json", "toml", "rand", "experiments"]}
runestick = {version = "0.6.16", path = "../runestick"}
rune = {version = "0.7.0", path = "../rune", features = []}
rune-macros = {version = "0.7.0", path = "../rune-macros"}
rune-modules = {version = "0.7.0", path = "../rune-modules", features = ["core", "test", "json", "toml", "rand", "experiments"]}
runestick = {version = "0.7.0", path = "../runestick"}

[dependencies.web-sys]
version = "0.3.45"
Expand Down
8 changes: 4 additions & 4 deletions crates/rune/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rune"
version = "0.6.16"
version = "0.7.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand Down Expand Up @@ -30,14 +30,14 @@ itoa = "0.4.6"
ryu = "1.0"
smallvec = "1.4.2"

runestick = {version = "0.6.16", path = "../runestick"}
rune-macros = {version = "0.6.16", path = "../rune-macros"}
runestick = {version = "0.7.0", path = "../runestick"}
rune-macros = {version = "0.7.0", path = "../rune-macros"}

[dev-dependencies]
tokio = {version = "0.2.22", features = ["macros"]}
futures-executor = "0.3.5"

rune-modules = {version = "0.6.16", path = "../rune-modules", features = ["full"]}
rune-modules = {version = "0.7.0", path = "../rune-modules", features = ["full"]}

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion crates/rune/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
sources.insert(Source::new(
"script",
r#"
fn calculate(a, b) {
pub fn calculate(a, b) {
println("Hello World");
a + b
}
Expand Down
6 changes: 3 additions & 3 deletions crates/runestick-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "runestick-macros"
version = "0.6.16"
version = "0.7.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand All @@ -20,8 +20,8 @@ quote = "1.0.3"
proc-macro2 = { version = "1.0.10", features = ["span-locations"] }

[dev-dependencies]
runestick = { path = "../runestick", version = "0.6.16" }
runestick = { path = "../runestick", version = "0.7.0" }

[lib]
proc-macro = true
path = "src/lib.rs"
path = "src/lib.rs"
4 changes: 2 additions & 2 deletions crates/runestick/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "runestick"
version = "0.6.16"
version = "0.7.0"
authors = ["John-John Tedro <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
Expand Down Expand Up @@ -32,7 +32,7 @@ pin-project = "0.4.23"
byteorder = "1.3.4"
num-bigint = "0.3.0"

runestick-macros = {version = "0.6.16", path = "../runestick-macros"}
runestick-macros = {version = "0.7.0", path = "../runestick-macros"}

[dev-dependencies]
tokio = {version = "0.2.22", features = ["full"]}
Expand Down
2 changes: 1 addition & 1 deletion editors/code/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"preview": true,
"private": true,
"icon": "icon.png",
"version": "0.6.16",
"version": "0.7.0",
"releaseTag": null,
"publisher": "udoprog",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions tools/publish.rn
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ pub async fn main() {

for project in projects {
let cargo = Command::new("cargo");
cargo.args(["publish", "--manifest-path", `{project}/Cargo.toml`, "--no-verify"]);
cargo.args(["publish", "--manifest-path", `${project}/Cargo.toml`, "--no-verify"]);

let status = select {
_ = ctrl_c => break,
status = cargo.spawn()? => status?,
};

println(`{project}: {status}`);
println(`${project}: ${status}`);
}

println("Bye");
Expand Down
Loading

0 comments on commit 212fb5b

Please sign in to comment.