Skip to content
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.

Commit

Permalink
clean up changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Oct 1, 2018
1 parent 35a8a2e commit 9684730
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,40 @@

before

in your `Cargo.toml` file
... in your `Cargo.toml` file

```toml
[dependencies]
lando = "0.1"
http = "0.1" # need to depend on http crate explicitly
...
```

in your `src/lib.rs`
... in your `src/lib.rs`

```rust
#[macro_use]
extern crate lando;
// need to extern http crate explicitly
extern crate http;
...

use http::{Method, StatusCode};
```

after

in your `Cargo.toml`
... in your `Cargo.toml`

```toml
[dependencies]
lando = "0.1" # no longer need to add a dependency on http explicitly
...
```

in your `src/lib.rs`
... in your `src/lib.rs`

```rust
#[macro_use]
extern crate lando;
...

// consume http re-export from lando crate
use lando::http::{Method, StatusCode};
```
Expand All @@ -49,12 +46,16 @@ use lando::http::{Method, StatusCode};

before

... in your `Cargo.toml` file

```toml
[dependencies]
lando = "0.1"
cpython = "0.1" # need to depend on cpython crate explicitly for its macros
```

... in your `src/lib.rs` file

```rust
#[macro_use]
extern crate lando;
Expand All @@ -66,11 +67,15 @@ extern crate cpython;

after

... in your `Cargo.toml` file

```toml
[dependencies]
lando = "0.1" # no longer need to declar cpython as an explicit dependency
```

... in your `src/lib.rs` file

```rust
#[macro_use]
extern crate lando; // impl details are hidden
Expand Down

0 comments on commit 9684730

Please sign in to comment.