From d9494c2d44d9fe52d66a021092e0bb14c215d333 Mon Sep 17 00:00:00 2001 From: sevki Date: Mon, 27 May 2024 12:57:11 +0100 Subject: [PATCH] add back the workflows --- .github/workflows/rust.yml | 0 Cargo.lock | 48 ++++++++++++++++++++------------------ Cargo.toml | 12 +++++----- README.md | 2 +- 4 files changed, 32 insertions(+), 30 deletions(-) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..e69de29 diff --git a/Cargo.lock b/Cargo.lock index c3125c5..9219496 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -842,25 +842,6 @@ dependencies = [ "libc", ] -[[package]] -name = "libsrc" -version = "0.1.0" -dependencies = [ - "anyhow", - "bitflags 2.5.0", - "insta", - "lalrpop", - "lalrpop-util", - "okstd", - "phf_codegen", - "proptest", - "salsa-2022", - "salsa-2022-macros", - "stringzilla", - "syn 2.0.63", - "tiny-keccak", -] - [[package]] name = "linked-hash-map" version = "0.5.6" @@ -1011,7 +992,7 @@ dependencies = [ [[package]] name = "ok_macros" -version = "0.1.0" +version = "0.1.3" dependencies = [ "darling", "proc-macro2", @@ -1022,7 +1003,7 @@ dependencies = [ [[package]] name = "okstd" -version = "0.1.0" +version = "0.1.3" dependencies = [ "anyhow", "backtrace", @@ -1403,7 +1384,8 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "salsa-2022" version = "0.1.0" -source = "git+https://github.com/salsa-rs/salsa.git?branch=master#05b4e3ebdcdc47730cdd359e7e97fb2470527279" +source = "sparse+https://ok.software/api/packages/ok/cargo/" +checksum = "5b08f36aef502e16f8abd293e19af69041f52eeeea0d5cd862296da7c464703f" dependencies = [ "arc-swap", "crossbeam", @@ -1421,7 +1403,8 @@ dependencies = [ [[package]] name = "salsa-2022-macros" version = "0.1.0" -source = "git+https://github.com/salsa-rs/salsa.git?branch=master#05b4e3ebdcdc47730cdd359e7e97fb2470527279" +source = "sparse+https://ok.software/api/packages/ok/cargo/" +checksum = "df076c3acde46611a88aae39e80660165369e6a86b6d9a0ebac2e4789a932a67" dependencies = [ "eyre", "heck", @@ -1621,6 +1604,25 @@ dependencies = [ "url", ] +[[package]] +name = "srclang" +version = "0.1.0" +dependencies = [ + "anyhow", + "bitflags 2.5.0", + "insta", + "lalrpop", + "lalrpop-util", + "okstd", + "phf_codegen", + "proptest", + "salsa-2022", + "salsa-2022-macros", + "stringzilla", + "syn 2.0.63", + "tiny-keccak", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" diff --git a/Cargo.toml b/Cargo.toml index f2261d6..cf78b3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "libsrc" +name = "srclang" version = "0.1.0" edition = "2021" @@ -15,17 +15,17 @@ tiny-keccak = { version = "2", features = ["sha3"] } [dependencies] -salsa = { git = "https://github.com/salsa-rs/salsa.git", branch = "master", package = "salsa-2022" } -salsa-macros = { git = "https://github.com/salsa-rs/salsa.git", branch = "master", package = "salsa-2022-macros" } -insta = "1.38.0" +salsa = { version = "0.1.0", registry = "oksoftware", package = "salsa-2022" } +salsa-macros = { version = "0.1.0", registry = "oksoftware" , package = "salsa-2022-macros" } +insta = "1.38.0" lalrpop = "0.20.2" lalrpop-util = { version = "0.20.2", features = ["lexer", "unicode"] } -okstd = { version = "0.1.0", path = "../okstd", features = [ -], default-features = false } +okstd = { version = "0.1.3", path = "../okstd", features = [], default-features = false, registry = "oksoftware" } proptest = "1.4.0" stringzilla = "3.8.1" syn = "2.0.60" bitflags = "2.5.0" + [dev-dependencies] insta = "1.38.0" proptest = "1.4.0" diff --git a/README.md b/README.md index 4e4680f..33aee62 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # src Language - + Welcome to the documentation for the src language!