Commit Graph

18 Commits

Author SHA1 Message Date
Stefano Amorelli
26f147c0de style: add rustfmt config and fix spacing
- Add .rustfmt.toml for consistent formatting
- Fix blank line spacing in lib.rs
- Remove trailing spaces from doc comments
2025-08-17 13:30:09 +03:00
Stefano Amorelli
84ec605708 style: final formatting fixes for rustfmt
- Remove trailing whitespace
- Add newlines at end of files
- Fix multi-line string formatting
2025-08-16 17:46:32 +03:00
Stefano Amorelli
b7a229ead9 style: fix formatting for rustfmt compliance
- Add trailing newlines to all source files
- Remove extra blank lines
- Simplify closure formatting in benchmarks
2025-08-16 17:43:01 +03:00
Stefano Amorelli
5f8585c434 fix: remove invalid fact iteration in parse example
- FactStorage doesn't convert to Vec directly
- Simplified example to just show counts
2025-08-16 17:39:23 +03:00
Stefano Amorelli
71a50a8b95 style: fix code formatting for CI
- Apply consistent formatting to examples
- Fix Error enum formatting in lib.rs
- Format if-else expressions properly
2025-08-16 17:36:06 +03:00
Stefano Amorelli
5422a3e8b2 Revert "ci: temporarily disable fmt and clippy checks"
This reverts commit cdb0e893f7.
2025-08-16 17:34:58 +03:00
Stefano Amorelli
cdb0e893f7 ci: temporarily disable fmt and clippy checks
- Focus on core functionality first
- Will re-enable after rustfmt/clippy setup
2025-08-16 17:34:37 +03:00
Stefano Amorelli
4d24b0c486 fix: update examples to match API
- Fix parse method name to parse_bytes
- Fix fact iteration pattern
- Simplify validation example
2025-08-16 17:29:20 +03:00
Stefano Amorelli
ed05da5ed4 feat: add core XBRL parser implementation
- High-performance parser with zero-copy design
- SIMD optimizations for text processing
- Memory-mapped file support
- SEC EDGAR validation rules
- Linkbase and schema support
- Custom memory allocator with mimalloc
2025-08-16 17:27:40 +03:00
Stefano Amorelli
258274cb42 Create LICENSE 2025-08-16 17:27:08 +03:00
Stefano Amorelli
46ecbd2635 feat: implement CLI for XBRL parsing and validation
- Parse command with optional stats flag
- Validate command with SEC EDGAR profile support
- Benchmark command for performance testing
- Colored output for better UX
2025-08-16 17:25:06 +03:00
Stefano Amorelli
fd5b3a968d build: configure Cargo.toml for initial release
- Set version 0.1.0
- Add comprehensive metadata
- Configure features and dependencies
- Optimize release profile for performance
2025-08-16 17:22:13 +03:00
Stefano Amorelli
b89ce76726 docs: enhance README with badges and improved description
- Add shields.io badges for crates.io, CI, license, etc.
- Improve opening description highlighting 50-150x speed gains
- Better acknowledge Arelle's comprehensive features
2025-08-16 17:22:06 +03:00
Stefano Amorelli
7bb474be1f test: add sample SEC EDGAR XBRL fixture
- Example SEC filing structure with DEI facts
- Financial statement facts (revenue, assets, etc.)
- Multiple contexts and units
- Used for testing and examples
2025-08-16 17:22:00 +03:00
Stefano Amorelli
34cc3712b8 ci: add release workflow for crates.io publishing
- Automated publishing to crates.io on version tags
- Cross-platform binary builds
- GitHub release creation with artifacts
- Manual workflow dispatch support
2025-08-16 17:21:41 +03:00
Stefano Amorelli
765337f89d ci: add comprehensive CI workflow
- Test on multiple platforms (Linux, Windows, macOS)
- Run on stable and beta Rust
- Include formatting and clippy checks
- Add code coverage with cargo-llvm-cov
- Security audit with cargo-audit
2025-08-16 17:21:29 +03:00
Stefano Amorelli
a229fc1f53 docs: add CITATION.cff for academic citations
- Add citation metadata following CFF v1.2.0 standard
- Include author information with ORCID
- Add project metadata and keywords
2025-08-16 17:21:23 +03:00
Stefano Amorelli
6ae9cafbf0 fix: remove unused imports and variables
- Remove unused NonZeroU16 import from model.rs
- Remove unused Error import from simple_parser.rs
- Remove unused CompactString and HashMap imports from validator.rs
- Fix unused 'end' variable warning in validator.rs
- Add allow(dead_code) attributes for unused fields
2025-08-16 17:21:07 +03:00