An open API service indexing awesome lists of open source software.

https://github.com/phoenixr-codes/webinclude

Include Rust Files Over HTTP
https://github.com/phoenixr-codes/webinclude

Last synced: 23 days ago
JSON representation

Include Rust Files Over HTTP

Awesome Lists containing this project

README

          

# webinclude

## Example

```rust
use webinclude::webinclude;
webinclude!("https://raw.githubusercontent.com/phoenixr-codes/webinclude/master/say.rs");

fn main() {
say("Hi");
}
```

## Quickstart

```console
git clone https://github.com/phoenixr-codes/webinclude.git
cd webinclude
```

```console
cargo run --example example
```

```console
cargo doc --no-deps --open
```

## Why???

>

This is obviously just made out of fun to prove that you can indeed `include` files over HTTP in Rust.