FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add author attribution and branding across all crates · anvanster/codegraph@bbbbf25 · GitHub

feat: add author attribution and branding across all crates · anvanster/codegraph@bbbbf25 · GitHub
Skip to content

Navigation Menu

Commit bbbbf25

Browse files
committed
feat: add author attribution and branding across all crates
- Update workspace authors to full name with email - Add author/license/repository doc comments to all 18 lib.rs crate roots - Prepend copyright + SPDX-License-Identifier headers to all 200 .rs files - Add codegraph::metadata module with embedded AUTHOR, LICENSE, REPOSITORY, VERSION, and NAME constants plus print_metadata()/metadata_string() helpers https://claude.ai/code/session_014Hwu7GXjTj4Sjt5Y2Fjm1W
1 parent 5bcac9c commit bbbbf25

201 files changed

Lines changed: 709 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ members = [
2626
edition = "2021"
2727
license = "Apache-2.0"
2828
repository = "https://github.com/anvanster/codegraph"
29-
authors = ["anvanster"]
29+
authors = ["Andrey Vasilevsky <anvanster@gmail.com>"]
3030

3131
[workspace.dependencies]
3232
# Shared dependencies across all crates

‎crates/codegraph-c/benches/parsing.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! Benchmarks for the C parser
25
36
use codegraph::CodeGraph;

‎crates/codegraph-c/src/extractor.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! AST extraction for C source code
25
//!
36
//! This module provides two parsing modes:

‎crates/codegraph-c/src/lib.rs‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! # codegraph-c
25
//!
36
//! C parser for CodeGraph - extracts code entities and relationships from C source files.
@@ -75,6 +78,10 @@
7578
//! result.platform.platform_id,
7679
//! result.platform.confidence * 100.0);
7780
//! ```
81+
//!
82+
//! **Author:** Andrey Vasilevsky \<anvanster@gmail.com\>
83+
//! **License:** Apache-2.0
84+
//! **Repository:** <https://github.com/anvanster/codegraph>
7885
7986
pub mod extractor;
8087
mod mapper;

‎crates/codegraph-c/src/mapper.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! Mapper for converting CodeIR to CodeGraph nodes and edges
25
36
use codegraph::{CodeGraph, EdgeType, NodeId, NodeType, PropertyMap};

‎crates/codegraph-c/src/parser_impl.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! Implementation of the CodeParser trait for C
25
36
use codegraph::CodeGraph;

‎crates/codegraph-c/src/pipeline/conditionals.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! Preprocessor conditional evaluation
25
//!
36
//! This module provides evaluation of preprocessor conditionals to strip dead code

‎crates/codegraph-c/src/pipeline/gcc.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! GCC extension neutralization
25
//!
36
//! This module provides transformation of GCC-specific extensions into

‎crates/codegraph-c/src/pipeline/macros.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! Kernel macro expansion and neutralization
25
//!
36
//! Handles common Linux kernel macros that cause parsing errors by either:

‎crates/codegraph-c/src/pipeline/mod.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024-2026 Andrey Vasilevsky <anvanster@gmail.com>
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
//! Layered processing pipeline for C source code
25
//!
36
//! This module provides a multi-stage processing pipeline that transforms C source code

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.

Back | FazBrowse Home | New Git URL