Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
373 changes: 373 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@

# comline-runtime

The Comline RPC/IPC runtime — the surface-4 contract (`Dispatch`, `WireFormat`,
`Envelope`, `Handshake`, …), framing, transports, and the `Client` / `Server`
call path. `no_std`-first; `alloc` and `std` are additive features.

Generated protocol code (`comline-codegen-<lang>` output) links this crate.

## License

**Mozilla Public License 2.0** ([LICENSE](LICENSE) or
<https://www.mozilla.org/MPL/2.0/>).

Weak, file-level copyleft: modifications to this crate's own files stay open
when distributed, but linking it into a proprietary application is explicitly
fine (MPL §3.3). It is the one piece of Comline meant to ship *inside* your
program, which is why it is not GPL like the toolchain. Contributions are
MPL-2.0. See [`design/licensing.md`](https://github.com/ComlineProject/docs)
for the rationale and the per-repo split.
1 change: 1 addition & 0 deletions runtime-langs/c/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "comline-runtime-c"
version = "0.1.0"
edition = "2021"
license = "MPL-2.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions runtime-langs/lua/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "comline-runtime-lua"
version = "0.1.0"
edition = "2021"
license = "MPL-2.0"


[dependencies]
Expand Down
1 change: 1 addition & 0 deletions runtime-langs/luau/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "comline-runtime-luau"
version = "0.1.0"
edition = "2021"
license = "MPL-2.0"


[dependencies]
Expand Down
1 change: 1 addition & 0 deletions runtime-langs/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "comline-runtime-python"
version = "0.1.0"
edition = "2021"
license = "MPL-2.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions runtime-std-extra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "comline-runtime-extra-std"
version = "0.1.0"
edition = "2021"
license = "MPL-2.0"


[dependencies]
2 changes: 1 addition & 1 deletion runtime/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "comline-runtime"
version = "0.1.0"
edition = "2021"
# license = "Parity OR Prosperity"
license = "MPL-2.0"


[features]
Expand Down
4 changes: 4 additions & 0 deletions runtime/core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// `no_std`-first: the crate is `#![no_std]` unless the `std` feature is on
// (it is, by default). `--no-default-features` builds `contract` + `wire`.
#![cfg_attr(not(feature = "std"), no_std)]
Expand Down
Loading