Skip to content

Commit b2a5228

Browse files
committed
rename & prepare for publishing
1 parent 139a89b commit b2a5228

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

Cargo.toml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
[package]
2-
name = "regexpp-rs"
2+
name = "js-regex"
33
version = "0.1.0"
44
authors = ["Quentin M. Kniep <[email protected]>"]
55
edition = "2018"
6+
description = "Rust validator for ECMAScript regex literals based on regexpp."
7+
readme = "README.md"
8+
homepage = "https://quentinkniep.com"
9+
repository = "https://github.com/qkniep/js-regex"
10+
license = "MIT"
11+
keywords = ["js", "ecma", "regex"]
12+
categories = ["parser-implementations"]
613

714
[dependencies]
815
lazy_static = "1.4"

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# `regexpp-rs`
1+
# `js-regexp`
22

33
[![Build Status](https://img.shields.io/travis/qkniep/regexpp-rs?logo=travis)](https://travis-ci.org/qkniep/regexpp-rs)
44
[![codecov](https://codecov.io/gh/qkniep/regexpp-rs/branch/master/graph/badge.svg)](https://codecov.io/gh/qkniep/regexpp-rs)
55
![LoC](https://tokei.rs/b1/github/qkniep/regexpp-rs?category=code)
6-
![License](https://img.shields.io/github/license/qkniep/regexpp-rs)
6+
[![License](https://img.shields.io/github/license/qkniep/regexpp-rs)](LICENSE)
77

88
Rust port of [regexpp](https://github.com/mysticatea/regexpp) (ECMAScript regular expression parser).
99
This crate is being developed mainly as an efficient validator of ECMAScript regular expressions for
10-
the [`deno_lint` project](https://github.com/denoland/deno_lint).
10+
the [deno_lint](https://github.com/denoland/deno_lint) project.
1111

1212
## Using the Library
1313

tests/invalid.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// Copyright (C) 2020 Quentin M. Kniep <[email protected]>
44
// Distributed under terms of the MIT license.
55

6-
extern crate regexpp_rs;
6+
extern crate js_regex;
77

8-
use regexpp_rs::{EcmaRegexValidator, EcmaVersion};
8+
use js_regex::{EcmaRegexValidator, EcmaVersion};
99

1010
#[test]
1111
fn basic_invalid() {

tests/valid.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// Copyright (C) 2020 Quentin M. Kniep <[email protected]>
44
// Distributed under terms of the MIT license.
55

6-
extern crate regexpp_rs;
6+
extern crate js_regex;
77

8-
use regexpp_rs::{EcmaRegexValidator, EcmaVersion};
8+
use js_regex::{EcmaRegexValidator, EcmaVersion};
99

1010
#[test]
1111
fn basic_valid() {

0 commit comments

Comments
 (0)