diff --git a/Cargo.toml b/Cargo.toml index 29a2fe8..96ce450 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,11 @@ [package] -name = "org" +name = "orgize" version = "0.1.0" authors = ["PoiScript "] +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" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0dc548e --- /dev/null +++ b/LICENSE @@ -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. diff --git a/benches/parse.rs b/benches/parse.rs index c678c2f..469f7a3 100644 --- a/benches/parse.rs +++ b/benches/parse.rs @@ -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] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 95b10a2..94bbe96 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -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" diff --git a/fuzz/fuzz_targets/fuzz_target_1.rs b/fuzz/fuzz_targets/fuzz_target_1.rs index 78a3192..9313a36 100644 --- a/fuzz/fuzz_targets/fuzz_target_1.rs +++ b/fuzz/fuzz_targets/fuzz_target_1.rs @@ -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]| {