Skip to content

Commit

Permalink
chore: add spdx
Browse files Browse the repository at this point in the history
  • Loading branch information
suchapalaver committed Nov 29, 2024
1 parent 9f3583e commit d4156cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 4 additions & 7 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024-, Semiotic AI, Inc.
// SPDX-License-Identifier: Apache-2.0

use prost_build::Config;
use std::{env, path::PathBuf};

Expand All @@ -17,12 +20,6 @@ fn main() {
tonic_build::configure()
.build_client(true)
.file_descriptor_set_path(out_dir.join("descriptors.bin"))
.compile_protos_with_config(
config,
&[
"protos/firehose.proto",
],
&["protos/"],
)
.compile_protos_with_config(config, &["protos/firehose.proto"], &["protos/"])
.unwrap();
}
3 changes: 3 additions & 0 deletions src/firehose_v2/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024-, Semiotic AI, Inc.
// SPDX-License-Identifier: Apache-2.0

pub mod request;

tonic::include_proto!("sf.firehose.v2");
3 changes: 3 additions & 0 deletions src/firehose_v2/request.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024-, Semiotic AI, Inc.
// SPDX-License-Identifier: Apache-2.0

use std::fmt::Display;

use crate::BlockNumber;
Expand Down

0 comments on commit d4156cd

Please sign in to comment.