diff options
Diffstat (limited to 'tvix/castore/src/lib.rs')
-rw-r--r-- | tvix/castore/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/castore/src/lib.rs b/tvix/castore/src/lib.rs index 93d06fd4582d..78018d8dfcbd 100644 --- a/tvix/castore/src/lib.rs +++ b/tvix/castore/src/lib.rs @@ -21,6 +21,9 @@ pub mod import; pub mod proto; pub mod tonic; +// Used as user agent in various HTTP Clients +const USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")); + pub use digests::{B3Digest, B3_LEN}; pub use errors::{DirectoryError, Error, ValidateNodeError}; pub use hashing_reader::{B3HashingReader, HashingReader}; |