Skip to content

Commit

Permalink
Update to 2021 edition, removing extern crate
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 30, 2024
1 parent 56cd38e commit 342c6e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "ferris-says"
version = "0.3.1"
authors = ["Michael Gattozzi <[email protected]>"]
edition = "2021"
description = "A Rust flavored replacement for the classic cowsay"
documentation = "https://docs.rs/ferris-says"
repository = "https://github.com/rust-lang/ferris-says"
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
extern crate smallvec;
extern crate textwrap;
extern crate unicode_width;

use smallvec::*;
use std::io::{Result, Write};
use textwrap::fill;
Expand Down
2 changes: 0 additions & 2 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
extern crate ferris_says;

use ferris_says::say;

// Default width when running the binary
Expand Down

0 comments on commit 342c6e9

Please sign in to comment.