chore: add license & rename to orgize

This commit is contained in:
PoiScript 2019-02-06 19:49:44 +08:00
parent 54b0f938f9
commit 9e31738668
5 changed files with 32 additions and 7 deletions

View file

@ -1,7 +1,11 @@
[package]
name = "org"
name = "orgize"
version = "0.1.0"
authors = ["PoiScript <poiscript@gmail.com>"]
description = "A Rust library for parsing orgmode files."
repository = "https://github.com/PoiScript/orgize"
license = "MIT"
keywords = ["orgmode","emacs","parser"]
[dependencies]
jetscii = "0.4.3"

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019 Alex Lin (poi)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -1,9 +1,9 @@
#![feature(test)]
extern crate org;
extern crate orgize;
extern crate test;
use org::Parser;
use orgize::Parser;
use test::Bencher;
#[bench]

View file

@ -1,5 +1,5 @@
[package]
name = "org-fuzz"
name = "orgize-fuzz"
version = "0.0.1"
authors = ["Automatically generated"]
publish = false
@ -7,7 +7,7 @@ publish = false
[package.metadata]
cargo-fuzz = true
[dependencies.org]
[dependencies.orgize]
path = ".."
[dependencies.libfuzzer-sys]
git = "https://github.com/rust-fuzz/libfuzzer-sys.git"

View file

@ -1,9 +1,9 @@
#![no_main]
#[macro_use]
extern crate libfuzzer_sys;
extern crate org;
extern crate orgize;
use org::Parser;
use orgize::Parser;
#[cfg_attr(rustfmt, rustfmt_skip)]
fuzz_target!(|data: &[u8]| {