Skip to content

Commit da46b79

Browse files
committed
Remove the heap_size feature
1 parent d93bc64 commit da46b79

File tree

5 files changed

+0
-12
lines changed

5 files changed

+0
-12
lines changed

html5ever/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ name = "serializer"
3030
name = "tokenizer"
3131
harness = false
3232

33-
[features]
34-
heap_size = ["markup5ever/heap_size"]
35-
3633
[dependencies]
3734
log = "0.3"
3835
mac = "0.1"

markup5ever/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,10 @@ categories = [ "parser-implementations", "web-programming" ]
1212
[lib]
1313
path = "lib.rs"
1414

15-
[features]
16-
heap_size = ["heapsize", "heapsize_derive", "string_cache/heapsize"]
17-
1815
[dependencies]
1916
string_cache = "0.6"
2017
phf = "0.7"
2118
tendril = "0.4"
22-
heapsize = { version = ">= 0.3, < 0.5", optional = true }
23-
heapsize_derive = { version = "0.1", optional = true }
2419

2520
[build-dependencies]
2621
string_cache_codegen = "0.4"

markup5ever/interface/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ pub mod tree_builder;
5858

5959
/// A name with a namespace.
6060
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone)]
61-
#[cfg_attr(feature = "heap_size", derive(HeapSizeOf))]
6261
/// Fully qualified name. Used to depict names of tags and attributes.
6362
///
6463
/// Used to differentiate between similar XML fragments. For example:

markup5ever/interface/tree_builder.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub enum NodeOrText<Handle> {
3131

3232
/// A document's quirks mode.
3333
#[derive(PartialEq, Eq, Copy, Clone, Hash, Debug)]
34-
#[cfg_attr(feature = "heap_size", derive(HeapSizeOf))]
3534
pub enum QuirksMode {
3635
Quirks,
3736
LimitedQuirks,

markup5ever/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
#[cfg(feature = "heap_size")] #[macro_use] extern crate heapsize_derive;
11-
#[cfg(feature = "heap_size")] extern crate heapsize;
1210
extern crate string_cache;
1311
extern crate phf;
1412
pub extern crate tendril;

0 commit comments

Comments
 (0)