getting ready for publication: license, removind debug cideF
This commit is contained in:
1 parent
747cf32da8
commit
8e56f10e2c
6 files changed
+65
-20
No files matched your search
@@ -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::usize;
|
||||
|
||||
|
||||
@@ -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::fmt::{Display, Formatter};
|
||||
use std::string::FromUtf8Error;
|
||||
|
||||
+14
-1
@@ -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
|
||||
//!
|
||||
//! The set of tools to effectively encode and decode bipack values. It is internationally
|
||||
@@ -117,7 +131,6 @@ mod tests {
|
||||
.expect("decoded vector");
|
||||
println!(": {}", hex::encode(&src));
|
||||
let mut ss = SliceSource::from(&src);
|
||||
let d7 = ss.get_u8()?;
|
||||
assert_eq!(7, ss.get_u8()?);
|
||||
assert_eq!(64000, ss.get_u16()?);
|
||||
assert_eq!(66000, ss.get_u32()?);
|
||||
|
||||
+13
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user