Skip to content

Commit ff8e05c

Browse files
committedMay 10, 2016
Merge pull request #1 from hhatto/use-lazy-static
Use lazy static
2 parents 129f1bd + c28f5ba commit ff8e05c

File tree

5 files changed

+100
-103
lines changed

5 files changed

+100
-103
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
target
22
Cargo.lock
3+
*.swp

‎Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ documentation = "http://hhatto.github.io/woothee-rust/woothee/"
1010

1111
[dependencies]
1212
regex = "0.1"
13+
lazy_static = "0.2.1"

‎src/.dataset.rs.swp

48 KB
Binary file not shown.

‎src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![recursion_limit="100"]
12
//! # Woothee
23
//!
34
//! Woothee is a user-agent strings parser.
@@ -21,6 +22,8 @@
2122
//! ```
2223
//!
2324
25+
#[macro_use]
26+
extern crate lazy_static;
2427
extern crate regex;
2528

2629
pub mod woothee;

0 commit comments

Comments
 (0)
Please sign in to comment.