diff --git a/Cargo.toml b/Cargo.toml index 31f9e7f..802dcd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,17 @@ +# Copyright 2024 Spiral, Inc. +# +# 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. + [package] name = "fsst-rs" version = "0.0.1" diff --git a/benches/compress.rs b/benches/compress.rs index 9581c9c..f2fa6b2 100644 --- a/benches/compress.rs +++ b/benches/compress.rs @@ -1,3 +1,17 @@ +// Copyright 2024 Spiral, Inc. +// +// 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. + //! Compression benchmark. //! //! Contains benchmarks for FSST compression, decompression, and symbol table training. diff --git a/examples/round_trip.rs b/examples/round_trip.rs index 0f3fab7..8681230 100644 --- a/examples/round_trip.rs +++ b/examples/round_trip.rs @@ -1,3 +1,17 @@ +// Copyright 2024 Spiral, Inc. +// +// 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. + //! Simple example where we show round-tripping a string through the static symbol table. use core::str; diff --git a/src/lossy_pht.rs b/src/lossy_pht.rs index f7ca6c0..9982665 100644 --- a/src/lossy_pht.rs +++ b/src/lossy_pht.rs @@ -1,3 +1,17 @@ +// Copyright 2024 Spiral, Inc. +// +// 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::fmt::Debug; use crate::CodeMeta; diff --git a/tests/correctness.rs b/tests/correctness.rs index 31bde28..52ebe10 100644 --- a/tests/correctness.rs +++ b/tests/correctness.rs @@ -1,3 +1,17 @@ +// Copyright 2024 Spiral, Inc. +// +// 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. + #![cfg(test)] static PREAMBLE: &str = r#"