getting ready for publication: license, removind debug cideF

This commit is contained in:
Sergey Chernov 2023-10-10 07:02:36 +01:00
parent 747cf32da8
commit 8e56f10e2c
6 changed files with 65 additions and 20 deletions

17
LICENSE
View File

@ -54,20 +54,3 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
END OF TERMS AND CONDITIONS END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright 2023 Divan
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -1,3 +1,12 @@
# bipack_ru # bipack_ru
Bipack format implementation, minimalistic by purpose. Bipack format implementation, minimalistic by purpose.
At the moment it does not include `serde` module as it is yet unclear how much
it will increase .wasm size. Could be added later.
The autodoc documentation is good enough already, so we do not repeat it here now.
# License
For compyance with other modules this work is provided under APACHE 2.0 license a copy of which is included in the file `LICENSE`.

View File

@ -1,3 +1,17 @@
// Copyright 2023 by Sergey S. Chernov.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
use std::iter::Iterator; use std::iter::Iterator;
use std::usize; use std::usize;

View File

@ -1,3 +1,17 @@
// Copyright 2023 by Sergey S. Chernov.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
use std::error::Error; use std::error::Error;
use std::fmt::{Display, Formatter}; use std::fmt::{Display, Formatter};
use std::string::FromUtf8Error; use std::string::FromUtf8Error;

View File

@ -1,3 +1,17 @@
// Copyright 2023 by Sergey S. Chernov.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! # Bipack codec //! # Bipack codec
//! //!
//! The set of tools to effectively encode and decode bipack values. It is internationally //! The set of tools to effectively encode and decode bipack values. It is internationally
@ -117,7 +131,6 @@ mod tests {
.expect("decoded vector"); .expect("decoded vector");
println!(": {}", hex::encode(&src)); println!(": {}", hex::encode(&src));
let mut ss = SliceSource::from(&src); let mut ss = SliceSource::from(&src);
let d7 = ss.get_u8()?;
assert_eq!(7, ss.get_u8()?); assert_eq!(7, ss.get_u8()?);
assert_eq!(64000, ss.get_u16()?); assert_eq!(64000, ss.get_u16()?);
assert_eq!(66000, ss.get_u32()?); assert_eq!(66000, ss.get_u32()?);

View File

@ -1,4 +1,16 @@
// use string_builder::Builder; // Copyright 2023 by Sergey S. Chernov.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
use string_builder::Builder; use string_builder::Builder;