Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace linked-hash-map with ritelinked #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Replace linked-hash-map with ritelinked
PsiACE committed Mar 4, 2021
commit 5a3895ee42aff9ffad15876de2779776b0dfded9
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ readme = "README.md"
edition = "2018"

[dependencies]
linked-hash-map = "0.5.3"
ritelinked = "0.2.1"

[dev-dependencies]
quickcheck = "0.9"
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
//!
//! ```toml
//! [dependencies.yaml-rust]
//! git = "https://github.com/chyh1990/yaml-rust.git"
//! yaml-rust = "0.4"
//! ```
//!
//! And this in your crate root:
@@ -44,7 +44,7 @@
allow(match_same_arms, should_implement_trait)
)]

extern crate linked_hash_map;
extern crate ritelinked;

pub mod emitter;
pub mod parser;
2 changes: 1 addition & 1 deletion src/yaml.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use linked_hash_map::LinkedHashMap;
use ritelinked::LinkedHashMap;
use crate::parser::*;
use crate::scanner::{Marker, ScanError, TScalarStyle, TokenType};
use std::collections::BTreeMap;