Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx committed Jul 16, 2024
1 parent e03175d commit 4188ff1
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 37 deletions.
66 changes: 33 additions & 33 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ primitive-types = { version = "0.12", default-features = false }
proc-macro-error = "1.0"
proc-macro2 = { version = "1", default-features = false }
quote = "1.0"
sails = { path = "sails" }
sails = { path = "sails", package = "gsails" }
sails-client-gen = { path = "sails/client-gen" }
sails-idl-gen = { path = "sails/idl-gen" }
sails-idl-parser = { path = "sails/idl-parser" }
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ different languages and executed in different runtimes

---

> [!NOTE]
> The Sails library is published under the name `gsails` on `crates-io`.
## Getting started

Add the following to your `Cargo.toml`
```toml
[dependencies]
sails = "*"
gsails = "*"
gstd = { version = "*", features = ["debug"] }
```

Expand All @@ -27,8 +30,8 @@ And then in your `lib.rs`:
```rust
#![no_std]

use gsails::prelude::*;
use gstd::debug;
use sails::prelude::*;

struct MyPing;

Expand Down
3 changes: 2 additions & 1 deletion sails/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "sails"
name = "gsails"
description = "Main abstractions for the Sails framework"
documentation = "https://docs.rs/gsails"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions sails/client-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "sails-client-gen"
description = "Rust client generator for the Sails framework"
documentation = "https://docs.rs/sails-client-gen"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions sails/idl-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "sails-idl-gen"
description = "IDL generator for the Sails framework"
documentation = "https://docs.rs/sails-idl-gen"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions sails/idl-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "sails-idl-parser"
description = "IDL parser for the Sails framework"
documentation = "https://docs.rs/sails-idl-parser"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions sails/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "sails-macros"
description = "Procedural macros for the Sails framework"
documentation = "https://docs.rs/sails-macros"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions sails/macros/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "sails-macros-core"
description = "Implementations of procedural macros for the Sails framework"
documentation = "https://docs.rs/sails-macros-core"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down

0 comments on commit 4188ff1

Please sign in to comment.