forked from mitchmindtree/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update lockfile. * Fix API break in lsp-types (dep of lspower). * Bump version to v0.1.2. * Bump version. * Remove warnings.
- Loading branch information
Showing
16 changed files
with
233 additions
and
255 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "docstrings" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
edition = "2021" | ||
publish = false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "forc" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Fuel Labs <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://fuel.network/" | ||
|
@@ -28,11 +28,11 @@ serde = {version = "1.0", features = ["derive"]} | |
serde_json = "*" | ||
source-span = "2.4" | ||
structopt = "0.3" | ||
sway-core = { version = "0.1.1", path = "../sway-core" } | ||
sway-fmt = { version = "0.1.1", path = "../sway-fmt" } | ||
sway-server = { version = "0.1.1", path = "../sway-server" } | ||
sway-utils = { version = "0.1.1", path = "../sway-utils" } | ||
sway-types = { version = "0.1.1", path = "../sway-types" } | ||
sway-core = { version = "0.1.2", path = "../sway-core" } | ||
sway-fmt = { version = "0.1.2", path = "../sway-fmt" } | ||
sway-server = { version = "0.1.2", path = "../sway-server" } | ||
sway-utils = { version = "0.1.2", path = "../sway-utils" } | ||
sway-types = { version = "0.1.2", path = "../sway-types" } | ||
tar = "0.4.35" | ||
term-table = "1.3" | ||
termcolor = "1.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "parser" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
edition = "2021" | ||
publish = false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "sway-core" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Fuel Labs <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://fuel.network/" | ||
|
@@ -26,7 +26,7 @@ sha2 = "0.9" | |
smallvec = "1.7" | ||
source-span = "2.4" | ||
structopt = { version = "0.3", default-features = false, optional = true } | ||
sway-types = { version = "0.1.1", path = "../sway-types" } | ||
sway-types = { version = "0.1.2", path = "../sway-types" } | ||
thiserror = "1.0" | ||
uuid-b64 = "0.1" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "sway-fmt" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Fuel Labs <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://fuel.network/" | ||
|
@@ -10,4 +10,4 @@ description = "Sway sway-fmt." | |
|
||
[dependencies] | ||
ropey = "1.2" | ||
sway-core = { version = "0.1.1", path = "../sway-core" } | ||
sway-core = { version = "0.1.2", path = "../sway-core" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "sway-server" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Fuel Labs <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://fuel.network/" | ||
|
@@ -14,7 +14,7 @@ lspower = "1.0.0" | |
pest = { version = "3.0", package = "fuel-pest" } | ||
ropey = "1.2" | ||
serde_json = "1.0.60" | ||
sway-core = { version = "0.1.1", path = "../sway-core" } | ||
sway-fmt = { version = "0.1.1", path = "../sway-fmt" } | ||
sway-utils = { version = "0.1.1", path = "../sway-utils" } | ||
sway-core = { version = "0.1.2", path = "../sway-core" } | ||
sway-fmt = { version = "0.1.2", path = "../sway-fmt" } | ||
sway-utils = { version = "0.1.2", path = "../sway-utils" } | ||
tokio = { version = "1.3", features = ["io-std", "io-util", "macros", "net", "rt-multi-thread", "sync", "time"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
use crate::core::session::Session; | ||
use lspower::lsp::{FileChangeType, FileEvent}; | ||
use lspower::lsp::FileEvent; | ||
use std::sync::Arc; | ||
|
||
pub fn handle_watched_files(session: Arc<Session>, events: Vec<FileEvent>) { | ||
for event in events { | ||
if let FileChangeType::Deleted {} = event.typ { | ||
let _ = session.remove_document(&event.uri); | ||
} | ||
pub fn handle_watched_files(_session: Arc<Session>, events: Vec<FileEvent>) { | ||
for _event in events { | ||
// FileChangeType::DELETED wants fully-qualified type, but that doesn't work | ||
todo!(); | ||
// if let FileChangeType::DELETED {} = event.typ { | ||
// let _ = session.remove_document(&event.uri); | ||
// } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "sway-types" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Fuel Labs <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://fuel.network/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "sway-utils" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Fuel Labs <[email protected]>"] | ||
edition = "2021" | ||
homepage = "https://fuel.network/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "test" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Fuel Labs <[email protected]>"] | ||
edition = "2018" | ||
publish = false | ||
|
||
[dependencies] | ||
forc = { version = "0.1.1", path = "../forc", features = ["test"], default-features = false } | ||
forc = { version = "0.1.2", path = "../forc", features = ["test"], default-features = false } | ||
fuel-asm = "0.1" | ||
fuel-tx = "0.1" | ||
fuel-vm = { version = "0.1", features = ["random"] } | ||
|