Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Drop libstd requirement
  • Loading branch information
sfackler committed Oct 26, 2014
1 parent 15cc179 commit dd3d0f1
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions phf/src/lib.rs
Expand Up @@ -4,17 +4,28 @@
//! literals, or any of the fixed-size integral types.
#![doc(html_root_url="https://sfackler.github.io/doc")]
#![warn(missing_doc)]
#![feature(macro_rules, tuple_indexing)]
#![feature(macro_rules, tuple_indexing, phase, globs)]
#![no_std]

use std::fmt;
use std::iter;
use std::slice;
#[phase(plugin, link)]
extern crate core;
extern crate collections;

use core::fmt;
use core::iter;
use core::slice;
use core::prelude::*;
use collections::{Map, Set};

pub use shared::PhfHash;

#[path="../../shared/mod.rs"]
mod shared;

mod std {
pub use core::fmt;
}

/// An immutable map constructed at compile time.
///
/// `PhfMap`s may be created with the `phf_map` macro:
Expand Down

0 comments on commit dd3d0f1

Please sign in to comment.