summaryrefslogtreecommitdiff
path: root/src/lib.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-11-15update dependenciesHEADmastervin1-163/+88
2022-07-18Add aliases argument to Engine.add_resourceÁrni Dagur1-7/+18
Co-Authored-By: Albert Kim <alkim@alkim.org>
2022-07-18Update Rust dependenciesÁrni Dagur1-17/+37
2022-02-26refactor: AddResourceException inheritance relationship && RustBlockerResult ↵dm1-24/+30
implementations
2022-02-26fix: lintdm1-7/+5
2022-02-26feat: include complete redirect rule feature.dm1-12/+95
1. update adblock-rust => 0.4.3 2. add `include_redirect_urls` parameter for `FilterSet.add_filter_list` and `FilterSet.add_filters` 3. add `Engine.add_resource` method. 4. add `adblock.AddResourceError` Exception 5. add `redirect_type` for `BlockerResult` 6. add some tests for these functions.
2021-12-03Fix clippy lintsÁrni Dagur1-54/+59
2021-06-26Create a custom exception type for this libraryÁrni Dagur1-4/+36
2021-01-16Improve __repr__ (#23)Árni Dagur1-6/+71
So we get something like: BlockerResult(matched=false, important=false, redirect=None, exception=None, filter=None, error=None) rather than: BlockerResult(false, false, None, None, None, None) Co-authored-by: Florian Bruhin <me@the-compiler.org>
2020-12-16Correctly check code formatting in CIÁrni Dagur1-6/+1
2020-12-16Include generichide field in UrlSpecificResourcesÁrni Dagur1-1/+8
2020-12-16Update upstream library, include Cargo.lockÁrni Dagur1-8/+1
2020-09-22Update to PyO3 0.12Árni Dagur1-1/+1
2020-07-27Update upstream library to 0.3.0, respond to API changes (#10)Árni Dagur1-42/+108
* Update upstream library to 0.3.0, respond to API changes * Change pypi publishing criteria in CI * Create test to make sure the version numbers are the same everywhere
2020-06-21Correct return type for the serialize methodÁrni Dagur1-2/+9
2020-06-07Allow more options when constructing Engine (#6)Árni Dagur1-3/+16
2020-05-16Add a README and a license to the project (#4)Árni Dagur1-1/+1
2020-05-15Turn a few fields from Vec to HashSet, now that we're running PyO3 0.10Árni Dagur1-14/+6
2020-05-14Add additional docstringsÁrni Dagur1-11/+54
2020-05-09Revert commit 'Gag stderr for add_filter_list'Árni Dagur1-4/+0
2020-05-04Gag stderr for 'add_filter_list'Árni Dagur1-0/+4
2020-04-26Add BlockerResult and HostnameSpecificResources classes to moduleÁrni Dagur1-0/+2
2020-04-26Add text signatures to methodsÁrni Dagur1-0/+16
2020-04-25Drop failure dependencyÁrni Dagur1-7/+25
2020-04-25Add more documentationÁrni Dagur1-0/+39
2020-04-10Add __repr__ for HostnameSpecificResourcesÁrni Dagur1-0/+13
2020-04-10Add hostname specific resource functionÁrni Dagur1-1/+49
2020-04-08Serialize before opening fileÁrni Dagur1-1/+1
2020-04-08Add 'hidden_class_id_selectors' functionÁrni Dagur1-14/+24
2020-04-05Bugfix: Allow overwriting existing file in 'serialize_to_file'Árni Dagur1-1/+2
2020-03-30Add abilility to read filter listsÁrni Dagur1-0/+4
2020-03-30Always create new file in 'serialize_to_file'Árni Dagur1-1/+4
2020-03-29Add serialization and deserialization methodsÁrni Dagur1-2/+76
2020-03-28first commitÁrni Dagur1-0/+181