Skip to content

Commit 5c96a46

Browse files
add attribution
1 parent 2a1611f commit 5c96a46

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

LICENSE-MIT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The MIT License (MIT)
22

33
Copyright (c) 2019 Yoshua Wuyts
4+
Copyright (c) 2017 http-rs authors (type_map)
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

src/type_map.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Implementation is based on
2+
// - https://github.com/hyperium/http/blob/master/src/extensions.rs
3+
// - https://github.com/kardeiz/type-map/blob/master/src/lib.rs
4+
15
use std::any::{Any, TypeId};
26
use std::collections::HashMap;
37
use std::fmt;

0 commit comments

Comments
 (0)