Skip to content

Commit

Permalink
refactor: Move puffin crate contents inside iceberg crate (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
fqaiser94 authored Dec 13, 2024
1 parent 75b41be commit 88ad671
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 40 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ members = [
"crates/iceberg",
"crates/integration_tests",
"crates/integrations/*",
"crates/puffin",
"crates/test_utils",
]
exclude = ["bindings/python"]
Expand Down
1 change: 1 addition & 0 deletions crates/iceberg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ tokio = { workspace = true, optional = true }
typed-builder = { workspace = true }
url = { workspace = true }
uuid = { workspace = true }
zstd = { workspace = true }

[dev-dependencies]
ctor = { workspace = true }
Expand Down
2 changes: 2 additions & 0 deletions crates/iceberg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ mod runtime;
pub mod arrow;
mod utils;
pub mod writer;

mod puffin;
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

use iceberg::{Error, ErrorKind, Result};
use crate::{Error, ErrorKind, Result};

#[derive(Debug, PartialEq, Eq, Clone, Copy, Default)]
/// Data compression formats
Expand Down Expand Up @@ -70,7 +70,7 @@ impl CompressionCodec {

#[cfg(test)]
mod tests {
use crate::compression::CompressionCodec;
use crate::puffin::compression::CompressionCodec;

#[tokio::test]
async fn test_compression_codec_none() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@
#![allow(dead_code)]

mod compression;
pub use compression::CompressionCodec;
36 changes: 0 additions & 36 deletions crates/puffin/Cargo.toml

This file was deleted.

0 comments on commit 88ad671

Please sign in to comment.